ubuntu1804安装慢,更新源问题
新装ubuntu 下载源慢,无法下载卡在 curtin command apt-config或者cuttin command in-target等问题基本都是源太慢下载ssh服务ssh上wp新账户,su到rootroot账户登录限制,需要改ssh.conf配置,这里通过小技巧跳过cp /etc/apt/sources.list /etc/apt/sources.list.bac...
·
新装ubuntu 下载源慢,无法下载
1.curtin command in target
2.curtin command in-target
直接在镜像哪里把镜像换成国内源
装机源
http://mirrors.163.com/ubuntu/
软件源
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
更多推荐
所有评论(0)