redhat6.1 X86-64 使用centos的源做yum

[root@ftpserver-1 yum.repos.d]# rpm --import  http://ftp.sjtu.edu.cn/centos/6/os/x86_64/RPM-GPG-KEY-CentOS-6

[root@ftpserver-1 yum.repos.d]# cat /etc/yum.repos.d/rhel-source.repo

[update]

name=CentOS-5-Updates

#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=$basearch&repo=updates

baseurl=http://ftp.sjtu.edu.cn/centos/6/updates/$basearch/

gpgcheck=0

gpgkey=http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-6

你可能感兴趣的:(centos,的yum)