用户工具

站点工具


linux:yum

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
linux:yum [2025/03/31 10:26] bjgdtclinux:yum [2025/05/08 09:17] (当前版本) bjgdtc
行 11: 行 11:
 清华大学: 清华大学:
  
-wget -/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 -/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 -/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 -/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 -/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/]]+wget -/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/]]
  
 清理缓存: 清理缓存:
行 26: 行 26:
  
 yum makecache 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]]
  
  
/www/wwwroot/dokuwiki/data/attic/linux/yum.1743387991.txt.gz · 最后更改: 2025/03/31 10:26 由 bjgdtc