Posts Tagged ‘VMWare Server 2.0’

Installing VMWare Server 2.0 on Ubuntu 8.10 Server

Download References:
Download free VMware Server 2.0 for linux at http://www.vmware.com.
Download free Ubuntu Server 8.10 64bit (and other versions) at http://www.ubuntu.com.

These directions assume you have a running Ubuntu 8.10 64bit system.  However, I will try to include specific notes where 32bit systems would use different commands.

Duplicating the steps I took:

1.) sudo apt-get install linux-headers-`uname -r`

2.) sudo apt-get install build-essentials

3.) sudo apt-get install xinetd

4.) scp, ftp, copy from cd or whatever method works best for you to copy the vmware server installation files to your ubuntu system.  In my case I have Ubuntu 8.10 64bit Server so I scp’d “VMware-server-2.0.0-122956.x86_64.tar.gz” and “VMware-vix-1.6.0-122956.x86_64.tar.gz” to ~/vmware directory for convenience.  32bit Ubuntu systems will have a different set of vix and server install files.

5.) Set your working directory to the place you copied the vmware installation files “cd ~/vmware”

6.) Extract the installation files “tar xvfz VMware-s*.tar.gz”

7.) Set your working directory to the directory created during the extraction process in step 6 “cd v*”

8.) Run the install script “sudo ./vmware-install.pl”

9.) Accepting all the defaults works for some ppl but not for me.  You will want to pay particular attention to where you install / store your virtual machine, the ports you run the management web interface and ESPECIALLY pay attention to the vmware administrator account.  I recommend you add your username as the administrator during the install.

10.)  Enter the 20 character key you recieved from VMware download.  If you don’t have your key handy you can also go to the VMware site and view your license by going thru the download process for VMware Server.

Note:  To access the VMware manager from any network connected machine that has a route to the VMware Host you would browse to https://”yourhostname”:8333 (i.e. https://10.1.1.107:8333 or for local access https://127.0.0.1:8333)

Note2: I recommend firewalling the server and disabling non-ssl communication with the the VMware Host.

No Comments »

VMWare Server 2.0 on Fedora 10

Project Primary Goal:
To install and use VMWare Server 2.0 on a Fedora 10 Desktop system.

Steps:

1.) I can’t believe this is actually a step (or maybe 2) but assuming you want your VMWare system to use a static IP you’re gonna have to make some changes.  No matter how you do it set a static ip address that will stay.  Network Manager is so full of ridiculous bugs I disabled it and I suggest you do the same (for example it sets the netmask to the default route). 

2.)  Disable SELinux – I tried installing VMWare server with this in permissive mode and enforce mode and both will, in the end, allow the install but you will probably get warnings and it will definitely not end up running correctly.  And should you choose to enable SELinux later you will not be able to authenticate to the web front end.

3.)  Make sure the firewall software (if you choose to use it) allows 8222, 8333, and 902.

4.) Install a c compiler and kernel-dev.  (”yum install kernel-devel”) – Of particular importance is to watch out for the wrong version of kernel-dev being installed.  For example for vmware to compile correctly you’ll want the i686 vs i586 version if you have an i686 kernel build.  Suprisingly, mine defaulted to i586 and I read many other people had the same problem.  Also, it seems if you have multiple versions installed the compile gets confused.  I just removed the i586, installed the i686 and continued on.

5.)  Download the rpm package from VMWare’s site and install it (http://www.vmware.com/download/server/).  You’ll need to register if you haven’t before and they’ll send you email with keys.  If you are already registered the keys are stored on the download site for your convenience.  I had registered for the Windows version a couple months back and when I logged in to download the Linux version the keys were printed at the top of the page.  Now the install doesn’t actually work but it seems to create all the directory structures and such.  I think you could leave this step out if you are in a great hurry but you need to download the install files regardless.

6.)  Configure VMWare using ./vmware-config.pl  – Since Fedora 10 isn’t officially supported you’ll be rebuilding everything.  I pretty much just accept all the defaults.  The exception is make sure you set an administrator and don’t leave the default of root.  Because, duh, you can’t log in as root by default on the fedora system (same as xp, ubuntu, vista, etc.).  Now if you made the mistake and accidently did not set an administrator then rerun the script or go thru the process of allowing your root account to log on (not my choice).

7.)  Reboot and ensure everything is working.  (https://127.0.0.1:8333).  You’ll probably want to create an exception in Firefox to allow the bad cert.  Alternatively you could create and / or use a cert from an existing trusted CA.  You should also test (http://127.0.0.1:8222) if you intend on not using ssl communications with the server.

Note:  You should be able to access the machine from a remote browser just as easily if you modified your firewall for remote access on port 8333 and / or 8222.

Here’s a basic diagram of the GWLab for this project (Click the image for a larger version):

Fedora 10 with VMWare Server 2.0

Fedora 10 with VMWare Server 2.0

No Comments »


SetPageWidth