How To Install VMware Server 1.0.x On A Kubuntu 10.04 Desktop - Page 2
Next do this:
Before we finish the VMware Server installation, we must build a new kernel with the init_mm feature enabled. Become root...
... and install the kernel source:
apt-get install linux-source-2.6.32
Next we install a few packages that we need to build the kernel:
apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge linux libncurses5-dev kernel-package
If you notice that a new kernel gets installed during this command, please reboot the system:
Now become root again:
Next do this:
... and add the line
right at the end of the file, behind
DEFINE_PER_CPU_SHARED_ALIGNED(struct tss_struct, init_tss) = INIT_TSS;:
Then copy the kernel configuration of the current kernel into the kernel source directory...
cp /boot/config-`uname -r` .config
... and run:
In the kernel configuration menu, go to Load an Alternate Configuration File...
... fill in .config and select Ok:
Next select Exit in the main kernel configuration menu...
... and then Yes when you're asked: Do you wish to save your new kernel configuration?
to build the new kernel. This can take a lot of time so be patient.
Afterwards you can find a linux-image and a linux-headers .deb package in the /usr/src/ directory:
Install both packages as follows...
dpkg -i linux-image-126.96.36.199+drm33.2-custom_188.8.131.52+drm33.2-custom-10.00.Custom_amd64.deb linux-headers-184.108.40.206+drm33.2-custom_220.127.116.11+drm33.2-custom-10.00.Custom_amd64.deb
Check at this time if the initrd image of your freshly compiled kernel is present in the /boot directory, running:
And if not, then run:
sudo mkinitramfs -k -o /tmp/initramfs-18.104.22.168-custom 22.214.171.124+drm33.2-custom
sudo update-initramfs -c -k 126.96.36.199+drm33.2-custom
Check again if your /boot directory is correctly formed ... and then reboot the system:
... as a normal user, and you should see your new kernel:
Now we can continue with the VMware Server installation:
Answer the following question with yes:
VMware for the first time after update, you need to configure it
Afterwards you can accept the default values simply by hitting <ENTER>.
When the installer asks you
In which directory
do you want to keep your virtual machine
you can either accept the default value or specify a location that has enough free space to store your virtual machines.
At the end of the installation, you will be asked to enter a serial number:
Please enter your
20-character serial number.
Fill in your serial number for VMware Server.
After the successful installation, you can delete the VMware Server download file and the installation directory:
You will now find VMware Server under Applications > Lost Objects > VMware Server Console:
When you start it, select Local host:
Afterwards, you can create virtual machines (or import your virtual Windows machine that you created with VMware Converter):
Note: May be necessary, sometimes, run it with "sudo" rights. To do so at "application launch", do:
and add to the command line the gksudo command:
Then save and close the kmenuedit window.
(For installing gksudo if you don't have it, run:
sudo apt-get install gksu
From the next lauch on, before VMware starts, the system will ask for your password for "sudo" privileges.