2,187
edits
(Added Packages) |
(→Ubuntu 10.04.1 LTS: Updated) |
||
Line 104: | Line 104: | ||
==== Ubuntu 10.04.1 LTS ==== | ==== Ubuntu 10.04.1 LTS ==== | ||
# Install the build library files... | VM Tools can be installed via two methods, neither of which is ideal... | ||
* Using the normal VM Tools ''CD'' - requires additional library install and sometimes mounting the CDROM doesn't work too well. | |||
* Using APT package manager - doesn't work quite as well as it could (upgrading VM Tools isn't supported), and support for this method is rumoured to be dropped in future releases | |||
'''VM Tools ''CD''''' | |||
# Install the build library files (not required for ESX v4.0 update 2 and later)... | |||
#* <code> apt-get install build-essential </code> | #* <code> apt-get install build-essential </code> | ||
# Select "Install VM Tools" from the VI Client | # Select "Install VM Tools" from the VI Client | ||
# Mount the VM Tools CD-ROM | # Mount the VM Tools CD-ROM | ||
#* <code> mount /dev/ | #* <code> mount /dev/cdrom /media/cdrom/ </code> | ||
# Copy to tmp directory | #** If <code>/media/cdrom/</code> doesn't exist, create with <code>mkdir /media/cdrom</cdrom> | ||
#* <code> cp /cdrom/VMwareTools-4.0.0-236512.tar.gz /tmp/ </code> | # Copy to tmp directory (version number below will vary) | ||
#* <code> cp /media/cdrom/VMwareTools-4.0.0-236512.tar.gz /tmp/ </code> | |||
# Unmount the CD-ROM, and move into tmp directory | # Unmount the CD-ROM, and move into tmp directory | ||
#* <code> umount /cdrom/ </code> | #* <code> umount /media/cdrom/ </code> | ||
#* <code> cd /tmp/ </code> | #* <code> cd /tmp/ </code> | ||
# Uncompress and then move into the <code> vmware-tools-distrib </code> directory | # Uncompress and then move into the <code> vmware-tools-distrib </code> directory | ||
#* <code> tar xzvf VMware*.gz </code> | #* <code> tar xzvf VMware*.gz </code> | ||
#* <code> cd vmware-tools-distrib </code> | #* <code> cd vmware-tools-distrib </code>/ | ||
# Run the install script, and accept defaults | # Run the install script, and accept defaults | ||
#* <code> ./vmware-install.pl </code> | #* <code> ./vmware-install.pl </code> | ||
# Restart | # Restart | ||
#* <code> shutdown -r now </code> | #* <code> shutdown -r now </code> | ||
'''APT Package Manager''' | |||
# Install VM Tools using apt package manager | |||
# Open VMware Packaging Public GPG Key at http://packages.vmware.com/tools/VMWARE-PACKAGING-GPG-KEY.pub | |||
# On the server open a new file called <code>VMWARE-PACKAGING-GPG-KEY.pub</code> with the <code>/tmp</code> directory | |||
# Copy and paste the contents of the webpage into the file and save | |||
# Import the key using the following command | |||
#* <code>apt-key add /tmp/VMWARE-PACKAGING-GPG-KEY.pub</code> | |||
#* You should get <code>OK</code> returned | |||
# If you need to add a proxy see http://communities.vmware.com/servlet/JiveServlet/download/1554533-39836/Vmware%20Tools%20Guide%20Linux%20osp_install_guide.pdf | |||
# Open a new vi in VI called <code>/etc/apt/sources.list.d/vmware-tools.list</code> | |||
# Add the following line | |||
#* <code> deb http://packages.vmware.com/tools/esx/<esx-version>/ubuntu hardy main restricted </code> where <esx-version> is the appropriate esx version found at http://packages.vmware.com/tools/esx/index.html | |||
# Update the repository cacahe | |||
#* <code> apt-get update </code> | |||
# Install VM Tools | |||
#* <code> apt-get install vmware-tools </code> | |||
=== Update the OS === | === Update the OS === |