How to install Elxis CMS 4.6 on Ubuntu 18.04

To install Elxis CMS 4.6 on Ubuntu 18.04
Elxis is a free Content Management System (CMS) that allows you to easily create websites of any scale from small personal websites and blogs to complex corporate websites and portals without the need of having programming skills. Elxis CMS is an open source project released for free under the Elxis Public License (EPL) license. Elxis CMS is provided for free and without any guarantee. In this tutorial, we will cover the installation of Elxis CMS 4.6 on Ubuntu 18.04.

Prerequisites
Install LAMP(Apache, MariaDB, php7)
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.0 php7.0-mysql php7.0-curl php7.0-json php7.0-cgi libapache2-mod-php7.0 php7.0-mcrypt php7.0-xmlrpc php7.0-gd php7.0-mbstring php7.0  php7.0-common  php7.0-xmlrpc php7.0-soap  
php7.0-xml php7.0-intl  php7.0-cli  php7.0-ldap php7.0-zip php7.0-readline php7.0-imap php7.0-tidy php7.0-recode php7.0-sq php7.0-intl

Download an Elxis package on terminal using the wget command

root@linuxhelp1:~# wget http://www.elxis.org/components/com_content/plugins/download/includes/dl.php?c=B2BfcwNlDmMFKlNmUH8GNQMrVSFcZFZsVmVQNwZ0VTIEdlQoV2JaOAJlWG9TNloyVWVVZVZl -O Elxis-4.6.zip
--2018-07-04 23:38:48--  http://www.elxis.org/components/com_content/plugins/download/includes/dl.php?c=B2BfcwNlDmMFKlNmUH8GNQMrVSFcZFZsVmVQNwZ0VTIEdlQoV2JaOAJlWG9TNloyVWVVZVZl
Resolving www.elxis.org (www.elxis.org)... 144.76.220.143
Connecting to www.elxis.org (www.elxis.org)|144.76.220.143|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8800823 (8.4M) [application/octet-stream]
Saving to: ‘ Elxis-4.6.zip’ 

Elxis-4.6.zip                    100%[==========================================================> ]   8.39M  47.7MB/s    in 0.2s    

2018-07-04 23:39:07 (47.7 MB/s) - ‘ Elxis-4.6.zip’  saved [8800823/8800823]

After Downloading extract the downloaded package

root@linuxhelp1:~# unzip Elxis-4.6 -d elxis
Archive:  Elxis-4.6
   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/templates/system/images/mob_options.png  
  inflating: elxis/templates/system/images/nopicture.png  
  inflating: elxis/templates/system/images/nopicture_article.jpg  
  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

Move the extracted file into the HTML directory

root@linuxhelp1:~# mv elxis /var/www/

Navigate to the apache document root directory

root@linuxhelp1:~# cd /var/www/

Change ownership and permission of the as Elxis CMS follows

root@linuxhelp1:/var/www# chown -R www-data.www-data elxis
root@linuxhelp1:/var/www# chmod -R 775 elxis

Create a new virtual host configuration for accessing the Elxis CMS

root@linuxhelp1:/var/www# vim /etc/apache2/sites-available/elxis.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/elxis/

< Directory /var/www/elxis/> 
AllowOverride All
allow from all
< /Directory> 

< /VirtualHost> 

Enable site access

root@linuxhelp1:/var/www# a2ensite elxis.conf
Enabling site elxis.
To activate the new configuration, you need to run:
  systemctl reload apache2

Disable default access

root@linuxhelp1:/var/www# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
  systemctl reload apache2

Enable rewrite module

root@linuxhelp1:/var/www# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
  systemctl restart apache2

Restart the apache service to make the changes effect

root@linuxhelp1:/var/www# systemctl restart apache2

Now you can proceed the further installation and configuration from the browser by navigating to the following URL: http://< ipaddress or domain name

Choose the language for using Elxis CMS as shown below

You will see the version of Elxis CMS

Accept the license agreement

Configure the Site information and Database setup as follow

Configure the Admin user setup

After the configuration, you will see the following page as shown below

You will see the Homepage of Elxis CMS as shown below

Access the login page from the options shown below

You can log in using the admin user credentials

After the Successful login, you will see the Admin dashboard of Elxis CMS as shown below

With this, the method to install Elxis CMS 4.6 on Ubuntu 18.04 comes to an end.

FAQ
Q
Is Elxis Opensource?
A
Elxis is a free and open source content management software application.
Q
What is Elxis CMS?
A
Elxis CMS 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, without the need for any programming skills.
Q
How do I modify the footer of my web site?
A
The footer of your website is controlled by the:
/includes/footer.php file.
Q
How to make an entry to the host file for Elxis CMS?
A
Please follow the steps as below to create Elxis,
# vim /etc/hosts
Q
Is Elxis CMS compatible with PHP5?
A
Yes, Elxis CMS compatible with PHP version 5.