分类: LINUX
2013-11-22 14:24:48
vi CentOS-Base.repo
3)输入一下内容
[base]
name=CentOS-6 - Base
baseurl=
gpgcheck=0
gpgkey=
#released updates
[updates]
name=CentOS-6 - Updates
baseurl=
gpgcheck=0
gpgkey=
#packages used/produced in the build but not released
[addons]
name=CentOS-6 - Addons
baseurl=
gpgcheck=0
gpgkey=
#additional packages that may be useful
[extras]
name=CentOS-6 - Extras
baseurl=
gpgcheck=0
gpgkey=
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-6 ¨C Plus
baseurl=
gpgcheck=0
gpgkey=
#contrib - packages by Centos Users
[contrib]
name=CentOS-6 - Contrib
baseurl=
gpgcheck=0
gpgkey=
以上,就完成了在RHEL6.0上安装centos的yum。