Linux Ubuntu配置国内源

市面上Ubuntu的国内镜像源非常多,比较有代表性的有清华源、中科大源、阿里源、网易源,以下是它们的网址:

阿里源一键配置命令:

sudo sed -i.bak \
  's|http://archive.ubuntu.com/ubuntu|https://mirrors.aliyun.com/ubuntu|g;
   s|http://security.ubuntu.com/ubuntu|https://mirrors.aliyun.com/ubuntu|g' \
  /etc/apt/sources.list.d/ubuntu.sources

其他源按步骤安装。


环境:

  • Ubuntu 24.04.4 LTS
posted @ 2023-02-25 16:24  天航星  阅读(545)  评论(0)    收藏  举报