Skip to content

Instantly share code, notes, and snippets.

@snickerjp
Created November 26, 2013 01:32
Show Gist options
  • Save snickerjp/7652037 to your computer and use it in GitHub Desktop.
Save snickerjp/7652037 to your computer and use it in GitHub Desktop.
Add mainline,src repository [Official Page: http://nginx.org/en/linux_packages.html]
# for CentOS 6
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/6/$basearch/
gpgcheck=0
enabled=0
[nginx-src]
name=nginx SRPM repo
baseurl=http://nginx.org/packages/centos/6/SRPMS/
gpgcheck=0
enabled=0
[nginx-mainline]
name=nginx repo mainline
baseurl=http://nginx.org/packages/mainline/centos/6/$basearch/
gpgcheck=0
enabled=0
[nginx-mainline-src]
name=nginx SRPM repo mainline
baseurl=http://nginx.org/packages/mainline/centos/6/SRPMS/
gpgcheck=0
enabled=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment