【虛擬機】VMware-open-vm-tools安裝


  • open-vm-tools(VMware-tools的進化版)
  • VMware Tool 和 open-vm-tools任選一樣安裝即可
  1. 在終端進入超級用戶

  2. 換源下載,依次輸入下面命令

    sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup  #備份
     
    sudo gedit /etc/apt/sources.list   #打開文件
    
  3. 將里面的文件刪除再將下面復制進去

    deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-security main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-proposed main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
    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
    
  4. 更新

    sudo apt-get update
    

    有問yes/on就填yes;有[qw/e]這個就按回車

  5. 安裝,依次輸入下面命令

    apt-get install open-vm-tools
     
    apt-get install dkms
     
    apt-get install open-vm-tools-desktop 
    

    有問yes/on就填yes;有[qw/e]這種就按回車

  6. 完成

  7. 參考鏈接

    https://blog.csdn.net/yin2567588841/article/details/105426218?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-1.pc_relevant_default&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2~default~CTRLIST~Rate-1.pc_relevant_default&utm_relevant_index=2


免責聲明!

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



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