How to install Omeka CMS on Linuxmint 18.03
To install Omeka CMS on Linuxmint 18.03
Omeka is a free and open source content management system for online digital collections. As a web application, it allows users to publish and extend its functionality with themes and plugins.
Installation
Prerequisites
Install LAMP(Apache, MariaDB, and 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 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 cms package from the following URL https://omeka.org/classic/download/
linuxhelp ~ # cd /home/user/Downloads/
linuxhelp Downloads # ls
omeka-2.6.1.zip
The downloaded package is a zip file, so unzip the package now
linuxhelp Downloads # 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/
.
.
.
inflating: omeka-2.6.1/themes/seasons/gulpfile.js
inflating: omeka-2.6.1/themes/seasons/index.php
inflating: omeka-2.6.1/themes/seasons/items/show.php
inflating: omeka-2.6.1/themes/seasons/javascripts/boxsizing.htc
inflating: omeka-2.6.1/themes/seasons/javascripts/jquery-extra-selectors.js
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
Change the ownership and permission of the extracted directory
linuxhelp Downloads # ls omeka-2.6.1 omeka-2.6.1.zip linuxhelp Downloads # chown -R www-data:www-data omeka-2.6.1 linuxhelp Downloads # chmod -R 775 omeka-2.6.1
Move the omeka directory into the /html location
linuxhelp Downloads # mv omeka-2.6.1 /var/www/html/
Edit the db.ini file, configure the database setup
linuxhelp Downloads # cd /var/www/html/omeka-2.6.1/ linuxhelp omeka-2.6.1 # ls admin bootstrap.php files install plugins robots.txt application db.ini index.php license.txt README.md themes linuxhelp omeka-2.6.1 # vim db.ini [database] host = " localhost" username = " omekauser" password = " 123" dbname = " omeka" prefix = " omeka_" charset = " utf8" port = " 3306"
Create a new virtual host configuration for accessing the omeka cms application
linuxhelp omeka-2.6.1 # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim omeka.conf
< VirtualHost *:80>
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/omeka-2.6.1/
< Directory /var/www/html/omeka-2.6.1/>
AllowOverride All
allow from all
< /Directory>
< /VirtualHost>
Enable the site access
linuxhelp sites-available # a2ensite omeka.conf
Enabling site omeka.
To activate the new configuration, you need to run:
service apache2 reload
Enable the rewrite modules.
linuxhelp sites-available # a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
service apache2 restart
Make an entry to the host file as follows
linuxhelp sites-available # vim /etc/hosts < your ip address> < your domain name> Restart the apache2 service 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
Configure the site information
The installation successfully completed. log in to the admin page.
Make use of admin user credentials
Admin page omeka cms
With this, the method to install Omeka CMS on Linuxmint 18.03 comes to an end.
Comments ( 0 )
No comments available