用户名:
密 码: 记住
您当前的位置:首页 > 站长百科 > 服务器技术

使用光盘配置本地yum源的方法 yum源配置

时间:2015-01-18  来源:互联网  作者:佚名

1.把光盘里的所有文件拷贝到/yum下

2.编辑 /etc/yum.repos.d/rhel-debuginfo.repo
代码如下:
[base]
name=Instructor Server Repository
baseurl=file:///yum/Server
gpgcheck=1
# This one is needed for xen packages
[VT]
name=Instructor VT Repository
baseurl=file:///yum/VT
gpgcheck=1
# This one is needed for clustering packages
[Cluster]
name=Instructor Cluster Repository
baseurl=file:///yum/Cluster
gpgcheck=1
# This one is needed for cluster storage (GFS, iSCSI target, etc…) packages
[ClusterStorage]
name=Instructor ClusterStorage Repository
baseurl=file:///yum/ClusterStorage
gpgcheck=1


3.  rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

来顶一下
返回首页
返回首页
推荐资讯
【图文教程】dede织梦网站后台如何发表文章? 【图文教程】dede织梦网站后台如何对于新手站长可能不了解,dede织梦后台是如何发文章的。下面
2014站长圈十大事件:PR已死 移动算法兴起 2014站长圈十大事件:PR已死 移动算2014年即将过去,虽然站长圈相比过去几年稍显沉寂,但&ldquo
相关文章
    无相关信息
栏目更新
栏目热门