文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>在RHEL_5环境,使用centos源

在RHEL_5环境,使用centos源

时间:2010-11-13  来源:txwsqk

代码
[base]
name
=CentOS-5 - Base
repo
=os
baseurl
=http://centos.ustc.edu.cn/centos/5/os/$basearch/
gpgcheck
=1
gpgkey
=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

[update]
name
=CentOS-5 - Updates
baseurl
=http://centos.ustc.edu.cn/centos/5/updates/$basearch/
gpgcheck
=1
gpgkey
=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

[addons]
name
=CentOS-5 - Addons
baseurl
=http://centos.ustc.edu.cn/centos/5/addons/$basearch/
gpgcheck
=1
gpgkey
=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

[extras]
name
=CentOS-5 - Extras
baseurl
=http://centos.ustc.edu.cn/centos/5/extras/$basearch/
gpgcheck
=1
gpgkey
=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

[centosplus]
name
=CentOS-5 - Plus
baseurl
=http://centos.ustc.edu.cn/centos/5/centosplus/$basearch/
gpgcheck
=1
enabled
=0
gpgkey
=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

[contrib]
name
=CentOS-5 - Contrib
baseurl
=http://centos.ustc.edu.cn/centos/5/contrib/$basearch/
gpgcheck
=1
enabled
=0
gpgkey
=http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5

导入KEY文件

 

rpm --import http://centos.ustc.edu.cn/centos/RPM-GPG-KEY-CentOS-5 

 

还可以使用网易mirrors.163.com的源,只需要把上面的所有centos.ustc.edu.cn替换成mirrors.163.com即可。

相关阅读 更多 +
排行榜 更多 +
辰域智控app

辰域智控app

系统工具 下载
网医联盟app

网医联盟app

运动健身 下载
汇丰汇选App

汇丰汇选App

金融理财 下载