ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Linux yum配置

Linux yum配置

原创 Linux操作系统 作者:yspoplar 时间:2011-05-05 09:58:50 0 删除 编辑

1.安装以下包
yum-metadata-parser-1.0-8.fc6
yum-3.0.1-5.el5
yum-updatesd-3.0.1-5.el5
yum-rhn-plugin-0.4.3-1.el5
createrepo-0.4.11-3.el5

2.cp /mnt/Server/* /home/ys/Server

3.createrepo -g /home/ys/Server/repodata/comps-rhel5-server-core.xml /home/ys/Server/

4.vi /etc/yum.repos.d/rhel-debuginfo.repo
修改name=rhel-debuginfo
baseurl=file:///home/ys/Server
enable=1
gpgcheck=0

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/24586480/viewspace-1049469/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: Linux增加SWAP
请登录后发表评论 登录
全部评论

注册时间:2011-05-03

  • 博文量
    30
  • 访问量
    45873