Difference between revisions of "Installation (Ubuntu)"

Jump to navigation Jump to search
3,503 bytes removed ,  21:25, 22 June 2013
Moved VM Tools install to VM Tools_Install_(Ubuntu)
(→‎Change IP Address: Updated for v12)
(Moved VM Tools install to VM Tools_Install_(Ubuntu))
Line 168: Line 168:
#* <code> apt-get upgrade </code>
#* <code> apt-get upgrade </code>
#* If updates are being held back (eg linux image), then use <code> aptitude safe-upgrade</code>
#* If updates are being held back (eg linux image), then use <code> aptitude safe-upgrade</code>
 
# If running in VMware VM, [[VM Tools_Install_(Ubuntu)|install VM Tools]]
== Install VM Tools ==
The pre-built modules that come with the VMTools installer aren't compatible, therefore the script needs to be able to compile them, however the required library files aren't available by default, so the procedure is a little laboured.
 
=== Ubuntu 8.04 LTS ===
# Install the build library files...
#* <code> apt-get install build-essential </code>
#* <code> apt-get install linux-headers-2.6.24-26-server </code>
#** Use <code> uname -r </code> to get the right headers version number
# Select "Install VM Tools" from the VI Client
# Mount the VM Tools CD-ROM
#* <code> mount /media/cdrom0/ </code>
# Copy to home directory
#* <code> cp /media/cdrom/VMwareTools-4.0.0-219382.tar.gz /home/user/ </code>
# Uncompress and then move into the <code> vmware-tools-distrib </code> directory
#* <code> tar xf VMwareTools-4.0.0-219382.tar.gz </code>
#* <code> cd vmware-tools-distrib </code>
# Run the install script
#* <code> ./vmware-install.pl  </code>
# Restart
#* <code> shutdown -r now </code>
 
=== Ubuntu 10.04 LTS ===
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...
#* <code> apt-get install build-essential </code>
# Select "Install VM Tools" from the VI Client
# Mount the VM Tools CD-ROM
#* <code> mount /dev/cdrom /media/cdrom/ </code>
#* If unable to mount, see [[Troubleshooting_(Ubuntu)#Unable_to_Mount_CD-ROM|Unable to Mount CD-ROM]], ''mounting read-only'' is expected
# 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
#* <code> umount /media/cdrom/ </code>
#* <code> cd /tmp/ </code>
# Uncompress and then move into the <code> vmware-tools-distrib </code> directory
#* <code> tar xzvf VMware*.gz </code>
#* <code> cd vmware-tools-distrib </code>/
# Run the install script, and accept defaults
#* <code> ./vmware-install.pl  </code>
# Restart (not actually required, but I tend to on a new install to be sure that VMtools start properly following a bounce)
#* <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 lucid main restricted </code> where <esx-version> is the appropriate esx version found at http://packages.vmware.com/tools/esx/index.html
# Update the repository cache
#* <code> apt-get update </code>
# Install VM Tools
#* <code> apt-get install vmware-tools </code>


== NTP ==
== NTP ==

Navigation menu