How to install E107 2.1.7 on Ubuntu 18.04

To install E107 CMS 2.1.7 on Ubuntu 18.04
E107 is an open-source Content Management Tool for website pages which is built based on PHP and MySQL. E107 can be easily customized by its users. It doesn' t require any prior knowledge of major programming languages in order to build a website. It fully supports CSS3, HTML5, jQuery and FontAwesome. It is simple, flexible enough to meet the needs of a novice to a professional website user. In this tutorial, we will cover the installation of E107 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-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

Installation

Download an E107 package using the following URL

root@linuxhelp1:~# wget https://excellmedia.dl.sourceforge.net/project/e107/e107/e107%20v2.1.7/e107_2.1.7_full.zip
--2018-07-12 12:29:17--  https://excellmedia.dl.sourceforge.net/project/e107/e107/e107%20v2.1.7/e107_2.1.7_full.zip
Resolving excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)... 202.153.32.19
Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|202.153.32.19|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15869072 (15M) [application/octet-stream]
Saving to: ‘ e107_2.1.7_full.zip’ 

e107_2.1.7_full.zip     100%[==============================> ]  15.13M   129KB/s    in 96s     

2018-07-12 12:30:53 (162 KB/s) - ‘ e107_2.1.7_full.zip’  saved [15869072/15869072]

After Downloading extract the downloaded package

root@linuxhelp1:~# unzip e107_2.1.7_full.zip -d e107
Archive:  e107_2.1.7_full.zip
  inflating: e107/README.md          
  inflating: e107/banner.php         
  inflating: e107/class2.php         
  inflating: e107/comment.php        
  inflating: e107/contact.php        
  inflating: e107/cron.php           
  inflating: e107/download.php       
  inflating: e107/e107.htaccess
.
.
  inflating: e107/signup.php         
  inflating: e107/sitedown.php       
  inflating: e107/submitnews.php     
  inflating: e107/thumb.php          
  inflating: e107/top.php            
  inflating: e107/unsubscribe.php    
  inflating: e107/upload.php         
  inflating: e107/user.php           
  inflating: e107/userposts.php      
  inflating: e107/usersettings.php

Move the extracted file into the HTML directory

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

Navigate to the apache document root directory

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

Change ownership and permission of the as E107 CMS follows

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

Create a new virtual host configuration for accessing the E107 CMS

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

< Directory /var/www/e107/> 
AllowOverride All
Allow from all
< /Directory> 

< /VirtualHost> 

Enable site access

root@linuxhelp1:/var/www# a2ensite e107.conf
Enabling site e107.
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

Configure the Database setup as follows

Verify the database connection

Make a compatibility check for installing E107 as shown below

Configure the Admin user setup

Configure the Site information set up as follows

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

The homepage of E107

Access the login page from the options shown below

You can log in using the admin user credentials

Admin dashboard of E107

Version of E107

With this, the method to install E107 on Ubuntu 18.04 comes to an end.

Tag : Ubuntu e107
FAQ
Q
why we need to install the E107 in ubuntu?
A
E107 is an open-source Content Management Tool for website pages which is built based on PHP and MySQL. E107 can be easily customized by its users. It doesn' t require any prior knowledge of major programming languages in order to build a website. It fully supports CSS3, HTML5, jQuery and FontAwesome
Q
where to download the package of E107 in ubuntu?
A
Download an E107 package using the following URL
# wget https://excellmedia.dl.sourceforge.net/project/e107/e107/e107%20v2.1.7/e107_2.1.7_full.zip
Q
how to create error and access log for E107?
A
Errorlog /var/log/linux/error_log
Customlog /var/log/linux/access_log
Q
which command to check apache syntax error?
A
you can check the apache syntax by following command
# apache2 -t
Q
how to entry to the hosts file?
A
use the following command to entry the host file
# vim /etc/hosts