Installing VMware Server on RHEL 4

From MyWiki

Jump to: navigation, search
  • Get VMware Server, currently version 1.04. Download 3 packages:
 VMware Server for Linux (RPM version)
 Web-based Management Interface
 VMware Server Console: Linux  or Windows
  • You will need a serial number to complete the installation, so register at:
 http://register.vmware.com/content/registration.html
  • Make sure you have the kernel development libraries installed:
 [root@server  ~]# rpm -qa | grep kernel
 kernel-smp-2.6.9-55.0.12.EL
 kernel-2.6.9-67.EL
 kernel-2.6.9-55.0.12.EL
 kernel-smp-2.6.9-67.EL
 kernel-smp-devel-2.6.9-55.0.12.EL
 kernel-devel-2.6.9-55.0.12.EL
 [root@sels-server1 ~]# uname -r
 2.6.9-67.ELsmp
  • If you don't have kernel-smp-devel for the current kernel version, use up2date to install it:
 up2date -uf kernel-smp-devel
  • You will also need xinetd and gcc-c++:
 up2date -u xinetd gcc-c++
  • Install the main VMware Server package using rpm while in the download directory:
 rpm -iv VMware-server-1.0.4-56528.i386.rpm
  • Or if doing a vmware version upgrade:
 rpm -Uv VMware-server-1.0.4-56528.i386.rpm
  • Once VMware installs, configure it. Go with the default values for each question.
 /usr/bin/vmware-config.pl
  • Following successful configuration, multiple VMware daemons should start up.
  • Make sure iptables has a line that will open port 902 (or whatever port you have chosen.) The '-s 192.168.0.0/16' restricts the IPs that are allowed to connect using the console.
 -A RH-Firewall-1-INPUT  -s 192.168.0.0/16 -m state --state NEW -m tcp -p tcp --dport 902 -j ACCEPT
 service iptables restart

Installing the Web-based Management Interface

  • Unpack the vmware-mui and run the installer:
 tar xzf VMware-mui-1.0.4-56528.tar.gz
 cd vmware-mui-distrib
 ./vmware-install.pl
  • Use the defaults for all of the questions.
  • Start the apache httpd server; it should automatically restart after the next reboot.
 service httpd.vmware start
  • Open the port 8333 in iptables, again restricting access by source IP:
 -A RH-Firewall-1-INPUT  -s 192.168.0.0/16 -m state --state NEW -m tcp -p tcp --dport 8333 -j ACCEPT
 service iptables restart
  • Connect to the vmware web-based console from a browser using this sort of URL:
 https://server.ncsa.uiuc.edu:8333/vmware/en/
  • You will need to login as root to gain access. The web-based console has limited functionality. Install the Vmware Serves Console (part of the third download above) to have more fine-grained control over your VMs.
Personal tools