Skip to content

Instantly share code, notes, and snippets.

@giwa
Last active August 29, 2015 14:21
Show Gist options
  • Save giwa/73725628e6f3e4ace620 to your computer and use it in GitHub Desktop.
Save giwa/73725628e6f3e4ace620 to your computer and use it in GitHub Desktop.
Install Nginx 1.8.0 in CentOS 6.6 ref: http://qiita.com/giwa/items/21a1020820234a07a518
vi /etc/yum.repos.d/nginx.repo
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
yum install nginx
$ nginx -v
nginx version: nginx/1.8.0
service nginx start
chkconfig nginx on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment