4、打開虛擬機:點擊創建新的虛擬機

選擇典型,點擊下一步。

選擇稍后安裝操作系統

操作系統選擇Linux,版本選擇Ubuntu64位。

給虛擬機命名,選擇安裝位置(安裝位置自定義)。

設置虛擬機磁盤大小,一般設置為20GB或50GB。

點擊完成。

點擊編輯虛擬機設置。

加載ISO鏡像文件。

選擇語言。點擊Install Ubuntu。

選擇Download updates while installing Ubuntu

選擇最上面一項,continue.

設置用戶名和登錄密碼。

現在開始安裝,需等待20分鍾。

安裝完畢,重啟。

3)One More Thing
在安裝Ubuntu16.04時,系統默認分辨率與電腦分辨率會出現不一致的情況,此時界面顯示不完整,解決方法是:左手按住alt鍵右手拖動鼠標即可。
當我們重啟之后,發現Ubuntu界面如下:界面過小。解決辦法是:System Settings->Displays->1280x768
5)解決mobaxterm無法連接該主機
安裝VMware tool
點擊工具欄【虛擬機】->在VMware tool里面右鍵open terminal->輸入命令sudo mv VMwa* ~/
- 如果以上命令報錯則輸入命令:sudo tar -zxvf *.tar.gz -C ~/ -> 輸入 cd ~/vm* -> 輸入 ls -> 輸入sudo ./vmware-install.pl -> sudo reboot (會重啟這個虛擬機)


- 重啟后輸入:sudo vi /etc/apt/sources.list -> 一直按 d 把這個內容清空
- 按i進入編輯,
復制進去下面這段
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src 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-backports main restricted universe multiverse - 按esc -> : wq -> sudo apt update -> sudo apt upgrade -> sudo ufw disable -> sudo apt-get install openssh-server
-
測試mobaxterm連接登錄該虛擬機IP



6)備份虛擬機
點擊工具欄【虛擬機】->拍攝快照

