How to install Omeka-S on Linux mint 18.03

To install Omeka-S on Linux mint 18.03

Omeka-s is a free, open source content management system for online digital collections. As a web application, it allows users to publish and exhibit cultural heritage objects, and extend its functionality with themes and plugins. In this tutorial, we will cover the installation of Omeka-s on Linuxmint-18.03.

Prerequisites

Install LAMP(Apache, MariaDB, php7.2)
In MariaDB (create database and user and give privileges to that user )

Php installation with required following modules
add-apt-repository ppa:ondrej/php 
apt-get update 
apt-get install php7.2 php7.2-mysql php7.2-curl php7.2-json php7.2-cgi libapache2-mod-php7.2 php7.2-mcrypt php7.2-xmlrpc php7.2-gd php7.2-mbstring  php7.2-common
php7.2-xmlrpc php7.2-soap  php7.2-xml php7.2-intl  php7.2-cli  php7.2-ldap php7.2-zip php7.2-readline php7.2-imap php7.2-tidy php7.2-recode php7.2-sq php7.2-intl

Installation

Download an Omeka-s package from browser follow the link, https://omeka.org/s/download/

linuxhelp ~ # cd /home/user/Downloads/
linuxhelp Downloads # ls
omeka-s-1.1.1.zip

Extract the downloaded package by using the unzip command.

linuxhelp Downloads # unzip omeka-s-1.2.0.zip 
Archive:  omeka-s-1.2.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/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/CreateCommand.php  
  inflating: omeka-s/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/DropCommand.php  
  inflating: omeka-s/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php

Change ownership and permission of the as Omeka-s follows

linuxhelp Downloads # ls
Omeka-s omeka-s-1.1.1.zip
linuxhelp Downloads # chown -R www-data:www-data omeka-s
linuxhelp Downloads # chmod -R 775 omeka-s

Move the extracted file into the HTML directory

linuxhelp Downloads # mv omeka-s /var/www/html/

Fill the database details for the database.ini file.

linuxhelp Downloads # vim /var/www/html/omeka-s/config/database.ini
user     = omekasuser
password =  123
dbname   =  omekas
host     =localhost
port     =  3306


Create a new virtual host configuration for accessing the Omeka-S.

linuxhelp Downloads # cd /etc/apache2/sites-available/
linuxhelp sites-available# vim omeka-s.conf
 ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/omeka-s/
 AllowOverride All
allow from all 

Enable site access

linuxhelp sites-available # a2ensite omeka-s.conf
Enabling site omeka-s.
To activate the new configuration, you need to run:
  service apache2 reload

Enable rewrite module

linuxhelp sites-available # a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  service apache2 restart

Entry to the host file.

linuxhelp sites-available #vim  /etc/hosts
  

Restart the apache service to make the changes effect

linuxhelp sites-available #systemctl  restart apache2.service

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://

Fill the admin and general details.

Login page of omeka-S.

Admin dashboard of Omeka-S.

With this, the method to install Omeka-S on Linux mint-18.03 comes to an end.

FAQ
Q
What are the alternatives in Omeka-S?
A
The alternatives are,
WordPress
Chamilo
Instructure Canvas
Q
How to Enable rewrite module?
A
Run the following command:
# a2enmod rewrite
Q
How to Extract the downloaded package?
A
Execute the following command:
# unzip omeka-s-1.2.0.zip
Q
What are the pre-requirements in Omeka-S?
A
Prerequisites

Install LAMP(Apache, MariaDB, php7.2)
In MariaDB (create database and user and give privileges to that user )
Q
What is Omeka-S?
A
Omeka-s is a free, open source content management system for online digital collections. As a web application, it allows users to publish and exhibit cultural heritage objects, and extend its functionality with themes and plugins.