How to install and uninstall VMware Server 2.0.2 on CentOS 5 / RHEL 5 ?

How to install VMware Server 2.0.2 on CentOS 5 / RHEL 5 ?


VMware Server 2.0.2 is a open source server virtualization tool for Windows as well as Linux from VMware. Remember if you are installing VMware Server in VMware Workstation or on VMware ESX then dont install VMware Tools on your VM on which you are installing these product.

1. Getting VMware Server 2.0.2 : Go to http://downloads.vmware.com/d/info/datacenter_downloads/vmware_server/2_0 . Make an free account in VMware, download the package "VMware-server-2.0.2-203138.i386.tar"& get free installation keys.



2. Now extract the "VMware-server-2.0.2-203138.i386.tar" & you will see "vmware-server-distrib" folder in the same location.



3. Go to "vmware-server-distrib" folder by

# cd vmware-server-distrib



4. Next, run "./vmware-install.pl" command in terminal to execute "vmware-install.pl" script.




& Press <ENTER> to go with default options ...

-------------------------------------------OUTPUT--------------------------------------------------------


[root@km-vmqa-dhcp187 vmware-server-distrib]# ./vmware-install.pl

Creating a new VMware Server installer database using the tar4 format.

Installing VMware Server.

In which directory do you want to install the binary files?
[/usr/bin]    <ENTER>

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]   <ENTER>

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]   <ENTER>

In which directory do you want to install the daemon files?
[/usr/sbin]   <ENTER>

In which directory do you want to install the library files?
[/usr/lib/vmware]   <ENTER>

The path "/usr/lib/vmware" does not exist currently. This program is going to
create it, including needed parent directories. Is this what you want?
[yes]   <ENTER>

In which directory do you want to install the manual files?
[/usr/share/man]   <ENTER>

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]   <ENTER>

The path "/usr/share/doc/vmware" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]   <ENTER>

The installation of VMware Server 2.0.2 build-203138 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall.pl".

Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes]   <ENTER>

Making sure services for VMware Server are stopped.

Stopping VMware autostart virtual machines:
   Virtual machines                                        [FAILED]
Stopping VMware management services:
   VMware Virtual Infrastructure Web Access
   VMware Server Host Agent                                [FAILED]
Stopping VMware services:
   VMware Authentication Daemon                            [  OK  ]
   Virtual machine monitor                                 [  OK  ]

You must read and accept the End User License Agreement to continue.
Press enter to display it.   <ENTER>
.
.
.
.
.

Do you accept? (yes/no) yes   <Type yes & Enter>

Thank you.

The bld-2.6.18-8.el5-i686PAE-RHEL5 - vmmon module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686PAE-RHEL5 - vmci module loads perfectly into the
running kernel.

The bld-2.6.18-8.el5-i686PAE-RHEL5 - vsock module loads perfectly into the
running kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes]   <ENTER>

Configuring a bridged network for vmnet0.

Please specify a name for this network.
[Bridged]   <ENTER>

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]   <ENTER>

Configuring a NAT network for vmnet8.

Please specify a name for this network. [NAT]

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]   <ENTER>

Probing for an unused private subnet (this can take some time)...

The subnet 172.16.171.0/255.255.255.0 appears to be unused.

This system appears to have a DHCP server configured for normal use.  Beware
that you should teach it how not to interfere with VMware Server's DHCP server.
There are two ways to do this:

1) Modify the file /etc/dhcpd.conf to add something like:

subnet 172.16.171.0 netmask 255.255.255.0 {
# Note: No range is given, vmnet-dhcpd will deal with this subnet.
}

2) Start your DHCP server with an explicit list of network interfaces to deal
with (leaving out vmnet8). e.g.:

dhcpd eth0

Consult the dhcpd(8) and dhcpd.conf(5) manual pages for details.

Hit enter to continue.    <ENTER>

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 172.16.171.0.

Do you wish to configure another NAT network? (yes/no) [no]   <ENTER>

Do you want to be able to use host-only networking in your virtual machines?
[yes]    <ENTER>

Configuring a host-only network for vmnet1.

Please specify a name for this network.
[HostOnly]    <ENTER>

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]    <ENTER>

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.126.0/255.255.255.0 appears to be unused.

This system appears to have a DHCP server configured for normal use.  Beware
that you should teach it how not to interfere with VMware Server's DHCP server.
There are two ways to do this:

1) Modify the file /etc/dhcpd.conf to add something like:

subnet 192.168.126.0 netmask 255.255.255.0 {
# Note: No range is given, vmnet-dhcpd will deal with this subnet.
}

2) Start your DHCP server with an explicit list of network interfaces to deal
with (leaving out vmnet1). e.g.:

dhcpd eth0

Consult the dhcpd(8) and dhcpd.conf(5) manual pages for details.

Hit enter to continue.    <ENTER>

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 192.168.126.0.

Do you wish to configure another host-only network? (yes/no) [no]   <ENTER>

The bld-2.6.18-8.el5-i686PAE-RHEL5 - vmnet module loads perfectly into the
running kernel.

Please specify a port for remote connections to use [902]    <ENTER>

Please specify a port for standard http connections to use [8222]    <ENTER>

Please specify a port for secure http (https) connections to use [8333]    <ENTER>

The current administrative user for VMware Server  is ''.  Would you like to
specify a different administrator? [no]    <ENTER>

Using root as the VMware Server administrator.

In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]     <ENTER>

The path "/var/lib/vmware/Virtual Machines" does not exist currently. This
program is going to create it, including needed parent directories. Is this
what you want? [yes]     <ENTER>

Please enter your 20-character serial number.

Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:  A01AJ-PY08R-09NC6-4832R   <ENTER>

Creating a new VMware VIX API installer database using the tar4 format.

Installing VMware VIX API.

In which directory do you want to install the VMware VIX API binary files?
[/usr/bin]     <ENTER>

In which directory do you want to install the VMware VIX API library files?
[/usr/lib/vmware-vix/lib]     <ENTER>

The path "/usr/lib/vmware-vix/lib" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]     <ENTER>

In which directory do you want to install the VMware VIX API document pages?
[/usr/share/doc/vmware-vix]     <ENTER>

The path "/usr/share/doc/vmware-vix" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]    <ENTER>

The installation of VMware VIX API 1.6.2 build-203138 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-vix.pl".

Enjoy,

--the VMware team

Starting VMware services:
   Virtual machine monitor                                 [  OK  ]
   Virtual machine communication interface                 [  OK  ]
   VM communication interface socket family:               [  OK  ]
   Virtual ethernet                                        [  OK  ]
   Bridged networking on /dev/vmnet0                       [  OK  ]
   Host-only networking on /dev/vmnet1 (background)        [  OK  ]
   DHCP server on /dev/vmnet1                              [  OK  ]
   Host-only networking on /dev/vmnet8 (background)        [  OK  ]
   DHCP server on /dev/vmnet8                              [  OK  ]
   NAT service on /dev/vmnet8                              [  OK  ]
   VMware Server Authentication Daemon (background)        [  OK  ]
   Shared Memory Available                                 [  OK  ]
Starting VMware management services:
   VMware Server Host Agent (background)                   [  OK  ]
   VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
   Virtual machines                                        [  OK  ]

The configuration of VMware Server 2.0.2 build-203138 for Linux for this
running kernel completed successfully.

[root@km-vmqa-dhcp187 vmware-server-distrib]#



Installation Done :)

Reboot & start working on VMware Server.

And if you want to uninstall it, then

#vmware-uninstall.pl


VMware Server Uninstalled !!!

Comments

Popular posts from this blog

Recover or restore initramfs file in RHEL or CentOS 7

Space reclamation / UNMAP on RHEL or CentOS 7

How to recover /boot partition on RHEL or CentOS 7?