Skip to content

Instantly share code, notes, and snippets.

@solicomo
Created January 3, 2014 04:35
Show Gist options
  • Save solicomo/8232807 to your computer and use it in GitHub Desktop.
Save solicomo/8232807 to your computer and use it in GitHub Desktop.
Install nginx on CentOS 6.4
http://wiki.nginx.org/Install
To add nginx yum repository, create a file named /etc/yum.repos.d/nginx.repo and paste one of the configurations below:
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1
$ sudo yum install nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment