Created
December 11, 2012 16:09
-
-
Save yaitskov/4259789 to your computer and use it in GitHub Desktop.
yum repo configuration
This file contains 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
exapmle of /etc/yum.repos.d/test.repo | |
[my-tpl] | |
name=Jelastic Tpl Repo | |
mirrorlist=http://x:x@repo.jelastic.com/tpl/mirrorlist/centos-6-jelastic-tpl-repo | |
failovermethod=priority | |
enabled=1 | |
gpgcheck=0 | |
[my-centos6] | |
name=Jelastic CentOs 6 Repo | |
mirrorlist=http://log:pass@repo.jelastic.com/jelastic-6/mirrorlist/centos-6-jelastic-repo | |
failovermethod=priority | |
enabled=1 | |
gpgcheck=0 | |
[base] | |
name=CentOS-- Base | |
mirrorlist=http://mirrorlist.centos.org/?release=6&arch=amd64&repo=os | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 | |
#released updates | |
[updates] | |
name=CentOS- Updates | |
mirrorlist=http://mirrorlist.centos.org/?release=6&arch=amd64&repo=updates | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 | |
#additional packages that may be useful | |
[extras] | |
name=CentOS- Extras | |
mirrorlist=http://mirrorlist.centos.org/?release=6&arch=amd64&repo=extras | |
gpgcheck=1 | |
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yum-config-manager --disable "*"
because yum --disablerepo doesn't work