解决centos安装软件的速度问题

cd /etc/yum.repos.d/
rm  CentOS-Base.repo
注意centos版本:
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum makecache

在这里插入图片描述
这是一个漫长的过程:

yum -y update
在这里插入图片描述
其中当然有想让你吟诗的时刻:
在这里插入图片描述
如果实在不行就换个镜像:

wget http://mirrors.163.com/.help/CentOS7-Base-163.repo

最终成功画面:
在这里插入图片描述
参考:
https://blog.csdn.net/inslow/article/details/54177191

猜你喜欢

转载自blog.csdn.net/qq_41228218/article/details/89054925