This video shows how to install nginx on centos and deploy web site
1 Login as root user
2 Install the prerequisites:
sudo yum install yum-utils
3 To set up the yum repository, create the file named /etc/yum.repos.d/nginx.repo with the following contents:
[nginx-stable]
name=nginx-stable
baseurl=http://nginx.org/packages/centos/$rel...
gpgcheck=0
enabled=1
------- name can change its ok.---
By default, the repository for stable nginx packages is used.
4 To install nginx, run the following command:
sudo yum install nginx