VMWare on Ubuntu

Quick post (more to come later on) on how to install/configure VMWare Server on Ubuntu

1) Install Ubuntu in “server” config
2) Install X-Windows on Ubuntu by using
sudo apt-get install ubuntu-desktop
3) install smbmount/mount to access windows shares
sudo apt-get install smbfs
NOTE : To map a windows share.. try the following
sudo mount -t smbfs -o username=WINDOWS_USERNAME,password=WINDOWS_PASSWORD //WINDOWS_SERVER_NAME/c$ /tmp/FOLDER_TO_MOUNT
4) Install make by
sudo apt-get install make
5) To install a smp capable kernel,
a.Search for smp kernel images by using
sudo apt-cache search smp
b. Install the appropriate smp kernel from the list. In my case, it was
sudo apt-get install linux-amd64-k8-smp
6) Install 3.4 version of GCC so that VMWare can compile the kernel modules
a. sudo apt-get install build-essential
b. Install the kernerl headers for your kernel. To do this, first get the Kernel version by
sudo uname -r
I got “2.6.12-10-amd64-k8-smp”
then get the kernel headers by
sudo apt-get install linux-headers-‘kernel version’, in my case, it would be
sudo apt-get install linux-headers-2.6.12-10-amd64-k8-smp
c. Install 3.4 version of GCC by
sudo apt-get install gcc-3.4
d. Install the right g++ version by
sudo apt-get install g++-3.4
7) Install xinetd
sudo apt-get install xinetd