xia-dong

redhat 搭建yum 源

 

搭建本地yum
mount -o loop rhel.iso /media/rhel-iso
新建/etc/yum.repos.d/rhel.repo:
[rhel]
name=rhel
baseurl="file:///media/rhel-iso"
gpgcheck=0

 

 

搭建网络yum
新建/etc/yum.repos.d/rhel.repo:
[rhel]
name=rhel
baseurl=http://mirrors.163.com/centos/7/os/$basearch/ #rhel 7
baseurl=http://mirrors.163.com/centos/8/BaseOS/$basearch/os/ #rhel 8
gpgcheck=0

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2021-08-19
  • 2021-09-22
  • 2021-08-15
  • 2021-07-03
  • 2021-07-13
猜你喜欢
  • 2021-12-09
  • 2021-12-06
  • 2021-12-02
  • 2021-12-17
  • 2021-12-09
  • 2022-02-13
  • 2021-11-19
相关资源
相似解决方案