How to install e107 CMS in Ubuntu

How to install e107 CMS in Ubuntu

e107 is an open-source Content Management Tool which is built based on PHP and MySQL. It can be easily customized by its users. It doesn' t require any prior knowledge on major programming languages. The installation of e107 is simple and easy. This article covers the installation of e107 CMS tool on Ubuntu.


To install e107

Make sure your system has the LAMP server installed in it. Start the procedure by creating a database for e107. Use the following command for the same purpose.

root@linuxhelp:/home/user1# mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with   or g.
Your MySQL connection id is 2
Server version: 5.6.31-0ubuntu0.15.10.1 (Ubuntu)
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type ' help '  or ' h'  for help. Type ' c'  to clear the current input statement.
mysql>  create database e107 
Query OK, 1 row affected (0.00 sec)
mysql>  GRANT ALL PRIVILEGES ON e107.* TO ' e107user' @' localhost'  IDENTIFIED BY ' password'  
Query OK, 0 rows affected (0.00 sec)
mysql>  FLUSH PRIVILEGES 
Query OK, 0 rows affected (0.00 sec)
mysql>  exit
Bye


Once the database is created, download the e107 installation package as follows.

root@linuxhelp:/home/user1# wget http://downloads.sourceforge.net/project/e107/e107/e107%20v2.0/e107_2.0_full.zip
--2016-12-11 03:27:27--  http://downloads.sourceforge.net/project/e107/e107/e107%20v2.0/e107_2.0_full.zip
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://excellmedia.dl.sourceforge.net/project/e107/e107/e107%20v2.0/e107_2.0_full.zip [following]
--2016-12-11 03:27:27--  http://excellmedia.dl.sourceforge.net/project/e107/e107/e107%20v2.0/e107_2.0_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|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7055730 (6.7M) [application/octet-stream]
Saving to: ‘ e107_2.0_full.zip’ 
e107_2.0_full.zip          100%[========================================> ]   6.73M   590KB/s   in 13s    
2016-12-11 03:27:40 (539 KB/s) - ‘ e107_2.0_full.zip’  saved [7055730/7055730]

Once it is done, create a new directory and extract the downloaded file to the newly created directory.

root@linuxhelp:/home/user1# mkdir e107
root@linuxhelp:/home/user1# unzip e107_2.0_full.zip -d e107/
Archive:  e107_2.0_full.zip
  inflating: e107/README.md          
  inflating: e107/banner.php         
  inflating: e107/class2.php         
  inflating: e107/comment.php        
&hellip 
&hellip 
&hellip 
  inflating: e107/upload.php         
  inflating: e107/user.php           
  inflating: e107/userposts.php      
  inflating: e107/usersettings.php

Move the e107 directory to /var/www/html/ and set proper ownership for the directory as follows.

root@linuxhelp:/home/user1# mv e107/ /var/www/html/e107/
root@linuxhelp:/home/user1# chown -R www-data:www-data /var/www/html/e107/

Once the ownership is set, create a new virtual host directive in Apache. Use the following command for the same purpose.

root@linuxhelp:/home/user1# touch /etc/apache2/sites-available/e107.conf
root@linuxhelp:/home/user1# ln -s /etc/apache2/sites-available/e107.conf /etc/apache2/sites-enabled/e107.conf
root@linuxhelp:/home/user1# nano /etc/apache2/sites-available/e107.conf

Configure the file as follows.

< VirtualHost *:80> 
ServerAdmin admin@yourdomain.com
DocumentRoot /var/www/html/e107/
ServerName linuxhelp
ServerAlias www.your-domain.com
< Directory /var/www/html/e107/> 
Options FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
< /Directory> 
ErrorLog /var/log/apache2/your-domain.com-error_log
CustomLog /var/log/apache2/your-domain.com-access_log common
< /VirtualHost> 

Once the file is configured, change the hostname in the server name option. Save the file and exit.

Now restart the Apache web server to give effect to the configuration. Use the following command for the same purpose.

root@linuxhelp:/home/user1# service apache2 restart

Open your web browser and call http://192.168.7.232/e107. The installation page for e107 appears. Select your language and continue.

Enter your MySQL server details and untick create database option.


Check the version of PHP and MySQL as follows.

Enter your administrator details as follows.

Give the Website preference.

Finally, confirm your installation by clicking on Continue.

Installation has now been completed

You can view the Homepage of e107 now.

Enter your login credentials to access e107 Admin Area

Admin’ s control panel looks as the following image.

FAQ
Q
What is a plugin?
A
A plugin is an additional program that integrates with the e107 core system.
Actually, plugins are enhancements to the existing system. Some other CMS systems call it extensions, components or modules.
Q
Requirements of e107 hosting and its system?
A
At least one domain name
At least one email account
PHP 4.3.0 (or newer)
MySQL 3.22 (or newer)
A minimum of 25MB of storage space
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
What is the recommended setup for e107?
A
A Linux based Web server running Apache 2.x, PHP 7.x and MySQL 5.0 or higher. (LAMP)
A Registered Domain Name
Access to a Server Control Panel (such as cPanel)
Q
Are there any other alternatives available?
A
Try the following WordPress, Drupal, Ghost, Joomla, ProcessWire