2024-09-01
Linux运维
00

https://developer.aliyun.com/mirror/ubuntu?spm=a2c6h.13651102.0.0.6d281b11u4Ldo9

备份:

sudo mv /etc/apt/sources.list /etc/apt/sources.listbak

ubuntu 18.04(bionic) 配置如下:

sudo sh -c 'echo "deb https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse\ndeb-src https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse\ndeb https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse\ndeb-src https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse\ndeb https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse\ndeb-src https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse\n# deb https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse\n# deb-src https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse\ndeb https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse\ndeb-src https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse" > /etc/apt/sources.list'
sudo apt-get update && sudo apt-get upgrade
如果对你有用的话,可以打赏哦
打赏
ali pay
wechat pay

本文作者:Dong

本文链接:

版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC。本作品采用《知识共享署名-非商业性使用 4.0 国际许可协议》进行许可。您可以在非商业用途下自由转载和修改,但必须注明出处并提供原作者链接。 许可协议。转载请注明出处!