电脑坏了需要重新安装linux虚拟机,但是上次配置没记录下来,又需要查很多资料,这次就一劳永逸吧。
首先,改变文件更新源的地址,不然下载速度可能会很慢 systemsetting中
或者
sudo gedit /etc/apt/sources.list
然后添加以下内容之一:
#阿里源(此行不复制)
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
##测试版源
deb http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
# 源码
deb-sr