1. 确保网络连接正常
1
2
3
| ip addr
nmcli
ping www.baidu.com
|
如果网络连接不上可以使用安卓手机进行usb网络共享,并配置动态ip
2. 设置apt源并更新
1
| sudo vi /etc/apt/sources.list
|
1
2
3
4
5
6
7
8
9
10
11
| 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-backports main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed 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-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
|
1
2
| sudo apt-get update
sudo apt-get install -f
|
3. 安装ubuntu 桌面软件
1
| sudo apt-get install ubuntu-minimal ubuntu-standard ubuntu-desktop
|
4. 重启电脑