|-转 ubuntu 22.04配置国内镜像源-2024.7月最新版
复制以下命令即可一键切换到阿里云 ubuntu 22.04镜像:
sudo bash -c "cat << EOF > /etc/apt/sources.list && apt update deb http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ jammy main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ jammy-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ jammy-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ jammy-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ jammy-backports main restricted universe multiverse EOF"
清华大学镜像
sudo bash -c "cat << EOF > /etc/apt/sources.list && apt update deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse # deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ jammy-security main restricted universe multiverse EOF"
sudo apt-get update&&sudo apt-get upgrade
ubuntu 22.04配置国内镜像源-2024.7月最新版_ubuntu22.04更换国内源-CSDN博客 ...
浏览更多内容请先登录。
立即注册
更新于:2024-07-31 00:19:01
相关内容
聊天服务器搭建-使用snap+Nginx快速安装RocketChat(2022年6月最新版)
在OnpenVZ 上安装Rocket Chat 实测中
详解代理自动配置 PAC
php - php HTMLPurifier iframe和Youtube视频
apache配置ip地址
解决新版wampserver 2/3个服务器正在运行问题
wamp安装成功了,在cmd上运行php.exe时,提示'"php.exe"' 不是内部或外部命令
wamp设置mysql8.0.18初始密码问题
myslq密码也重新设置了,可是项目在连接mysql时提示失败'root'@'localhost'...
推荐内容