wait59

环境对象 Centos7 .7

使用本地镜像源

[root@localhost yum.repos.d]# cat centos7.repo 
[local server]
name = local server
baseurl=file:///tmp
enable=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm=gpg/RPM-GPG-KEY-CentOS=7

如何自定义使用网络镜像源

[163 server]

name = 163mirros

baseurl=http://mirrors.163.com/centos/$releasever/os/$basearch/
enable=1
gpgcheck= 1
gpgkey=https://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-7







例如阿里云镜像源

wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo


分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-12-29
  • 2022-02-07
猜你喜欢
  • 2021-11-22
  • 2022-01-21
  • 2021-07-28
  • 2021-09-09
  • 2021-06-28
  • 2021-07-15
  • 2021-12-10
相关资源
相似解决方案