Canadahost Official Blog

How To Install Nginx on CentOS 6

What is Nginx

Nginx is a powerful and high performance web server which can also be used as a reverse proxy, load balancer and HTTP cache.

Install EPEL

Extra Packages for Enterprise Linux (or EPEL) it creates, maintains, and manages a high quality set of additional packages.

To install epel open SSH, logging in as root

yum install epel-release

Install NGINX

To install nginx open SSH, logging in as root

yum install nginx

To run nginx after install

/etc/init.d/nginx start

you can check if nginx is runing connecting to your server ip address in your browser

use the following command to retrieve your servers ip address

ifconfig eth1 or ifconfig eth0

You should see the NGINX Welcome Screen,

Great Job, Nginx is now installed.

Canadahost

Canadian Web Hosting Service Provider, Domain Names, Canadian Network, Canadian Servers and Canadian IP Address.

Add comment