[ Linux ] CentOS6 现在还能用的 yum 源 2021-02-19

https://www.cnblogs.com/yeungchie/

CentOS6 已经停更了,但由于某些原因还得接着用着,找到几个暂时还能用的 yum 源

备份

mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup

下载

wget -O /etc/yum.repos.d/CentOS-Base.repo https://files.cnblogs.com/files/yeungchie/CentOS6-Base.repo.sh
wget -O /etc/yum.repos.d/epel.repo https://files.cnblogs.com/files/yeungchie/epel6.repo.sh

更新

yum clean all
yum makecache
posted @ 2021-02-19 23:01  YEUNGCHIE  阅读(723)  评论(0编辑  收藏  举报