跳至内容
水月笔记
用户工具
登录
站点工具
搜索
工具
显示页面
过去修订
反向链接
最近更改
媒体管理器
网站地图
登录
>
最近更改
媒体管理器
网站地图
您在这里:
开始
»
linux
»
yum
您的足迹:
linux:yum
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
更换yum源: 备份原配置 cp /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak 阿里云: wget -O /etc/yum.repos.d/CentOS-Base.repo [[http://mirrors.aliyun.com/repo/Centos-7.repo|http://mirrors.aliyun.com/repo/Centos-7.repo]] 清华大学: wget -O /etc/yum.repos.d/CentOS-Base.repo [[https://mirrors.tuna.tsinghua.edu.cn/repo/Centos-7.repo|https://mirrors.tuna.tsinghua.edu.cn/repo/Centos-7.repo]] 网易: wget -O /etc/yum.repos.d/CentOS-Base.repo [[http://mirrors.163.com/.help/CentOS7-Base-163.repo|http://mirrors.163.com/.help/CentOS7-Base-163.repo]] 中科大: wget -O /etc/yum.repos.d/CentOS-Base.repo [[http://mirrors.ustc.edu.cn/centos/7/os/x86_64/|http://mirrors.ustc.edu.cn/centos/7/os/x86_64/]] 清理缓存: yum clean all yum makecache 安装wget(纯净安装的系统没有wget) yum -y install wget 下载配置文件 记得覆盖 curl -O [[http://mirrors.aliyun.com/repo/Centos-7.repo|http://mirrors.aliyun.com/repo/Centos-7.repo]]
CKG Edit
/www/wwwroot/dokuwiki/data/pages/linux/yum.txt
· 最后更改: 2025/05/08 09:17 由
bjgdtc
页面工具
显示页面
过去修订
反向链接
回到顶部