How To Install Omeka Classic CMS On CentOS 8
- 00:28 rpm -q centos-release
- 00:39 wget https://github.com/omeka/Omeka/releases/download/v2.7.1/omeka-2.7.1.zip
- 00:56 unzip omeka-2.7.1.zip
- 01:11 mv omeka-2.7.1 /var/www/omeka
- 01:21 chown -R apache:apache /var/www/omeka
- 01:35 chmod -R 755 /var/www/omeka
- 01:56 vim /etc/httpd/conf.d/omeka.conf
- 03:03 mysql -u root -p
- 04:19 cd /var/www/omeka/
- 04:29 vim db.ini
- 05:10 systemctl restart httpd
How To Install Omeka Classic CMS On CentOS 8
Omeka Classic is a web publishing platform for sharing digital collections and creating media-rich online exhibits. This video covers the tutorial on Installation of Omeka Classic on CentOS 8
Installation process:
Check the CentOS version by using the following command
[root@linuxhelp ~]# rpm -q centos-release
centos-release-8.1-1.1911.0.8.el8.x86_64
Before the installation, you need to download the Omeka installation package.
[root@linuxhelp ~]# wget https://github.com/omeka/Omeka/releases/download/v2.7.1/omeka-2.7.1.zip
--2020-09-05 15:25:36-- https://github.com/omeka/Omeka/releases/download/v2.7.1/omeka-2.7.1.zip
Resolving github.com (github.com)... 13.234.210.38
Connecting to github.com (github.com)|13.234.210.38|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/1981382/12ad8f00-41e2-11ea-8653-ade6baaa53a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200905%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200905T095634Z&X-Amz-Expires=300&X-Amz-Signature=d1f5785e0474eea7d2cd4f0e7bc4caec5cfa6af478fdb351cf47f7ffbd55bc6a&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=1981382&response-content-disposition=attachment%3B%20filename%3Domeka-2.7.1.zip&response-content-type=application%2Foctet-stream [following]
--2020-09-05 15:25:36-- https://github-production-release-asset-2e65be.s3.amazonaws.com/1981382/12ad8f00-41e2-11ea-8653-ade6baaa53a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200905%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200905T095634Z&X-Amz-Expires=300&X-Amz-Signature=d1f5785e0474eea7d2cd4f0e7bc4caec5cfa6af478fdb351cf47f7ffbd55bc6a&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=1981382&response-content-disposition=attachment%3B%20filename%3Domeka-2.7.1.zip&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.64.76
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.64.76|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16311161 (16M) [application/octet-stream]
Saving to: ‘omeka-2.7.1.zip’
omeka-2.7.1.zip 100%[============================>] 15.55M 818KB/s in 40s
2020-09-05 15:26:18 (395 KB/s) - ‘omeka-2.7.1.zip’ saved [16311161/16311161]
Once the download is completed, extract the Omeka by using the following command
[root@linuxhelp ~]# unzip omeka-2.7.1.zip
Archive: omeka-2.7.1.zip
creating: omeka-2.7.1/
creating: omeka-2.7.1/admin/
creating: omeka-2.7.1/admin/themes/
creating: omeka-2.7.1/admin/themes/default/
creating: omeka-2.7.1/admin/themes/default/appearance/
creating: omeka-2.7.1/admin/themes/default/collections/
creating: omeka-2.7.1/admin/themes/default/common/
creating: omeka-2.7.1/admin/themes/default/css/
creating: omeka-2.7.1/admin/themes/default/css/media/
creating: omeka-2.7.1/admin/themes/default/element-sets/
creating: omeka-2.7.1/admin/themes/default/elements/
.
.
inflating: omeka-2.7.1/themes/seasons/javascripts/jquery-extra-selectors.js
inflating: omeka-2.7.1/themes/seasons/javascripts/seasons.js
inflating: omeka-2.7.1/themes/seasons/javascripts/vendor/modernizr.js
inflating: omeka-2.7.1/themes/seasons/package.json
inflating: omeka-2.7.1/themes/seasons/simple-pages/page/show.php
inflating: omeka-2.7.1/themes/seasons/theme.ini
inflating: omeka-2.7.1/themes/seasons/theme.jpg
Move the Omeka directory to apache root directory
[root@linuxhelp ~]# mv omeka-2.7.1 /var/www/omeka
Set the ownership and permission for Omeka CMS
[root@linuxhelp ~]# chown -R apache:apache /var/www/omeka
[root@linuxhelp ~]# chmod -R 755 /var/www/omeka
Configure the virtualhost for Omeka CMS
[root@linuxhelp ~]# vim /etc/httpd/conf.d/omeka.conf
<virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/omeka
<directory /var/www/omeka>
allowoverride all
allow from all
</directory>
</virtualhost>
Now need to create a database for Omeka CMS
[root@linuxhelp ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 16
Server version: 10.3.17-MariaDB MariaDB Server
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database omeka_db;
Query OK, 1 row affected (0.001 sec)
MariaDB [(none)]> create user 'omeka_user'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.002 sec)
MariaDB [(none)]> grant all privileges on omeka_db.* to 'omeka_user'@localhost;
Query OK, 0 rows affected (0.000 sec)
MariaDB [(none)]> flush privileges;
Query OK, 0 rows affected (0.001 sec)
MariaDB [(none)]> exit
Bye
Enter into the omeka cms directory
[root@linuxhelp ~]# cd /var/www/omeka/
List out the files
[root@linuxhelp omeka]# ls -la
total 96
drwxr-xr-x 8 apache apache 4096 Jan 28 2020 .
drwxr-xr-x 5 root root 4096 Sep 5 15:32 ..
drwxr-xr-x 3 apache apache 4096 Jan 28 2020 admin
drwxr-xr-x 13 apache apache 4096 Jan 28 2020 application
-rwxr-xr-x 1 apache apache 5192 Jan 28 2020 bootstrap.php
-rwxr-xr-x 1 apache apache 532 Jan 28 2020 db.ini
drwxr-xr-x 7 apache apache 4096 Jan 28 2020 files
-rwxr-xr-x 1 apache apache 1702 Jan 28 2020 .htaccess
-rwxr-xr-x 1 apache apache 597 Jan 28 2020 index.php
drwxr-xr-x 6 apache apache 4096 Jan 28 2020 install
-rwxr-xr-x 1 apache apache 35147 Jan 28 2020 license.txt
drwxr-xr-x 5 apache apache 4096 Jan 28 2020 plugins
-rwxr-xr-x 1 apache apache 1225 Jan 28 2020 README.md
-rwxr-xr-x 1 apache apache 32 Jan 28 2020 robots.txt
drwxr-xr-x 5 apache apache 4096 Jan 28 2020 themes
Configure the db.ini file and enter the db credentials here
[root@linuxhelp omeka]# vim db.ini
host = "localhost"
username = "'omeka_user"
password = "Linuxc#4"
dbname = "omeka_db"
Once all the step is completed restart apache service
[root@linuxhelp omeka]# systemctl restart httpd
Enter your domain name in search url

Create the login credentials for admin account

Loginto the Omeka CMS with the credentials
With this, the method to install Omeka Classic CMS comes to an end.
Comments ( 0 )
No comments available