How to Install e107 CMS 2.1.9v on Ubuntu 18.10
Installation of e107 CMS 2.1.9 v On Ubuntu 18.10
Features:
It has XML Sitemap Creator
File Download Database and Management
Theme manager
ugin manager
Cron Jobs
Mass mailing
RSS and Atom Feeds
Software Requirements:
LAMP Stack(Linux,Apache,mysql & php)
PHP Modules:
php php-gd php-pdo php-mysql php-simplexml php-curl php-zip php-mbstring php-mcrypt
Download Link:
Click here for download e107 CMS version 2.1.9
Installation
Change the directory to /var/www
root@linuxhelp:~#cd /var/www
Download the e107 cms using wget
root@linuxhelp:/var/www#wget http://sourceforge.net/projects/e107/files/e107/e107%20v2.1.9/e107_2.1.9_full.zip/download
Create a directory for e107 cms
root@linuxhelp:/var/www#mkdir e107
Extract the files of e107 cms
root@linuxhelp:/var/www#unzip download –d e107
Archive: download
inflating: CONTRIBUTING.md
inflating: README.md
inflating: banner.php
inflating: class2.php
inflating: comment.php
inflating: contact.php
inflating: cron.php
inflating: download.php
inflating: e107.htaccess
inflating: e107.robots.txt
creating: e107_admin/
.
.
.
.
.
inflating: sitedown.php
inflating: submitnews.php
inflating: thumb.php
inflating: top.php
inflating: unsubscribe.php
inflating: upload.php
inflating: user.php
inflating: userposts.php
inflating: usersettings.php
root@linuxhelp:/var/www# cd e107
root@linuxhelp:/var/www/e107# ll
total 572
drwxr-xr-x 13 root root 4096 May 2 02:40 ./
drwxr-xr-x 4 root root 4096 May 2 02:39 ../
-rw-r--r-- 1 root root 292 Aug 22 2018 banner.php
-rwxr-xr-x 1 root root 77588 Aug 22 2018 class2.php*
-rw-r--r-- 1 root root 16260 Aug 22 2018 comment.php
-rw-r--r-- 1 root root 7438 Aug 22 2018 contact.php
-rw-r--r-- 1 root root 6805 Aug 22 2018 CONTRIBUTING.md
-rwxr-xr-x 1 root root 1291 Aug 22 2018 cron.php*
-rw-r--r-- 1 root root 701 Aug 22 2018 download.php
drwxr-xr-x 3 root root 4096 Aug 22 2018 e107_admin/
-rw-r--r-- 1 root root 0 Aug 22 2018 e107_config.php
drwxr-xr-x 11 root root 4096 Aug 22 2018 e107_core/
drwxr-xr-x 3 root root 4096 Aug 22 2018 e107_docs/
drwxr-xr-x 9 root root 4096 Aug 22 2018 e107_handlers/
-rw-r--r-- 1 root root 3766 Aug 22 2018 e107.htaccess
drwxr-xr-x 14 root root 4096 Aug 22 2018 e107_images/
drwxr-xr-x 3 root root 4096 Aug 22 2018 e107_languages/
drwxr-xr-x 2 root root 4096 Aug 22 2018 e107_media/
drwxr-xr-x 34 root root 4096 Aug 22 2018 e107_plugins/
-rw-r--r-- 1 root root 383 Aug 22 2018 e107.robots.txt
drwxr-xr-x 2 root root 4096 Aug 22 2018 e107_system/
drwxr-xr-x 7 root root 4096 Aug 22 2018 e107_themes/
drwxr-xr-x 7 root root 4096 Aug 22 2018 e107_web/
-rw-r--r-- 1 root root 5707 Aug 22 2018 email.php
-rw-r--r-- 1 root root 1249 Aug 22 2018 error.php
-rw-r--r-- 1 root root 5430 Aug 22 2018 favicon.ico
-rw-r--r-- 1 root root 11548 Aug 22 2018 fpw.php
-rw-r--r-- 1 root root 2599 Aug 22 2018 gsitemap.php
-rw-r--r-- 1 root root 5062 Aug 22 2018 index.php
-rw-r--r-- 1 root root 77569 Aug 22 2018 install.php
-rw-r--r-- 1 root root 3430 Aug 22 2018 login.php
-rw-r--r-- 1 root root 2227 Aug 22 2018 membersonly.php
-rw-r--r-- 1 root root 568 Aug 22 2018 metaweblog.php
-rw-r--r-- 1 root root 410 Aug 22 2018 news.php
-rw-r--r-- 1 root root 10469 Aug 22 2018 online.php
-rw-r--r-- 1 root root 32773 Aug 22 2018 page.php
-rw-r--r-- 1 root root 4442 Aug 22 2018 print.php
-rw-r--r-- 1 root root 2455 Aug 22 2018 rate.php
-rw-r--r-- 1 root root 2856 Aug 22 2018 README.md
-rw-r--r-- 1 root root 1546 Aug 22 2018 request.php
-rw-r--r-- 1 root root 31570 Aug 22 2018 search.php
-rw-r--r-- 1 root root 32809 Aug 22 2018 signup.php
-rw-r--r-- 1 root root 1221 Aug 22 2018 sitedown.php
-rw-r--r-- 1 root root 11594 Aug 22 2018 submitnews.php
-rwxr-xr-x 1 root root 14513 Aug 22 2018 thumb.php*
-rw-r--r-- 1 root root 11639 Aug 22 2018 top.php
-rw-r--r-- 1 root root 2876 Aug 22 2018 unsubscribe.php
-rw-r--r-- 1 root root 16073 Aug 22 2018 upload.php
-rw-r--r-- 1 root root 7574 Aug 22 2018 user.php
-rw-r--r-- 1 root root 10082 Aug 22 2018 userposts.php
-rw-r--r-- 1 root root 33193 Aug 22 2018 usersettings.php
Assign the ownership permissions to the e107 directory.
root@linuxhelp:/var/www/e107# chown -R www-data. ./
And then, assign writable permissions to this e107 directory.
root@linuxhelp:/var/www/e107# chmod -R 775 ./
Create a virtual hosting for e107 cms
root@linuxhelp:/var/www/e107# vim /etc/apache2/sites-available/e.conf
<virtualhost *:80>
Servername www.linuxhelp1.com
Documentroot /var/www/e107/
<directory /var/www.e107/>
Allowoverride all
Allow from all
</directory>
</virtualhost>
After that, disable the access for the default sites.
root@linuxhelp:/var/www/e107# a2dissite 000-default.conf
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
Once it is done, enable the e.conf site.
root@linuxhelp:/var/www/e107# a2ensite e.conf
Enabling site e.
To activate the new configuration, you need to run:
systemctl reload apache2
Now, enable the rewrite module as follows.
root@linuxhelp:/var/www/e107# a2enmod rewrite
Enabling module rewrite.
To activate the new configuration, you need to run:
systemctl restart apache2
Configure MAriaDB for e107 cms
root@linuxhelp:/var/www/e107# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 59
Server version: 10.1.29-MariaDB-6ubuntu2 Ubuntu 18.10
Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> create database e107 character set utf8mb4;
Query OK, 1 row affected (0.32 sec)
MariaDB [(none)]> use e107;
Database changed
MariaDB [e107]> create user euser@localhost identified by 'linuxc';
Query OK, 0 rows affected (0.75 sec)
MariaDB [e107]> grant all on e107.* to euser@localhost;
Query OK, 0 rows affected (0.08 sec)
MariaDB [e107]> flush privileges;
Query OK, 0 rows affected (0.16 sec)
MariaDB [e107]> exit
Bye
Restart the service of apache.
root@linuxhelp:/var/www/e107# systemctl restart apache2
Open the browser and enter the servername and hit enter.
Enroll the website information and click continue.