Monday, August 23, 2010

VMware Server 2.0.2-x On Ubuntu Server 10.04 With VMware Remote Console Plug-in

Virtualization

Today 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
Memory: 2GB
CD-ROM

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 two: Register, download, patch, and install VMware.
Step three: Create virtual machines.
Step four: Control remote virtual machines with the VMware Remote Console Plug-in from a client.

 

Step one: Set up a new box running Ubuntu server

Very 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
apt-get upgrade -y

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 interfaceauto loiface lo inet loopback # The primary network interfaceauto eth0iface 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 VMware

Log on as root and create /root/vm:

mkdir /root/vm
cd /root/vm

To download VMware, you have to register at: https://www.vmware.com/tryvmware/?p

No comments:

Post a Comment