Created
December 9, 2013 07:05
-
-
Save davidbj/7868423 to your computer and use it in GitHub Desktop.
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
| I. change yum source | |
| vim /etc/yum.repos.d/nginx.repo | |
| [nginx] | |
| name=nginx repo | |
| baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ | |
| gpgcheck=0 | |
| enabled=1 | |
| II. yum install nginx | |
| yum install nginx -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment