• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install E107 CMS with Nginx on CentOS 6.9

{{postValue.id}}

To Install E107 CMS with Nginx on CentOS 6.9

In our previous post we have seen about the installation of E107 CMS on CentOS 6.9. For watching the mentioned tutorial, click on the https://www.linuxhelp.com/how-to-install-e107-cms-on-centos-6-9/. Now we are going to see about the installation procedure of E107 CMS with Nginx on CentOS 6.9. E107 is an open-source Content Management Tool for website pages which is built based on PHP and MySQL. E107 can be easily customized by its users. It doesn' t require any prior knowledge on major programming languages in order to build a website. IT fully supports CSS3, HTML5, jQuery and FontAwesome. It is simple, flexible enough to meet the needs of a novice to a professional website user.

Pre-Requisite

Before starting the installation procedure, check whether the target system has been installed with the LEMP environment for the e107 to work in. Create a MySQL database and an user with all privileges granted.

Installation procedure

To proceed with the installation procedure, enter into HTML location by running the cd command.

[root@linuxhelp11 ~]# cd /usr/share/nginx/html

Next create a new directory for E107 by running the mkdir command.

[root@linuxhelp11 html]# mkdir e107

Now download the package of E107 in the terminal by executing the wget command followed by the download link.

[root@linuxhelp11 html]# wget https://svwh.dl.sourceforge.net/project/e107/e107/e107%20v2.0/e107_2.0_full.zip
--2017-09-27 03:06:35--  https://svwh.dl.sourceforge.net/project/e107/e107/e107%20v2.0/e107_2.0_full.zip
Resolving svwh.dl.sourceforge.net... 72.5.72.15, 2606:c680:0:b:3830:34ff:fe66:6663
Connecting to svwh.dl.sourceforge.net|72.5.72.15|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7055730 (6.7M) [application/octet-stream]
Saving to: “ e107_2.0_full.zip” 
100%[======================================> ] 7,055,730    862K/s   in 9.1s    

2017-09-27 03:06:45 (753 KB/s) - “ e107_2.0_full.zip”  saved [7055730/7055730]

Extract the downloaded package by running the unzip command.

[root@linuxhelp11 html]# 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/contact.php        
.
.
inflating: e107/user.php           
  inflating: e107/userposts.php      
  inflating: e107/usersettings.php   

Next edit the php configuration file and make changes in the timezone. Save and exit the file.

[root@linuxhelp11 html]# vim /etc/php.ini
date.timezone = Asia/Kolkata

Edit the php-fpm configuration file using vim editor and make the following changes in the file. Save and exit the file.

[root@linuxhelp11 html]# vim /etc/php-fpm.d/www.conf

listen = /var/run/php-fpm/php-fpm.sock
listen.owner = nginx
listen.group = nginx
user = nginx
group = nginx

Configure the Nginx configuration file and enter the contents in the file. Save and exit the file.

[root@linuxhelp11 html]# vim /etc/nginx/conf.d/default.conf

index index.html index.php 
location ~ .php {
    fastcgi_index index.php 
    fastcgi_split_path_info ^(.+.php)(.*)$ 
    include /etc/nginx/fastcgi_params 
    fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock 
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name 
  }

Change the ownership of file in the HTML location.

[root@linuxhelp11 html]# chown -R nginx:nginx /usr/share/nginx/html

Change the permission of file in the HTML location.

[root@linuxhelp11 html]# chmod -R 775 /usr/share/nginx/html

Restart the php-fpm service.

[root@linuxhelp11 html]#  service php-fpm restart
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]

Restart the Nginx service

[root@linuxhelp11 html]# service nginx restart
Stopping nginx:                                            [  OK  ]
Starting nginx:                                            [  OK  ]

Switch over to the browser and enter the URL as http://machine-ip/e107. The installation setup of E107 appears on the screen. choose the required language and click continue.
installation setup

Enter the required database details and give continue.
database detail

The verification for MySQL is undergoing and it is successfully done. Click continue to next step.
MySQL verification

Next the installation procedure leads to the list of System check and click continue.
system check

Fill the admin details and click continue option.
admin detail

Next enter the site preferences and click continue.
site preferences

All the required details are done, next the installation wizard prompts for the confirmation before starting the installation process. Click continue.
installation confirmation

The installation is now complete and now click continue.
installation completed

The demo page appears on the screen and then click Go to Admin area to lead to the administration page.
demo page

Enter the required admin credentials and click login.
admin credentails

The admin page of E107 is now displayed on the screen.
admin page

The dashboard contains a plethora of menus that can be widely used for creating and maintaining the website.
dashboard


settings

This concludes the installation procedure of E107 with Nginx on CentOS 6.9.

Tags:
rolando
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

E107 cms supported php version?

A

PHP 4.3.0 and above will required for this.

Q

How to make enrty to the hosts file?

A

Follow the steps as below, # /etc/hosts

Q

How do I get support for NGINX software?

A

You can purchase an NGINX Plus subscription to cover each supported instance of NGINX Plus or open source NGINX.

Q

How to setup odoo on IPv6 port 80? Is it possible to use nginx to do the same?

A

Why do you want to setup Odoo to listen on IPv6 on localhost? Use nginx frontend to be accessed from IPv6 with the below configuration: listen [::]:80;

Q

What does this error mean on Odoo? "Could not execute command 'lessc'"

A

apt-get install node-less
It worked well for me.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.