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.


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


Download an Omeka-s  package from browser follow the link,


linuxhelp ~ # cd /home/user/Downloads/
linuxhelp Downloads # ls

Extract the downloaded package by using the unzip command.

linuxhelp Downloads # unzip 
  inflating: omeka-s/.htaccess       
  inflating: omeka-s/LICENSE         
  inflating: omeka-s/       
  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
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
<VirtualHost *:80>
DocumentRoot /var/www/html/omeka-s/
<Directory /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
<Give your ip> <Give your domain name>

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://<ipaddress or domain name 

Fill the admin and general details.
fill the_admin_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.

Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: Linux Mint CMS tool
user image Author :  Jayce