ITPub博客

首页 > Linux操作系统 > Linux操作系统 > how to configure yum source

how to configure yum source

原创 Linux操作系统 作者:wanghanjun 时间:2014-06-01 13:51:48 0 删除 编辑

Disabled other repo file in /etc/yum.repos.d/*.repo

image

 

create new repo file. e.g. media.repo , and typing below information into that file

[base]
name=Server
baseurl=file:///media/Server
enabled=1
gpgcheck=0

[VT]
name=VT
baseurl=file:///media/VT
enabled=0
gpgcheck=0

[Cluster]
name=Cluster
baseurl=file:///media/Cluster
enabled=0
gpgcheck=0

[CS]
name=ClusterStorage
baseurl=file:///media/ClusterStorage
enabled=0
gpgcheck=0

 

try yum list iscsi*

image

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

上一篇: Linux Command 20140530
下一篇: CRS-2501
请登录后发表评论 登录
全部评论

注册时间:2014-05-28

  • 博文量
    42
  • 访问量
    48163