ubuntu1804安装慢,更新源问题
新装ubuntu 下载源慢,无法下载
直接看最后。。
卡在 curtin command apt-config或者cuttin command in-target等问题基本都是源太慢
下载ssh服务
ssh上wp新账户,su到root
root账户登录限制,需要改ssh.conf配置,这里通过小技巧跳过
cp /etc/apt/sources.list /etc/apt/sources.list.back
rm sources.list
vim sources.list
写入
#阿里源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
apt-get update
apt-get upgrade
reboot
还是不行,后来发现,直接在镜像哪里把镜像换成
http://mirrors.163.com/ubuntu/
就行了。。。