How To Install VMware Server 2 On Ubuntu 10.10 (Kernel 2.6.35) - Page 2
On this page
Then go to the location where you saved the VMware Server .tar.gz file, e.g. /home/falko/Downloads (replace falko with your own username!):
cd /home/falko/Downloads
Take a look at the contents of the directory:
ls -l
falko@falko-virtual-machine:~/Downloads$ ls -l
total 463304
-rw-r--r-- 1 falko falko 474415801 2010-12-17 13:56 VMware-server-2.0.2-203138.x86_64.tar.gz
falko@falko-virtual-machine:~/Downloads$
Because the original VMware installer doesn't work for kernel 2.6.35, we have to download a script from http://radu.cotescu.com/how-to-install-vmware-server-ubuntu-fedora-opensuse/ that helps us to install VMware Server 2:
wget --no-check-certificate http://codebin.cotescu.com/vmware/vmware-server-2.0.x-kernel-2.6.3x-install.sh
Take a look at the directory again:
ls -l
You should now see a vmware-server-2.0.x-kernel-2.6.3x-install.sh file (which in fact is no shell script, but a .tar.gz file - despite the .sh extension):
falko@falko-virtual-machine:~/Downloads$ ls -l
total 463316
-rw-r--r-- 1 falko falko 474415801 2010-12-17 13:56 VMware-server-2.0.2-203138.x86_64.tar.gz
-rw-r--r-- 1 falko falko 8696 2010-12-17 13:48 vmware-server-2.0.x-kernel-2.6.3x-install.sh
falko@falko-virtual-machine:~/Downloads$
Unpack that file:
tar xvfz vmware-server-2.0.x-kernel-2.6.3x-install.sh
This should create a raducotescu-vmware-server-linux-* directory:
ls -l
falko@falko-virtual-machine:~/Downloads$ ls -l
total 463320
drwxr-xr-x 2 falko falko 4096 2010-11-14 22:24 raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66
-rw-r--r-- 1 falko falko 474415801 2010-12-17 13:56 VMware-server-2.0.2-203138.x86_64.tar.gz
-rw-r--r-- 1 falko falko 8696 2010-12-17 13:48 vmware-server-2.0.x-kernel-2.6.3x-install.sh
falko@falko-virtual-machine:~/Downloads$
Move the VMware-server-* file to that directory and change to that directory:
mv VMware-server-2.0.2-203138.x86_64.tar.gz raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66/
cd raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66
Take a look at its contents:
ls -l
falko@falko-virtual-machine:~/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66$ ls -l
total 463348
-rw-r--r-- 1 falko falko 1321 2010-11-14 22:24 LICENSE
-rw-r--r-- 1 falko falko 1980 2010-11-14 22:24 README
-rwxr-xr-x 1 falko falko 702 2010-11-14 22:24 start-VMware-console.sh
-rw-r--r-- 1 falko falko 1111 2010-11-14 22:24 vmware-config.patch
-rw-r--r-- 1 falko falko 13618 2010-11-14 22:24 vmware-server-2.0.2-203138-update.patch
-rw-r--r-- 1 falko falko 474415801 2010-12-17 13:56 VMware-server-2.0.2-203138.x86_64.tar.gz
-rwxr-xr-x 1 falko falko 11095 2010-11-14 22:24 vmware-server-2.0.x-kernel-2.6.3x-install.sh
falko@falko-virtual-machine:~/Downloads/raducotescu-vmware-server-linux-2.6.3x-kernel-71f8b66$
The vmware-server-2.0.x-kernel-2.6.3x-install.sh script is the script that we need to execute (with root permissions) to install VMware Server 2 - it scans the current directory for the VMware-server-*.tar.gz file:
sudo ./vmware-server-2.0.x-kernel-2.6.3x-install.sh
The installer will ask you a lot of questions. You can always accept the default values simply by hitting <ENTER>, except for the following two questions:
The current administrative user for VMware Server is ''. Would you like to
specify a different administrator? [no] <-- yes
Please specify the user whom you wish to be the VMware Server administrator
<-- falko (use the user name of the account that you used to log into the desktop)
When the installer asks you
In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]
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.
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:
Fill in your serial number for VMware Server.
After the successful installation, you can delete the VMware Server download file and the installation directory:
cd /home/falko/Downloads
rm -fr raducotescu-vmware-server-linux-2.6.3x-kernel-*
rm -f vmware-server-2.0.x-kernel-2.6.3x-install.sh
VMware Server 2 does not have a desktop application for managing virtual machines - this is now done through a browser (e.g. Firefox). You can access the management interface over HTTPS (https://<IP ADDRESS>:8333) or HTTP (http://<IP ADDRESS>:8222); the management interface can be accessed locally and also remotely. If you want to access it from the same machine, type https://127.0.0.1:8333 or http://127.0.0.1:8222 into the browser's address bar.
The https interface (https://127.0.0.1:8333) did not load for me, so I used http://127.0.0.1:8222 instead.
You will see the VMware Server login form. Type in the VMware Server administrator username (the one you specified during the VMware installation) and the password of that user (it is the same that you use to log into the desktop):
This is how the VMware Server web interface looks. The structure is similar to the old VMware Server 1 desktop application, so the usage of the web interface is pretty straightforward.
3 Links
- Ubuntu: http://www.ubuntu.com/
- VMware Server: http://www.vmware.com/products/server/
- Script to install VMware Server 2: http://radu.cotescu.com/how-to-install-vmware-server-ubuntu-fedora-opensuse/