linux yum 安装配置
国内优秀源:
1.http://mirrors.163.com/
2.http://mirrors.aliyun.com/
Centos 7安装yum 管理工具
rpm -ivh --nodeps http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-3.4.3-150.el7.centos.noarch.rpm
rpm -ivh --nodeps http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-metadata-parser-1.1.4-10.el7.x86_64.rpm
rpm -ivh --nodeps http://mirrors.163.com/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-40.el7.noarch.rpm
Centos 7 更换默认源
1.首先备份/etc/yum.repos.d/CentOS-Base.repo
2.替换 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.163.com/.help/CentOS7-Base-163.repo
3. yum repolist all
如图则yum源更换成功:
4. yum clean all
5. yum makecache
结束
相关推荐
yishouwangnian 2020-06-21
昭君出塞 2020-06-04
FCLAMP 2020-05-20
flycappuccino 2020-09-27
xiemanR 2020-09-21
数据人 2020-10-26
张立军的架构之路 2020-09-28
xiaohai 2020-09-16
87901735 2020-08-19
zhangll00 2020-07-29
ningningmingming 2020-07-26
young依然 2020-07-19
VFCSDN 2020-07-05
87447007 2020-07-04
kuailexiaochuan 2020-07-04