Hem > Linux > Installera VM-ware Tools i Ubuntu Server

Installera VM-ware Tools i Ubuntu Server

Installing VMware Tools in Ubuntu Server 9.10

1. Install software needed by VMware Tools

Install packages to build the kernel modules

sudo apt-get install autoconf automake binutils make cpp gcc linux-headers-$(uname -r)

2. Find out where the kernel headers are (you may need this later)

ls -d /usr/src/linux-headers-$(uname -r)*/include

i.e. /usr/src/linux-headers-2.6.31-14-generic-pae/include

i.e. /lib/modules/2.6.31-14-generic-pae/build/include

3. Get the kernel source

sudo apt-get build-dep linux-image-$(uname -r)

sudo apt-get source linux-image-$(uname -r)

2. Prepare and install VMware Tools

1. From VMware Workstation: go to VM> Install VMware Tools

2. From the VM: mount the virtual cd drive

sudo mount /dev/cdrom /mnt/

3. Extract VMware Tools to /tmp/

tar -C /tmp -zxvf /mnt/VMwareTools-5.5.3-34685.tar.gz

4. Unmount the virtual cd drive

sudo umount /mnt/

5. Now run the installer

cd /tmp/vmware-tools-distrib

sudo ./vmware-install.pl

6. When asked Do you want to run vmware-config-tools.pl?, answer ”Yes”.

3. Run VMware Tools from X

1. Run /usr/bin/vmware-toolbox

Ref: http://www.thoughtpolice.co.uk/vmware/howto/ubuntu-server-6.10-edgy-eft-vmware-tools-install.html

Ref: https://help.ubuntu.com/community/Kernel/Compile

Categories: Linux Taggar:
  1. Inga kommentarer än.
  1. Inga trackbacks än.