Tag Archives: VMware Server 2.0.2

Installing VMware Server 2.0.2 on the Base

13 Nov

Now, a couple of posts back, I have downloaded the VMware Server 2.0.2 as “VMware-server-2.0.2-203138.i386.gz” on to the Base in the directory “/root/installs/vmwareserver2/” and unwrapped it to the directory “/root/installs/vmwareserver2/1/vmware-server-distrib/“.  I have the manual.

At this time, like in the previous posts, I run everything as the “root” user.

Using Webmin “Disk and Network Filesystems“, I’ve mounted my second hard drive on “/hdd2“.

I run the command “apt-get upgrade“.

I run the command “apt-get  install make gcc linux-kernel-headers“.

Do NOT install the “openjdk-6-jdk “.

I run the command “apt-get install linux-headers-`uname -r` build-essential bzip2 gcc-4.3“.

I also run the command “apt-get install build-essential xinetd linux-headers-$(uname -r)“.   I got this from an article to install VMware Server 2 on Ubuntu.

I run the command “/root/installs/vmwareserver2/1/vmware-server-distrib/./vmware-install.pl –default“, ensuring that I do not run the “vmware-configure.pl” script from the installation routine!

I follow http://how-to.linuxcareer.com/installation-of-vmware-server-202-on-debian-squeeze-i686 and do the following:

Run the following commands to download the patches to the VMware Configuration Scripts and Source:

cd; wget http://linuxconfig.org/images/files/2.6.3x-vmware-patch.tar.bz2; tar xjf 2.6.3x-vmware-patch.tar.bz2;

Run the following commands to patch the VMware Configuration Scripts and Source:

cd /usr/bin/;
patch -p3 < ~/2.6.3x-vmware-patch/config.patch;

cd /usr/lib/vmware/modules/source;
for f in *.tar ; do tar pxf $f ; done;
patch -p4 < ~/2.6.3x-vmware-patch/203138-update.patch;

for f in vmci vmmon vmnet vsock ; do tar pcf $f.tar $f-only ; done;
rm -fr *-only; 

Run the following commands to set the default GCC compilter to GCC 4.3 instead of GCC 4.4:

(ls -l `which gcc`;ln -fs /usr/bin/gcc-4.3 /usr/bin/gcc;ls -l `which gcc`;)

Invoke the VMware Configuration Script by running the following command:

vmware-config.pl

# Accept the licence agreement to use the product or deny it and quit this complete installation.

“None of the pre-built vmmon modules for VMware Server is suitable…” yes

“What is the location of the directory of C header files…” /lib/modules/2.6.32-5-686/build/include

“None of the pre-built vmci modules for VMware Server is suitable…” yes

“None of the pre-built vsock modules for VMware Server is suitable” yes

“Do you want networking for your virtual machines” yes

“Please specify a name for this network” BridgedWifi

“Your computer has multiple ethernet network interfaces available” wlan0

Since I am using my Wifi, I am using wlan0, otherwise, I would just accept the default eth0.

“Do you wish to configure another bridged network” yes

“Please specify a name for this network” BridgedWired

“Your computer has multiple ethernet network interfaces available” eth0

“Do you wish to configure another bridged network” no

“Do you want to be able to use NAT networking in your virtual machines” yes

“Please specify a name for this network” yes

“Do you want this program to probe for an unused private subnet” yes

“Do you wish to configure another NAT network” no

“Do you want to be able to use host-only networking in your virtual machines” yes

“Please specify a name for this network” HostOnly

“Do you want this program to probe for an unused private subnet” yes

“Do you wish to configure another host-only network” no

“None of the pre-built vmnet modules for VMware Server is suitable” yes

“Please specify a port for remote connections to use” 902

“Please specify a port for standard http connections to use” 8222

“Please specify a port for secure http (https) connections to use” 8333

“The current administrative user for VMware Server  is ”” yes

“Please specify the user whom you wish to be the VMware Server administrator” root

“In which directory do you want to keep your virtual machine files” /var/lib/vmware/VirtualMachines

The path “/var/lib/vmware/VirtualMachines” does not exist currently” yes

“Please enter your 20-character serial number” Your 20 character serial number

“In which directory do you want to install the VMware VIX API binary files” /usr/bin

“In which directory do you want to install the VMware VIX API library files” /usr/lib/vmware-vix/lib

“The path “/usr/lib/vmware-vix/lib” does not exist currently” yes

“In which directory do you want to install the VMware VIX API document pages” /usr/share/doc/vmware-vix

“The path “/usr/share/doc/vmware-vix” does not exist currently” yes

Now, I reboot and once the reboot is complete, I am able to access the Base.

At this time, I have logged into my router, and using the Base’s Wi-fi NIC’s MAC Address, I have set the IP address to 192.168.0.100, so when the Base uses DHCP to get an IP address, it will always get 192.168.0.100.  I have not touched the Base’s network settings.  I have also set the Base’s Ethernet IP Address to 192.168.0.101 using the Ethernet’s MAC Address in my router.

Now, I’ll login to the VMware Server 2.0.2 web app using the URL http://192.168.0.100:8222/.

Failed!  The web app shows nothing in Chrome, Safari, Firefox, and IE9!  After searching Google, it appears this problem is quite common…  Oh well :(…  I will refer to http://www.vmware.com/products/beta/ws/vmrunCommand.pdf to use the vmrun command that is accessible from the shell to run VMs and use alternative means to create VMs.

I may have to use EasyVMX to create VMs, download them, and manually add them to the inventory.

OK… before jumping into destroying the whole environment, I have raised a question on the Turnkey LAMP forum – http://www.turnkeylinux.org/forum/support/20121113/installing-vmware-server-202-turnkey-lamp-unable-run-web-access.

I edited the script, “/etc/init.d/vmware” to change 64m to 128m for the webAccess Tomcat start-up.

Also, an interesting thing – the VMware Server 2.0.2 Web Access UI works using Microsoft Internet Explorer 6!

From here on, I’ll need to use MSIE6 to access the UI to create the VMs and ensure they auto-start and auto-stop.

I won’t be doing this in future.  I’ll be looking at other solutions that are more current.  Needing a VM on my Macbook Pro to run Win2K or WinXP with MSIE6 is nuts, but I’m more interested in running the virtual hosts that automatically start up and shutdown when required, than the WUI.

Anyway, on to building my first VM another day 😉

%d bloggers like this: