How to Install omeka Classic CMS 2.6.1v on CentOS 7.6
Installation Of Omeka Classic 2.6.1v On CentOS 7.6
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 version 2.6.1 on CentOS 7.6
Features
Serious web publishing
simple to use
Cost-effective design
Flexible and extensible
Requirements
LAMP Stack
php 5.3.2 or greater versions
mysql 5.0 or greater
PHP Modules:
Php-mysqli php-exif php-gd php-mbstring imagick
Download Link
[Download Link of Omeka Classic](https://github.com/omeka/Omeka/releases/download/v2.6.1/omeka-2.6.1.zip)
Installation
Before you begin with the installation, you need to configure MariaDb for Omeka classical CMS. Make use of the following command for the same purpose.
root@linuxhelp ~]# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 29
Server version: 5.5.60-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 character set utf8mb4;
Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]> use omeka;
Database changed
MariaDB [omeka]> create user ouser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.00 sec)
MariaDB [omeka]> grant all on omeka.* to ouser@localhost;
Query OK, 0 rows affected (0.00 sec)
MariaDB [omeka]> flush privileges;
Query OK, 0 rows affected (0.00 sec)
MariaDB [omeka]> exit
Bye
Once it is done, change the directory to Apache’s Document Root Directory.
[root@linuxhelp ~]# cd /var/www
And then, create a directory for Omeka Classic CMS under the Document root directory.
[root@linuxhelp www]# mkdir omeka
After that, change the directory to Omeka to download the Omeka Classic CMS
[root@linuxhelp www]# cd omeka
Download the Omeka CMS using wget command along with the link given below.
[root@linuxhelp omeka]# wget https://github.com/omeka/Omeka/releases/download/v2.6.1/omeka-2.6.1.zip
--2019-05-03 14:23:33-- https://github.com/omeka/Omeka/releases/download/v2.6.1/omeka-2.6.1.zip
Resolving github.com (github.com)... 192.30.253.112
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/1981382/5295d252-4e0b-11e8-9f6b-30c4f7f2c952?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190503%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190503T085300Z&X-Amz-Expires=300&X-Amz-Signature=0626f035ab520b2fa15bf740300a68b9e154603ceef85c16bb74d98aa93944fb&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Domeka-2.6.1.zip&response-content-type=application%2Foctet-stream [following]
--2019-05-03 14:23:34-- https://github-production-release-asset-2e65be.s3.amazonaws.com/1981382/5295d252-4e0b-11e8-9f6b-30c4f7f2c952?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190503%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190503T085300Z&X-Amz-Expires=300&X-Amz-Signature=0626f035ab520b2fa15bf740300a68b9e154603ceef85c16bb74d98aa93944fb&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Domeka-2.6.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.216.97.99
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.97.99|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16400991 (16M) [application/octet-stream]
Saving to: ‘omeka-2.6.1.zip’
100%[===================================================================================================>] 16,400,991 462KB/s in 34s
2019-05-03 14:24:09 (473 KB/s) - ‘omeka-2.6.1.zip’ saved [16400991/16400991]
And then, list the contents to check the downloaded file as follows.
[root@linuxhelp omeka]# ll
total 16020
-rw-r--r-- 1 root root 16400991 May 2 2018 omeka-2.6.1.zip
After that, extract the downloaded file using unzip command as follows.
[root@linuxhelp omeka]# unzip omeka-2.6.1.zip
Archive: omeka-2.6.1.zip
creating: omeka-2.6.1/
creating: omeka-2.6.1/admin/
creating: omeka-2.6.1/admin/themes/
creating: omeka-2.6.1/admin/themes/default/
creating: omeka-2.6.1/admin/themes/default/appearance/
creating: omeka-2.6.1/admin/themes/default/collections/
creating: omeka-2.6.1/admin/themes/default/common/
creating: omeka-2.6.1/admin/themes/default/css/
creating: omeka-2.6.1/admin/themes/default/css/media/
creating: omeka-2.6.1/admin/themes/default/element-sets/
creating: omeka-2.6.1/admin/themes/default/elements/
creating: omeka-2.6.1/admin/themes/default/error/
creating: omeka-2.6.1/admin/themes/default/files/
creating: omeka-2.6.1/admin/themes/default/images/
creating: omeka-2.6.1/admin/themes/default/item-types/
.
.
.
.
.
inflating: omeka-2.6.1/themes/seasons/javascripts/seasons.js
inflating: omeka-2.6.1/themes/seasons/javascripts/vendor/modernizr.js
inflating: omeka-2.6.1/themes/seasons/package.json
inflating: omeka-2.6.1/themes/seasons/simple-pages/page/show.php
inflating: omeka-2.6.1/themes/seasons/theme.ini
inflating: omeka-2.6.1/themes/seasons/theme.jpg
Also, list the contents again to check the extracted files
[root@linuxhelp omeka]# ll
total 16020
drwxr-xr-x 8 root root 218 May 2 2018 omeka-2.6.1
-rw-r--r-- 1 root root 16400991 May 2 2018 omeka-2.6.1.zip
You should then rename the newly created directory to final.
[root@linuxhelp omeka]# mv omeka-2.6.1 final
And also, change the directory to final.
[root@linuxhelp omeka]# cd final
List the contents in the final directory.
[root@linuxhelp final]# ll
total 60
drwxr-xr-x 3 root root 37 May 2 2018 admin
drwxr-xr-x 13 root root 172 May 2 2018 application
-rw-r--r-- 1 root root 5592 May 2 2018 bootstrap.php
-rw-r--r-- 1 root root 532 May 2 2018 db.ini
drwxr-xr-x 7 root root 102 May 2 2018 files
-rw-r--r-- 1 root root 597 May 2 2018 index.php
drwxr-xr-x 6 root root 205 May 2 2018 install
-rw-r--r-- 1 root root 35147 May 2 2018 license.txt
drwxr-xr-x 5 root root 60 May 2 2018 plugins
-rw-r--r-- 1 root root 1225 May 2 2018 README.md
-rw-r--r-- 1 root root 32 May 2 2018 robots.txt
drwxr-xr-x 5 root root 50 May 2 2018 themes
Assign Ownership permissions to the final directory.
[root@linuxhelp final]# chown -R apache. ./
And also do assign writable permissions to the Final directory.
[root@linuxhelp final]# chmod -R 775 ./
Create a customised configuration file for Omeka CLassic CMS
[root@linuxhelp final]# vim /etc/httpd/conf.d/o.conf
<virtualhost *:80>
servername www.linuxhelp1.com
documentroot /var/www/omeka/final/
<directory /var/www/omeka/final/>
allowoverride all
allow from all
</directory>
</virtualhost>
You should also configure the database file as follows:
[root@linuxhelp final]# vim db.ini
host = "localhost"
username = "ouser"
password = "linuxc"
dbname = "omeka"
Once you are through with all the above configurations, restart the service Of Apache.
[root@linuxhelp final]# systemctl restart httpd
You shall now open the Browser and enter the server name that had set inside the virtual hosting of Apache server for Omeka classic CMS version 2.6.1.
Provide the site information details and click install.
After the completion of Omeka Classic CMS installation, click Admin DashBoard to login to the backend office.
Provide the login credentials that you had set prior to the installation process.
With this, the installation of Omeka CMS 2.6.1 on CentOS 7.6 comes to end.
Comments ( 0 )
No comments available