Quantcast
Channel: Server – BinaryTides
Viewing all articles
Browse latest Browse all 13

Install Nginx + Php FPM + APC on CentOS 6.4

$
0
0
LEMP server
A lemp server runs Nginx web server along with Php and Mysql or MariaDB on a Linux system. Nginx is increasing becoming popular because of its lightweight structure and ability to handle large amounts of traffic in an optimum manner. Mariadb is the replacement for mysql because mysql is not very free anymore. In this tutorial we shall be setting up Nginx with Php FPM on CentOS. The instructions to instal MariaDB shall be covered in another post.
CentOS is a very popular os for linux based web servers. CentOS (Community Enterprise Operating System) is based on RHEL (RedHat Enterprice Linux) and is 100% binary compatible with it. For us it simply means that its similar to rhel in its working and environment and that we have the handy yum command available to install software easily from the repositories. In this example we shall be working on CentOS 6.4 which, at the time of this post is a recent version.
Install Nginx
The first step is to install Nginx web server. Nginx is not available in the default CentOS repositories but nginx provides centos specific repositories for easy use.
Add the nginx repository
We create a repository file in /etc/yum.repos.d directory
$ nano /etc/yum.repos.d/nginx.repo
Now open...

Read full post here
Install Nginx + Php FPM + APC on CentOS 6.4


Viewing all articles
Browse latest Browse all 13

Trending Articles