How to Install E107 CMS on Linuxmint 19
Installation of E107 CMS On Linuxmint 19
E107 is an open-source Content Management Tool 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 and flexible enough to meet the needs of a novice to a professional website user. In this tutorial, we will cover the installation of E107 CMS on Linuxmint 19.
Requirements for E107 CMS:
Apache
Mysql
Php and its modules
php php-xml php-mysql php-mbstring php-zip php-soap php-curl php-gd php-ldap php-imap php-common php-dev libmcrypt-dev php-pear
Installation procedure
Check the version of Linuxmint by using the following command.
root@linuxhelp:~# lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 19 Tara
Release: 19
Codename: tara
Configure the MySQL database. Log into MySQL as a root user and make the necessary settings.
root@linuxhelp:~# 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.7.26-0ubuntu0.18.04.1 (Ubuntu)
Copyright (c) 2000, 2019, 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 e107db;
Query OK, 1 row affected (0.00 sec)
mysql> create user 'e107user'@localhost identified by 'Linuxc#4';
Query OK, 0 rows affected (0.08 sec)
mysql> grant all privileges on e107db.* to 'e107user'@localhost;
Query OK, 0 rows affected (0.03 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
Once the database configuration is done, Download the E107 CMS Installation package by using the wget command.
root@linuxhelp:~# wget http://sourceforge.net/projects/e107/files/e107/e107%20v2.2.1/e107_2.2.1_full.zip/download
--2019-07-16 00:21:30-- http://sourceforge.net/projects/e107/files/e107/e107%20v2.2.1/e107_2.2.1_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... 301 Moved Permanently
Location: https://sourceforge.net/projects/e107/files/e107/e107%20v2.2.1/e107_2.2.1_full.zip/download [following]
--2019-07-16 00:21:30-- https://sourceforge.net/projects/e107/files/e107/e107%20v2.2.1/e107_2.2.1_full.zip/download
Connecting to sourceforge.net (sourceforge.net)|216.105.38.13|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://downloads.sourceforge.net/project/e107/e107/e107%20v2.2.1/e107_2.2.1_full.zip?r=&ts=1563216684&use_mirror=excellmedia [following]
--2019-07-16 00:21:32-- https://downloads.sourceforge.net/project/e107/e107/e107%20v2.2.1/e107_2.2.1_full.zip?r=&ts=1563216684&use_mirror=excellmedia
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.105.38.13
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.105.38.13|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://excellmedia.dl.sourceforge.net/project/e107/e107/e107%20v2.2.1/e107_2.2.1_full.zip [following]
--2019-07-16 00:21:33-- https://excellmedia.dl.sourceforge.net/project/e107/e107/e107%20v2.2.1/e107_2.2.1_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: 17393119 (17M) [application/octet-stream]
Saving to: ‘download’
download 100%[===========================================>] 16.59M 179KB/s in 1m 51s
2019-07-16 00:23:26 (153 KB/s) - ‘download’ saved [17393119/17393119]
Once the download is completed extract the downloaded package using unzip command.
root@linuxhelp:~# unzip download -d e107
Archive: download
inflating: e107/CONTRIBUTING.md
inflating: e107/LICENSE
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 E107 CMS directory to apache root directory.
root@linuxhelp:~# mv e107 /var/www/
Set the ownership and permission for E107 CMS by using the following commands.
root@linuxhelp:~# chown -R www-data.www-data /var/www/e107
root@linuxhelp:~# chmod -R 755 /var/www/e107
Once it is done, configure the virtualhost for accessing the E107 CMS. Run the following command.
root@linuxhelp:~# 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>
Once it is completed. disable the default site access.
root@linuxhelp:~# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the site access for accessing the E107 cms
root@linuxhelp:~# a2ensite e107.conf
Enabling site e107.
To activate the new configuration, you need to run:
systemctl reload apache2
Enable the rewrite module now.
root@linuxhelp:~# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Restart the apache service by using the following command
root@linuxhelp:~# systemctl restart apache2
Switch to your browser and enter the domain name
Configure the Site information.
wget http://sourceforge.net/projects/e107/files/e107/e107%20v2.2.1/e107_2.2.1_full.zip/download
# vim /etc/hosts
php-xml php-mbstring php-gd php-curl php-zip php-soap php-mcrypt php-cli php-ldap php-mysql.
Apache
MySQL
PHP and its modules