记录一下,以备以后查阅
https://mirrors.tuna.tsinghua.edu.cn/
以ubuntu18.04.6为例。
1、全屏问题
sudo apt-get install open-vm-tools
sudo apt-get install open-vm*
reboot重启
2.换下载源问题
备份源:
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
打开文件:
sudo gedit /etc/apt/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
更新:
sudo apt-get update
更换清华源:https://blog.csdn.net/qq_18724841/article/details/105845921