备份配置文件 cp /etc/yum.repos.d/CentOS-Base.repo /etc/repos.d/CentOS-Base.repo.bak 更新新wget路径 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo yum makecache yum makecache //把yum源缓存到本地,加快软件的搜索好安装速度 yum list //总共列出了9951个包
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
使用Nginx搭建本地YUM源
离线环境使用nginx搭建本地yum源(2种方式)
nginx yum源 服务器 -
Centos7.9 清华yum源配置
清华YUM源配置
CentOS centos -
centos6.9 切换yum源
centos6.9使用yum install命令报错
yum源报错 centos6.9 配置yum源 -
centos7 更新及切换yum 源
centos7 更新及切换yum源
CentOS yum源