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.
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)... 126.96.36.199 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|188.8.131.52|: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)... 184.108.40.206 Connecting to excellmedia.dl.sourceforge.net (excellmedia.dl.sourceforge.net)|220.127.116.11|: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 email@example.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.
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.