How to install Elxis CMS on Linuxmint 18.03

To install Elxis CMS on Linuxmint 18.03


Elxis is a free and open source content management software application. It is simple, powerful, flexible, and easy to use software for all platforms. It contains features such as multi-level menus, contact forms, image galleries, a built-in commentary system, etc. It allows you to create web content ranging from personal websites to blogs to complex corporate websites all within a few clicks.


Prerequisites

Install LAMP(Apache, MariaDB an, php7.2)
Install 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 Elxis cms package from the following URL . http://www.elxis.org/download.html

linuxhelp ~ # cd /home/user/Downloads/
linuxhelp Downloads # ls
elxis_4.6_phaethon_rev1958.zip

The downloaded package is a zip file, so unzip the package

linuxhelp Downloads # unzip elxis_4.6_phaethon_rev1958.zip -d elxis
Archive:  elxis_4.6_phaethon_rev1958.zip
   creating: elxis/components/
   creating: elxis/components/com_content/
  inflating: elxis/components/com_content/content.article.xml  
  inflating: elxis/components/com_content/content.category.xml  
  inflating: elxis/components/com_content/content.menu.xml  
  inflating: elxis/components/com_content/content.php  
  inflating: elxis/components/com_content/content.xml  
   creating: elxis/components/com_content/controllers/
  inflating: elxis/components/com_content/controllers/aarticle.php  
.
.
.
  inflating: elxis/templates/system/images/print.png  
  inflating: elxis/templates/system/inner.php  
  inflating: elxis/templates/system/mobile.php  
  inflating: elxis/templates/system/offline.mobile.php  
  inflating: elxis/templates/system/offline.php  
  inflating: elxis/templates/system/security.mobile.php  
  inflating: elxis/templates/system/security.php

Change the ownership and permission for elxis directory.

linuxhelp Downloads # ls
elxis  elxis_4.6_phaethon_rev1958.zip
linuxhelp Downloads # chown -R www-data:www-data elxis
linuxhelp Downloads # chmod -R 775 elxis

Move the elxis directory into the /html location.

linuxhelp Downloads # mv elxis /var/www/html/

Create a new virtual host configuration for accessing the elxis cms application

linuxhelp Downloads # cd /etc/apache2/sites-available/
linuxhelp sites-available # vim elxis.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/html/elxis/
< Directory /var/www/html/elxis/> 
AllowOverride All
allow from all
< /Directory> 
< /VirtualHost> 

Enable the site access

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


Make an entry in the hosts 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

Verify the system requirements and check the version of the Elxis CMS.

Agree to the Terms and Conditions of the Elxis.


Enter the required site settings such as site name, URL, language and database type.


Now, fill the admin details, then click submit.


The installation is now complete. Click Visit your new web site option.

The homepage of elxis cms

Log in using the admin user credentials

The dashboard of Elxis CMS is shown on the screen

With this, the method to install Elxis CMS on Linuxmint 18.03 comes toa n end.

FAQ
Q
How to Enable the site access?
A
Run the following command:
# a2ensite elxis.conf
Q
What are the pre-requirements in Linuxmint?
A
Install LAMP(Apache, MariaDB an, php7.2)
Install MariaDB (create database and user and give privileges to that user )
Q
What is Elxis CMS?
A
Elxis is a free and open source content management software application. It is simple, powerful, flexible, and easy to use software for all platforms. It contains features such as multi-level menus, contact forms, image galleries, a built-in commentary system, etc. It allows you to create web content ranging from personal websites to blogs to complex corporate websites all within a few clicks.
Q
How do I create a blog?
A
Elxis content categories and articles are multi-functional. You don't need a special blog component to have a blog. A standard category can act as a blog by setting its articles to be listed in a blog style. You can also make use of tags, comments, share, and social buttons and anything else a blog should have.
Q
Does Elxis support sub-categories?
A
Yes, Elxis supports sub-categories of any level. For SEO reasons and ease of access we suggest you create sub-categories up to the second or third level.