How to Install Omeka CMS on Rocky Linux 8.6
- 00:27 cat /etc/os-release
- 00:39 mysql -u root -p
- 00:50 create database omekadb;
- 01:10 create user 'omekauser'@'localhost' identified by 'Linuxc#5';
- 02:40 wget https://github.com/omeka/omeka-s/releases/download/v1.4.0/omeka-s-1.4.0.zip
- 02:49 unzip omeka-s-1.4.0.zip
- 03:06 mv omeka-s /var/www/omeka
- 03:26 chown -R apache:apache /var/www/omeka
- 03:42 chmod -R 755 /var/www/omeka
- 04:02 vim /etc/httpd/conf.d/omeka.conf
- 05:29 cd /var/www/omeka/config
- 06:18 vim /etc/hosts
- 06:44 systemctl restart httpd.service
To Install Omeka CMS on Rocky Linux 8.6
Introduction :
Omeka is a free and open-source system for handling online digital collections. It is a web application that allows users to publish and extend its functionality with themes and plugins.
Installation steps
Requirements of Omeka CMS:
Apache MySQL
PHP Modules: Php and its Modules (php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear)
Installation procedure:
Step 1: Check the version of the OS by using the below command
[root@linuxhelp config]# cat /etc/os-release
NAME="Rocky Linux"
VERSION="8.6 (Green Obsidian)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="8.6"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Rocky Linux 8.6 (Green Obsidian)"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:rocky:rocky:8:GA"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
ROCKY_SUPPORT_PRODUCT="Rocky Linux"
ROCKY_SUPPORT_PRODUCT_VERSION="8"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="8"
Step 2: Now create a database and user to the Omeka CMS by using the below command
[root@linuxhelp ~]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 17
Server version: 8.0.26 Source distribution
Copyright (c) 2000, 2021, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> create database omekadb;
Query OK, 1 row affected (0.01 sec)
mysql> create user 'omekauser'@'localhost' identified by 'Linuxc#5';
Query OK, 0 rows affected (0.00 sec)
mysql> grant all privileges on omekadb.* to 'omekauser'@localhost;
Query OK, 0 rows affected (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
mysql> \q
Bye
Step 3: Now download the omeka CMS package by using the below command
[root@linuxhelp mnt]# wget https://github.com/omeka/omeka-s/releases/download/v1.4.0/omeka-s-1.4.0.zip
--2022-07-11 14:30:26-- https://github.com/omeka/omeka-s/releases/download/v1.4.0/omeka-s-1.4.0.zip
Resolving github.com (github.com)... 13.234.176.102
Connecting to github.com (github.com)|13.234.176.102|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/12057192/15fe4f80-5ad6-11e9-8bc2-a6804b988866?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-
Credential=AKIAIWNJYAX4CSVEH53A%2F20220711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220711T183027Z&X-Amz-Expires=300&X-Amz-Signature=8aea482a1dd4fe157dc80218255d0eaa8e020254cace94ab272d11d1f04727d9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=12057192&response-content-disposition=attachment%3B%20filename%3Domeka-s-1.4.0.zip&response-content-type=application%2Foctet-stream [following]
--2022-07-11 14:30:27-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/12057192/15fe4f80-5ad6-11e9-8bc2-a6804b988866?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220711T183027Z&X-Amz-Expires=300&X-Amz-Signature=8aea482a1dd4fe157dc80218255d0eaa8e020254cace94ab272d11d1f04727d9&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=12057192&response-content-disposition=attachment%3B%20filename%3Domeka-s-1.4.0.zip&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14052203 (13M) [application/octet-stream]
Saving to: ‘omeka-s-1.4.0.zip’
omeka-s-1.4.0.zip 100%[=============================>] 13.40M 15.4MB/s in 0.9s
2022-07-11 14:30:28 (15.4 MB/s) - ‘omeka-s-1.4.0.zip’ saved [14052203/14052203]
Step 4 : Now extract the file by using the below command
[root@linuxhelp mnt]# unzip omeka-s-1.4.0.zip
Archive: omeka-s-1.4.0.zip
inflating: omeka-s/.htaccess
inflating: omeka-s/LICENSE
inflating: omeka-s/README.md
inflating: omeka-s/bootstrap.php
inflating: omeka-s/cli-config.php
inflating: omeka-s/composer.json
inflating: omeka-s/composer.lock
inflating: omeka-s/index.php
inflating: omeka-s/application/Module.php
inflating: omeka-s/config/database.ini
inflating: omeka-s/config/local.config.php
inflating: omeka-s/files/index.html
inflating: omeka-s/logs/application.log
inflating: omeka-s/logs/sql.log
inflating: omeka-s/modules/README.md
inflating: omeka-s/themes/README.md
inflating: omeka-s/vendor/autoload.php
inflating: omeka-s/application/config/application.config.php
inflating: omeka-s/application/config/module.config.php
inflating: omeka-s/application/config/navigation.config.php
inflating: omeka-s/application/config/routes.config.php
inflating: omeka-s/application/language/README.md
inflating: omeka-s/application/language/ca_ES.mo
inflating: omeka-s/application/language/ca_ES.po
inflating: omeka-s/application/language/cs.mo
inflating: omeka-s/application/language/cs.po
inflating: omeka-s/application/language/de_DE.mo
inflating: omeka-s/application/language/de_DE.po
inflating: omeka-s/application/language/es.mo
inflating: omeka-s/application/language/es.po
inflating: omeka-s/application/language/es_419.mo
inflating: omeka-s/application/language/es_419.po
inflating: omeka-s/application/language/et.mo
inflating: omeka-s/application/language/et.po
inflating: omeka-s/application/language/fi_FI.mo
inflating: omeka-s/application/language/fi_FI.po
inflating: omeka-s/application/language/fr.mo
inflating: omeka-s/application/language/fr.po
inflating: omeka-s/application/language/hu_HU.mo
inflating: omeka-s/application/language/hu_HU.po
inflating: omeka-s/application/language/it.mo
inflating: omeka-s/application/language/it.po
inflating: omeka-s/application/language/ja.mo
inflating: omeka-s/application/language/ja.po
inflating: omeka-s/application/language/ko_KR.mo
inflating: omeka-s/application/language/ko_KR.po
inflating: omeka-s/application/language/lt.mo
inflating: omeka-s/application/language/lt.po
inflating: omeka-s/application/language/nl_NL.mo
inflating: omeka-s/application/language/nl_NL.po
inflating: omeka-s/application/language/pl.mo
inflating: omeka-s/application/language/pl.po
inflating: omeka-s/application/language/pt_PT.mo
inflating: omeka-s/application/language/pt_PT.po
inflating: omeka-s/application/language/sr_RS.mo
inflating: omeka-s/application/language/sr_RS.po
inflating: omeka-s/application/language/template.pot
inflating: omeka-s/application/language/tr_TR.mo
inflating: omeka-s/application/language/tr_TR.po
inflating: omeka-s/application/language/zh_CN.mo
inflating: omeka-s/application/language/zh_CN.po
inflating: omeka-s/application/test/bootstrap.php
inflating: omeka-s/application/test/phpunit.xml
inflating: omeka-s/themes/default/composer.json
inflating: omeka-s/themes/default/gulpfile.js
inflating: omeka-s/themes/default/package-lock.json
inflating: omeka-s/themes/default/package.json
inflating: omeka-s/themes/default/theme.jpg
inflating: omeka-s/vendor/composer/ClassLoader.php
inflating: omeka-s/vendor/composer/LICENSE
inflating: omeka-s/vendor/composer/autoload_classmap.php
Step 5: Now move the omeka directory to Apache root directory by using the below command
[root@linuxhelp mnt]# mv omeka-s /var/www/omeka
Step 6: Now set the ownership and permissions to omeka directory by using the below command
[root@linuxhelp www]# chown -R apache:apache /var/www/omeka
[root@linuxhelp www]# chmod -R 755 /var/www/omeka
Step 7: Now configure the virtualhost for access the omeka CMS by using the below command
[root@linuxhelp www]# vim /etc/httpd/conf.d/omeka.conf
<virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/omeka
<directory /var/www/omeka>
</directory>
</virtualhost>
Step 8: Now enter the omeka directory and Configure the databse.ini file by using the below command
[root@linuxhelp www]# cd /var/www/omeka/config
[root@linuxhelp config]# vim database.ini
user = omekauser
password = linuxc@123
dbname = omekadb
host = localhost
;port =
;unix_socket =
;log_path =
Step 9: Now put the Host Entry by using the below command
[root@linuxhelp config]# vim /etc/hosts
127.0.0.1 www.linuxhelp1.com
Step 10: Now restart Apache web server by using the below command
[root@linuxhelp config]# systemctl restart httpd.service
Step 11: Now go to the browser to access omeka CMS
Step 12: Search domain as shown in the below image

Step 13: This is the installation page of omeka CMS

Conclusion:
We have reached the end of this article. In this guide, we have walked you through the steps required to Install Omeka CMS on Rocky Linux 8.6. Your feedback is much welcome
Comments ( 0 )
No comments available