*WARNING* For this how to (Install Nginx) we will be using a third party yum repository.
First we will install the third party repository provided by EPEL (Extra Packages for Enterprise Linux). More details can be found here: Fedora EPEL Project
To install the yum EPEL Repo run the below command as root:
rpm -Uhv http://mirror.cogentco.com/pub/linux/epel/6/i386/epel-release-6-8.noarch.rpm
Now lets install it:
yum -y install nginx
Now lets start NGINX:
service nginx start
You can confirm the successful install by going to:
You should be presented with the words “Welcome to nginx”
Congrats, you have now successfully installed NGINX on CentOS 6.
Tags: centos, EPEL Repo, Extra Packages for Enterprise Linux, Install NGINX, nginx, yum repository
This work is licensed under a
Creative Commons Attribution-