How to install Stable Nginx on CentOS 7
Check out high performance SSD storage cloud hosting with 15 locations around the globe starting from $2.50/month – https://www.vultr.com/?ref=6901441
Command rundown:
1. cat /etc/centos-release
2. vi /etc/yum.repos.d/nginx_stable.repo
3. Copy/paste
[nginx]
name=nginx repo
baseurl=https://nginx.org/packages/centos/7/$basearch/
gpgcheck=1
enabled=1
4. wget https://nginx.org/keys/nginx_signing.key
5. rpm –import nginx_signing.key
6. yum install -y nginx
7. nginx -v
centos 7