How to install E107 CMS 2.1.7 on CentOS 7

To install E107 CMS 2.1.7 on CentOS 7
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.

Prerequisites

  • Install LAMP(Apache, MariaDB, php7)
  • In MariaDB (create database and user and give privileges to that user )
  • Php installation with required following modules

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install php56w php56w-opcache php56w-mysql php56w-curl php56w-xml php56w-mcrypt php56w-gd php56w-mbstring


Installation

Download the E107 package using this following command.

[root@linuxhelp1 user1]# wget http://sourceforge.net/projects/e107/files/e107/e107%20v2.1.7/e107_2.1.7_full.zip/download --no-check-certificate
--2018-04-16 03:07:35--  http://sourceforge.net/projects/e107/files/e107/e107%20v2.1.7/e107_2.1.7_full.zip/download
Resolving sourceforge.net (sourceforge.net)... 216.105.38.13
Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:80... connected.
.
.
HTTP request sent, awaiting response... 200 OK
Length: 15869072 (15M) [application/octet-stream]
Saving to: ‘ download’ 

100%[============================================================> ] 15,869,072   371KB/s   in 47s    

2018-04-16 03:08:31 (328 KB/s) - ‘ download’  saved [15869072/15869072]

The downloaded package is a zip file, so we need to unzip the package using the following command.

[root@linuxhelp1 user1]# unzip download -d e107
Archive:  download
  inflating: e107/README.md          
  inflating: e107/banner.php         
  inflating: e107/class2.php         
  inflating: e107/comment.php        
  inflating: e107/contact.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 file to apache document root directory.

[root@linuxhelp1 user1]# mv e107 /var/www/

Switch to the directory as follows.

[root@linuxhelp1 user1]# cd /var/www/

Next, we need to change the ownership and permission of the file.

[root@linuxhelp1 www]# chown -R apache.apache e107
 [root@linuxhelp1 www]# chmod -R 775 e107

We have to create a new virtual host configuration for accessing the E107 application.

[root@linuxhelp1 www]# vim /etc/httpd/conf.d/e107.conf
< VirtualHost *:80> 
ServerName www.linuxhelp1.com
DocumentRoot /var/www/e107/

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

< /VirtualHost> 

Then we need to restart the httpd service.

[root@linuxhelp1 www]# systemctl restart httpd

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 installation setup. Choose the language and click continue.

Configure the database setup and continue.

Verify the MySQL connection and database creation.


Verify the server configuration and the file permission of E107 application.


And then configure the Administration information and Admin user credential.


Choose the Admin area skin.


Choose the website name and website theme.


Confirm the installation to continue.

Installation is complete now.


You will see the Homepage of E107 now.


And then go to the Login page of E107, log in with help of Admin user credential.


You will see the admin area of your site.

With this, the method to install E107 CMS 2.1.7 on CentOS 7 comes to an end.

FAQ
Q
Does MilesWeb offer e107 CMS hosting or packages that support e107 on your servers?
A
Yes, We do offer e107 CMS hosting and it is supported on all our servers located in India, US, and the UK. You can consider one of our cPanel Shared Hosting package to set up your e107 website within few minutes.
Q
How can I use mysql instead of mariadb?
A
yes. You can use any type of database as per your choice and preference.
Q
I have a ngnix webserver installed on my server. Can I use that document root path ?
A
you can use any kind of webserver if you have prior knowledge on that Web server.
Q
what PHP version should I use?
A
you can make use of the latest php version for the best output.
Q
why do we have to save the package at /tmp
A
You can save at any directory. We prefer saving the packages at /tmp