Last active
September 19, 2019 07:16
-
-
Save ryzy/63b3b7ca47545435c597 to your computer and use it in GitHub Desktop.
Install Nginx 1.9.x on CentOS 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/yum.repos.d/nginx.repo | |
[nginx] | |
name=nginx repo | |
baseurl=http://nginx.org/packages/mainline/centos/7/$basearch/ | |
gpgcheck=0 | |
enabled=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum install -y nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i have follow this instruction but the nginx doesn't 1.9.x version
output nginx -v is :
nginx version: nginx/1.17.3