Install Ubuntu in a virtual machine (personal record)

该文章记录自己安装该系统,便于自己的复习。
前面的操作都是按照一般安装虚拟机的操作开始的。

The installation begins (the vmware installation steps are skipped)

After arriving at the ubuntu installation interface, do not rush to install, first check if there is a choice of simplified Chinese, and choose the language (usually choose the language first). After you choose it, you usually click according to your needs. I just want to use ubuntu to learn, choose simple installation, if possible, deselect the update option (forgot to click). After that, wait for installation. . .
I waited for more than half an hour, and I was still downloading things. I couldn't wait any longer, so I clicked skip.
It doesn't seem to affect normal use. There may be something you are updating. Install it before updating.
After clicking skip, I entered the system soon.

Start installing vmware tools-to use ubuntu in full screen

Let vmware provide this tools. Because of the graphical interface of the installation, double-click it to find the compressed file, copy it to the desktop, and create a new folder first.
Then we enter the vmware-tools-distrib folder we just extracted as the root user, and enter the command: ./vmware-install.pl, and then press Enter (anyway, find this .pl file and run it)
root command: sudo su
basic Just choose yes, in some places, if you choose no, you will exit the installation, and I will vomit.
Once installed, you can click full screen.

Change the domestic source to facilitate future downloads

1. Backup

Back up the /etc/apt/sources.list file (first increase the permissions)

sudo su
mv  /etc/apt/sources.list  /etc/apt/sourses.list.backup

2. New

Create a new /etc/apt/sources.list file and add the following content

Under root administrator

// 切换到管理员
sudo  su
// 新建文件并写入
vi  /etc/apt/sources.list

Press to ienter edit mode
. Copy the content of the source below and press escand then to wqexit (w key and q key)
2.1 Ali source:


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-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse

2.2 Other sources


#清华源
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse

3 update

After the change is completed, execute the following command

sudo apt-get update

Update software

sudo apt-get upgrade

Guess you like

Origin blog.csdn.net/qq_43542647/article/details/113107003
Recommended