ubuntu修改阿里云镜像

1.备份

cp /etc/apt/sources.list /etc/apt/sources.list.bak
2.换源
vi /etc/apt/sources.list

https://developer.aliyun.com/mirror/ubuntu?spm=a2c6h.13651102.0.0.3e221b11Uogf6z
3.更新
apt update

apt-get update
apt-get upgrade
4.下载
apt install net-tools vim -y

posted @ 2022-10-25 14:12  小小仓鼠  阅读(64)  评论(0编辑  收藏  举报