[轉+總結]Linux虛擬系統安裝VMware Tools總結

來源:互聯網
上載者:User
[轉+總結]Linux虛擬系統安裝VMware Tools總結 轉自中國網路 一、VMware Tools安裝手記(For Linux Guest OS) 為什麼要裝 VMware Tools? 因為它可以改善 Virtual Machine 的運行效能,而且可以讓 Host OS 和 Guest OS 互連有無,這樣我們就不用傷腦筋,要架設什麼伺服器,來溝通兩個 OS,現在就讓我們開始吧! VMware Tools所在位置:VMware 安裝路徑 \VMware\VMware Workstation\linux.iso [root@rd01 ~]# mount /cdrom # 有時可能載入不了,這時就要先將系統關閉,再手動指定 ISO 映像,看 [root@rd01 ~]# cd /cdrom [root@rd01 ~]# ls -a [root@rd01 ~]# cp VMwareTools-5.5.1-19175.tar.gz /tmp [root@rd01 ~]# cd /tmp [root@rd01 ~]# tar zxpf VMwareTools-5.5.1-19175.tar.gz [root@rd01 ~]# cd vmware-tools-distrib [root@rd01 vmware-tools-distrib]# ./vmware-install.pl Creating a new installer database using the tar3 format. Installing the content of the package. # 安裝過程的畫面,全部使用預設值,一直按 Enter 就對了 In which directory do you want to install the binary files? [/usr/bin] What is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc/rc.d] What is the directory that contains the init scripts? [/etc/rc.d/init.d] In which directory do you want to install the daemon files? [/usr/sbin] In which directory do you want to install the library files? [/usr/lib/vmware-tools] Thepath "/usr/lib/vmware-tools" does not exist currently. This programisgoingto create it, including needed parent directories. Is thiswhatyou want? [yes] In which directory do you want to install the documentation files? [/usr/share/doc/vmware-tools] Thepath "/usr/share/doc/vmware-tools" does not exist currently.Thisprogram isgoing to create it, including needed parent directories.Isthis what you want? [yes] The installation of VMware Tools 5.5.1 build-19175 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl". Before running VMware Tools for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want this program to invoke the command for you now? [yes] Stopping VMware Tools services in the virtual machine: Guest operating system daemon: [ 確定 ] Trying to find a suitable vmhgfs module for your running kernel. The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel. pcnet32 30153 0 Unloading pcnet32 module Trying to find a suitable vmxnet module for your running kernel. The module bld-2.6.9-5.EL-i686-RHEL4 loads perfectly in the running kernel. Detected X.org version 6.8. 關閉控制台滑鼠服務: [ 確定 ] 啟動控制台滑鼠服務: [ 確定 ] Please choose one of the following display sizes (1 - 13): # 顯示解析度,這裡是以 1024x768 為例 # VMware Tools 安裝的時候,會自動修改 X server 的設定檔 [1] "640x480" [2] Install VMware Tools (2)From the VM: mount the virtual cd drive mount /dev/cdrom /mnt/ (3)Extract VMware Tools to /tmp/ tar -C /tmp -zxvf /mnt/VMwareTools-5.5.2-29772.tar.gz (4)Unmount the virtual cd drive umount /mnt (5)Now run the installer /tmp/vmware-tools-distrib/vmware-install.pl (6)When asked Do you want to run vmware-config-tools.pl?, answer "Yes". b) If you have VMware-workstation-5.5.2-29772.tar.gz on disk (1)Make sure VMware-workstation-5.5.2-29772.tar.gz is on disk inside the VM. (2)Extract the VMware Tools iso tar --strip-components=3 -zxvf VMware-workstation-5.5.2-29772.tar.gz \ vmware-distrib/lib/isoimages/linux.iso (3)Create a temporary mount point mkdir /mnt/vmtools-temp (4)Mount the iso image mount -o loop linux.iso /mnt/vmtools-temp (5)Copy VMware Tools from the mount cp /mnt/vmtools-temp/VMwareTools-5.5.2-29772.tar.gz /tmp/ (6)Extract VMware Tools to /tmp/ tar -C /tmp -zxvf /mnt/vmtools-temp/VMwareTools-5.5.2-29772.tar.gz (7)Tidy up umount /mnt/vmtools-temp rmdir /mnt/vmtools-temp rm linux.iso (8)Now run the installer /tmp/vmware-tools-distrib/vmware-install.pl (9)When asked Do you want to run vmware-config-tools.pl?, answer "Yes". c) If you have VMwareTools-5.5.2-29772.tar.gz on disk (1)Extract VMware Tools to /tmp/ tar -C /tmp -zxvf VMwareTools-5.5.2-29772.tar.gz (2)Now run the installer /tmp/vmware-tools-distrib/vmware-install.pl (3)When asked Do you want to run vmware-config-tools.pl?, answer "Yes".

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.