VMware Server 2.0.2-x On Ubuntu Server 10.04 With VMware Remote Console Plug-in
|
Submitted by letsharehowto (Contact Author) (Forums) on Sun, 2010-08-22 17:01. :: Ubuntu | VMware | Virtualization
VMware Server 2.0.2-x On Ubuntu Server 10.04 With VMware Remote Console Plug-inToday I will tell you how to set up a new Ubuntu 10.04 server which runs VMware server 2.0.2-x and the VMware Remote Console Plug-in. My box: CPU: Intel(R) Celeron(R) D CPU 3.06GHz, 1 core Firefox 3.6 can not run the VMware Remote Console. On the client, I use Chrome to build virtual machines, then I use the VMware Remote Console Plug-in to run them. We have four steps: Step one: Set up a new box running Ubuntu server.
Step one: Set up a new box running Ubuntu serverVery easy. If you don't know, look at: http://www.howtoforge.com/perfect-server-ubuntu-10.04-lucid-lynx-ispconfig-3. After the setup, reboot the box. Log in and activate the root account: sudo passwd root Type in the password for root, I choose: 111111 Log out then log in as root and later we do everything as root, too. Upgrade the box: apt-get update Install gcc: apt-get install -y gcc Configure a static IP address (I use 192.168.1.75 here): nano /etc/network/interfaces Delete everything and replace with: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.1.75 netmask 255.255.255.0 network 192.168.1.0 broadcast 192.168.1.255 gateway 192.168.1.1 Edit /etc/resolv.conf: nano /etc/resolv.conf Delete everything and replace with (make sure you use a valid nameserver; in this example I use 192.168.1.1, my router, which runs a nameserver as well): nameserver 192.168.1.1 Reboot the box: reboot
Step two: Register, download, patch, install VMwareLog on as root and create /root/vm: mkdir /root/vm To download VMware, you have to register at: https://www.vmware.com/tryvmware/?p=server20&lp=1. They will send you an email. Follow the instructions in the email, and download and save VMware-server-2.0.2-203138.i386.tar.gz in /root/vm and remember to write down the key for VMware Server for Linux (looks like: XXXXX-XXXXX-XXXXX-XXXXX). Untar the VMware file: tar -xzf VMware-server-2.0.2-203138.i386.tar.gz Before we install VMware, we have to patch VMware: mkdir /root/dev Download five files: wget http://nerdbynature.de/bits/2.6.32-22/00-vmware-2.6.32_functional.diff.txt Unzip the following file: gunzip 02-vmnet-include.diff.txt.gz Change the names of the five files: mv 00-vmware-2.6.32_functional.diff.txt 00-vmware-2.6.32_functional.diff Edit the file patch-vmware_2.6.3x.sh: nano patch-vmware_2.6.3x.sh Delete everything and replace with: #!/bin/sh # # (C) 2010 lists@nerdbynature.de # # 00-vmware-2.6.32_functional.diff # - based on vmware-server-modules-linux-2.6.32.patch # - see http://communities.vmware.com/message/1389232#1389232 # # 01-vmware-2.6.32_cosmetic.diff # - based on rbihlmeyer's comments in http://communities.vmware.com/thread/232842 # # 02-vmnet-include.diff # - stuff .h and .c files in separate directories, as the other # modules do it # # vmware-config.pl.diff # - based on http://communities.vmware.com/message/1398525#1398525 # DIR=/root/dev/ PATCHES="00-vmware-2.6.32_functional.diff 01-vmware-2.6.32_cosmetic.diff 02-vmnet-include.diff" # unset me! # DEBUG=echo if [ -z "$1" -o ! "`ls "$1"/*tar 2>/dev/null | wc -l`" = 4 ]; then echo "Usage: `basename $0` [vmware-modules-source directory]" exit 1 else SRC="$1" fi cd $SRC $DEBUG mkdir orig || exit 1 $DEBUG mv *tar orig/ # untar for t in orig/*.tar; do $DEBUG tar -xf $t done # patch for p in $PATCHES; do $DEBUG patch -p1 < "$DIR"/"$p" done # tar for d in *-only; do $DEBUG tar -cf `echo $d | sed 's/-only/.tar/'` $d done $DEBUG rm -rf *-only # vsock.ko needs symbols from vmci $DEBUG cd ../../../bin || exit 2 if [ -x vmware-config.pl -a -f $DIR/vmware-config.pl.diff ]; then $DEBUG patch -p0 < $DIR/vmware-config.pl.diff fi Save the file and quit. Patch: chmod u+x patch-vmware_2.6.3x.sh Install VMware: cd /root/vm/vmware-server-distrib You can press ENTER to accept all default values. Accept the license. Enter the VMware Server key that VMware gave to you. That's it. If the installation is successful, it ends like this: The installation of VMware VIX API 1.6.2 build-203138 for Linux completed Enjoy, --the VMware team Starting VMware services: The configuration of VMware Server 2.0.2 build-203138 for Linux for this Housekeeping... Reboot the box: reboot
|



Recent comments
13 hours 7 min ago
16 hours 51 min ago
17 hours 1 min ago
17 hours 7 min ago
18 hours 52 min ago
22 hours 50 min ago
1 day 10 hours ago
2 days 19 hours ago
2 days 23 hours ago
3 days 18 min ago