新闻中心
新闻中心与新手教程
新闻中心与新手教程
发布时间:2024-10-04 10:33:14
注意:centos 8已于2021年12月31日停止支持。建议升级到centos stream或迁移到其他发行版。
sudo mv /etc/yum.repos.d/centos-linux-baseos.repo /etc/yum.repos.d/centos-linux-baseos.repo.backupsudo curl -o /etc/yum.repos.d/centos-linux-baseos.repo https://mirrors.aliyun.com/repo/centos-vault-8.5.2111.reposudo dnf clean all sudo dnf makecachesudo dnf updatesudo cp /etc/apt/sources.list /etc/apt/sources.list.backupsudo nano /etc/apt/sources.listdeb http://mirrors.ustc.edu.cn/debian buster main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian buster main contrib non-free
deb http://mirrors.ustc.edu.cn/debian buster-updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian buster-updates main contrib non-free
deb http://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian-security/ buster/updates main contrib non-free
sudo apt updatesudo apt upgradesudo cp /etc/apt/sources.list /etc/apt/sources.list.backupsudo nano /etc/apt/sources.listdeb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
sudo apt updatesudo apt upgrade注意事项:
以下是centos 8、debian 10和ubuntu 20.04更换安装源的主要步骤概述和一些重要注意事项:
重要注意事项:
感谢:05互联