實操環境安裝虛擬機vmware16教程-windows10


windows10
1.下載 vmware
官網下載 https://www.vmware.com/   
由於官網下載需要登錄注冊且比較麻煩,此處提供一個安裝包
2.windows 安裝 vmware 教程
https://jingyan.baidu.com/article/6fb756ec5ddcd2241858fb04.html
許可證百度
3.Ubuntu16 鏡像下載地址
https://mirrors.aliyun.com/ubuntu-releases/xenial/ubuntu-16.04.7-desktop-amd64.iso

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

4)查詢ip地址:
Ubuntu桌面右鍵->open terminal ->輸入命令:ifconfig

 

 5)解決mobaxterm無法連接該主機

 安裝VMware  tool

點擊工具欄【虛擬機】->在VMware  tool里面右鍵open terminal->輸入命令sudo  mv  VMwa*  ~/

  1. 如果以上命令報錯則輸入命令:sudo tar -zxvf   *.tar.gz  -C  ~/    -> 輸入 cd  ~/vm*   ->  輸入 ls   -> 輸入sudo  ./vmware-install.pl    ->  sudo  reboot (會重啟這個虛擬機)

    

    1. 重啟后輸入:sudo vi /etc/apt/sources.list   -> 一直按  d  把這個內容清空
    2. 按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

    3. esc  ->   : wq    ->   sudo apt update  ->     sudo apt upgrade  ->   sudo ufw disable  ->  sudo apt-get install openssh-server
    4. 測試mobaxterm連接登錄該虛擬機IP

  

 

 

6)備份虛擬機

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

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM