CentOS 5.5 yum源配置
[base] name=$releasever - Base failovermethod=priority baseurl=https://vault.centos.org/5.5/os/$basearch/ gpgcheck=1 gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-5 #released updates [updates] name=$releasever - Updates failovermethod=priority baseurl=https://vault.centos.org/5.5/updates/$basearch/ gpgcheck=1 gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-5 #additional packages that may be useful [extras] name=$releasever - Extras failovermethod=priority baseurl=https://vault.centos.org/5.5/extras/$basearch/ gpgcheck=1 gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-5 #additional packages that extend functionality of existing packages [centosplus] name=$releasever - Plus failovermethod=priority baseurl=https://vault.centos.org/5.5/centosplus/$basearch/ gpgcheck=1 enabled=0 gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-5 #contrib - packages by Centos Users [contrib] name=$releasever - Contrib failovermethod=priority baseurl=https://vault.centos.org/5.5/contrib/$basearch/ gpgcheck=1 enabled=0 gpgkey=https://vault.centos.org/RPM-GPG-KEY-CentOS-5