修改默认的YUM仓库
Linux操作系统默认给我们设置了一个随机的软件仓库(小米商城 华为商城) 自己设置的DNS 223.5.5.5
配置仓库的目录: /etc/yum.repos.d/
1. 查看当前默认的仓库
[root@oldboyedu ~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.bupt.edu.cn # 软件的仓库地址 复制到浏览器查看
* extras: mirrors.bupt.edu.cn
* updates: mirrors.bupt.edu.cn
repo id repo name status
!base/7/x86_64 CentOS-7 - Base 10,072
!extras/7/x86_64 CentOS-7 - Extras 516
!nginx-stable/7/x86_64 nginx stable repo 282
!updates/7/x86_64 CentOS-7 - Updates 4,160
re
如何修改默认YUM仓库 安装扩展仓库
最新推荐文章于 2024-01-17 09:19:02 发布