Install VMWare VMserver 2.0 RC2 on CentOS5.2

Version 6

    Here are the steps I used to successfully install VMWare VMserver 2.0.0 build-110949 (RC2) for Linux on CentOS5.2.

    I wanted a minimal Linux server, with little overhead, to run VMServer  RC1 as efficiently as possible. These instructions were originally  written for CentOS5.1 and VMServer 2.0 Beta 2.0, which had over 2000  views, but have been updated. Hopefully it has been helpful to those who  have been evaluating this new version of VMServer. These instructions,  modified for RC1, have been tested on and are also valid for RC2.

    All of this was borrowed from various places on the Internet or discovered by my stumbling through the process.

    Last edited: 9-2-2008

    Installing CentOS

    Download an iso for your platform from www.centos.org and burn a DVD. I  picked the CentOS-5.2-x86_64-bin-DVD.iso since I am installing to an AMD  Athlon 64 processor.

    Install CentOS 5.2 (stripped down, no gui interface, no extra services) using DVD.

    1. Either accept the standard disk configuration or, if you have two  disk drives, configure the disk using RAID1 devices. Give 100Mb to  /boot; 2000 to swap partition; remaining to /.

    2. Configure IP address and Gateway and DNS details - or default to dhcp settings.

    3. Setup the root password.

    4. Choose the software packages to install. Uncheck the Desktop Gui  selection and mark the check for Server only. ( not Server-gui ) and the  check for Customize Now.

    5. In the Customize Now screen make sure only the following groups are checked

    a. Applications: check only Editors and Text based Internet.

    b. Development: check only Development Libraries and Development Tools.

    c. Base System: check only Administration Tools and Base and System Tools.

    d. Servers: Uncheck everything.

    e. Make sure only those things in 1, 2, and 3 are checked.

    6. The system will now install.

    7. Once the system reboots sign in as root and run "setup", the text  based graphical setup application. Use the "Firewall Configuration" tool  and disable the firewall and SElinux.

    Note: As mentioned in the comments by michalhainc step 7 it is a  requirement, not an option; you must turn off the firewall and SElinux.  The default firewall block required ports and the SElinux prevents  access to required resources for VMserver to work. You can build your  own firewall later, Firewall Builder from www.fwbuilder.org is a good  product, but until you figure out what ports are needed kill it. Maybe  VMware will make VMserver SElinux friendly later, but this version is  not.

    8. vim /etc/resolve.conf and add nameserver 192.168.0.1 (or whatever nameserver you are going to use for internet access)

    9. shutdown -r now; shut down and reboot now.

    10. yum install xinetd; install the xinetd package - used by VMServer

    11. yum update; update all packages from the repository

    12. shutdown -r now; shut down and reboot now.

     

     

     

     

     

     

     

     

     

     

     

     


    Installing Webmin

    Install the latest Webmin to manage the CentOS Linux box.

    1. Sign on as root.

    2. cd /var/tmp

    3. wget http://prdownloads.sourceforge.net/webadmin/webmin-1.430-1.noarch.rpm (or where ever the latest one is available)

    4. rpm -Uvh webmin-1.430-1.noarch.rpm

    Use a browser on another system on the same network and access the  Webmin service on the CentOS server. The browser will require the java  runtime environment. If ip address of the server is 192.168.0.1 the  command will be:

    [/] 192.168.0.1:10000

    (Use root and the root password to sign onto the Webmin service.)

    There are many things you can do to harden the box at this point, such  as enabling the Webmin SSL configuration, or generating a firewall  script with fwbulder, but we are only going to use Webmin to remove as  many unnecessary services as possible with the <System><Bootup  and Shutdown> screen. Within this screen check the following services  if they are scheduled to run on reboot; Bluetooth, cups, hidd,  ip6tables, iptables, netfs, pcscd. After marking with a check all of the  services you want to turn off and disable on reboot click the button  marked <Disable Now and On Boot>.

    Installing VMware Server (RC2)

    Download VMWare VMServer 2.0 RC1 for Linux .tar.gz (not the rpm file)  from the www.vmware.com web site; save the registration page with the  registration numbers to the same location as the installation file. I  chose the VMware-server-2.0.0-110949.x86_64.tar.gz distribution for the  AMD Athlon 64.

    Using the <Others><File Manager> function in Webmin <upload> the above two files to /var/tmp.

    Using the <Others><File Manager> screen click into the /etc  directory and highlight the "services" and click the <Edit>  button. Search for the following lines and delete them from the file.  <Save and Close>.

    ideafarm-chat 902/tcp # IDEAFARM-CHAT

    ideafarm-chat 902/udp # IDEAFARM-CHAT

    Open an ssh session to the same box using "putty" or some other ssh  application. Sign on as root or as a user and become root with "su"

    With the ssh session do the following:

    1. cd /var/tmp

    2. tar xvfz VMware-server-*.tar.gz

    3. cd vmware-server-distrib

    4. ./vmware-install.pl

    Follow the intructions, answer the questions, and enter the license.

     

     

    Note: I noticed that the ports for web access to the management  interface, which on previous installs of Beta1, Beta2 and RC1 defaulted  to 80 and 443, now default to 8222 and 8333.

     

     

     

     

     

     

     

     


    *
    Installing Vmware Infrastructure Client (VMware Server Version 2.0 RC2 101586)

    *

    The web ui with RC2 has improved, but you may wish to try the Vmware  Infrastructure Client 2.5 that is distributed with RC2. The client  installs on a windows box and can be downloaded from the above linux  install and is located here:  /usr/lib/vmware/hostd/docroot/client/VMware-viclient.exe

    Download the exe to your windows box using Webmin, or some other means, and install.

    I have found the infrastructure client to be a useful tool for observing  the host/client performance charts and events lists, but refrain from  using it to make serious changes or creating new vm clients. For those  things I use the web ui which is tuned specifically to the settings for  RC2.