2016年5月20日 星期五

Install VMware Tools on Ubuntu Server

VMware Tools is a group of utilities and drivers that enhance the performance of the virtual machine’s guest operating system when running on an ESXi host. The steps below walk you through installing VMware Tools on our Ubuntu Server 14.04.1 LTS virtual machine using the command line. Note that whenever you update the Linux kernel you will have to reinstall VMware Tools.
  1. Launch a Web browser and login to the vSphere Web Client.
  2. From the vCenter Home page click on “VMs and Templates.”
  3. Right-click the VM and navigate to “All vCenter Actions” > “Guest OS” > “Install VMware Tools.”
  4. When prompted click “Mount” to mount the VMware Tools installation disk image on the virtual CD/DVD drive of the Ubuntu Server virtual machine.
  5. Right-click the VM again and select “Open Console.”
  6. Login with the credentials used during the server installation process.
  7. Mount the VMware Tools CD image to /media/cdrom:
    $ sudo mount /dev/cdrom /media/cdrom
    mount: block device /dev/sr0 is write-protected, mounting read-only
  8. Extract the VMware Tools installer archive file to /tmp:
    $ tar xzvf /media/cdrom/VMwareTools-*.tar.gz -C /tmp/
  9. Install VMware Tools by running the command below. Note that the -d switch assumes that you want to accept the defaults. If you don’t use -d switch you can opt to choose the default or a custom setting for each question.
    $ cd /tmp/vmware-tools-distrib/
    $ sudo ./vmware-install.pl -d
    ...
    The configuration of VMware Tools 9.4.5 build-1598834 for Linux for this running kernel completed successfully.
    ...
  10. Reboot the virtual machine after the installation completes:
    $ sudo reboot

沒有留言:

張貼留言