yum安装异常
Loading mirror speeds from cached hostfile
- base: mirrors.cloud.aliyuncs.com
- extras: mirrors.cloud.aliyuncs.com
- updates: mirrors.cloud.aliyuncs.com
1.检测网络
ping baidu.com
2.更新yum源
cd /etc/yum.repos.d/
mkdir repos
mv -rf * repos/
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
yum update
yum clean all
yum makecache
本文介绍了解决yum安装异常的方法,包括检测网络连接、更新yum源和清理缓存等步骤,适用于CentOS系统的维护人员。
1万+

被折叠的 条评论
为什么被折叠?



