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        
…
…
…
  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 appearsSelect your language and continue.
E107_LANGUAGE
Enter your MySQL server details and untick create database option. 
 mysql server details
 mysql CONNECTION VERIFICATION
Check the version of PHP and MySQL as follows. 
Php and mysql version
Enter your administrator details as follows. 
administrator details
Give the Website preference. 
Website preference
Finally, confirm your installation by clicking on Continue. 
Confirm your installation
Installation has now been completed
Installation complete

 

 

You can view the Homepage of e107 now. 
E107_Homepage
Enter your login credentials to access e107 Admin Area
E107 Admin Area
Admin’s control panel looks as the following image. 
Admin control panel

 


Thank you! for using Linux Help.

You find this tutorial helpful? Share with your friends to keep it alive.
For more help topics browse our website www.linuxhelp.com
Be the first to comment, we value your suggestions. For further queries please comment below.

Tags: CMS tool Ubuntu e107
user image Author :  Caden