Install VMware Server 2 on CentOS 6.3 x64

Source: Internet
Author: User
Tags vmware server

First, I want to say that it is really troublesome to install vmware in linux.

Finally, let's see how I can fix it ..
 
1. Go to the official website https://my.vmware.com/group/vmware/evalcenter? P = server20 download the installation package of vmware server 2, which must be registered before downloading.
 
2. modify the vmware kernel installation. Because vmware server 2 is compatible with the Linux kernel 2.6.18 by default, kernel Versions later than 2.6.32 cannot be compiled and installed successfully, it takes N long time to search for information on the Internet here .... finally, I found (# the command to be entered is later)
 
# Tar xzf VMware-server-2.0.2-203138.x86_64.tar.gz
Download patch (Patch provided by: Ramon de Carvalho Valle ):
 

# Wget http://linuxconfig.org/images/files/vmw... tch.tar.gz
Decompress patch:
 
# Tar xzf vmware-Ubuntu-10.04.patch.tar.gz
First, we apply a patch to all modules:
 
# Cd vmware-server-distrib/lib/modules/source/
 
# For f in *. tar; do tar pxf $ f; done
# Cd ~ /Vmware-server-distrib/
# Patch-p1 <~ Vmware-server2.patch
Patching file lib/modules/source/vmci-only/include/pgtbl. h
Patching file lib/modules/source/vmnet-only/vnetUserListener. c
Patching file lib/modules/source/vmci-only/Makefile
Patching file lib/modules/source/vmmon-only/common/vmx86.c
Patching file lib/modules/source/vmmon-only/include/compat_cred.h
Patching file lib/modules/source/vmmon-only/include/x86svm. h
Patching file lib/modules/source/vmmon-only/linux/driver. c
Patching file lib/modules/source/vmmon-only/linux/hostif. c
Patching file lib/modules/source/vmmon-only/Makefile
Patching file lib/modules/source/vmnet-only/Makefile
Patching file lib/modules/source/vmnet-only/netif. c
Patching file lib/modules/source/vsock-only/Makefile
Gzip all modules:
 
# Cd ~ /Vmware-server-distrib/lib/modules/source/
# For f in vmci vmmon vmnet vsock; do tar pcf f.tar $ f-only; done
# Rm-fr *-only
Apply patches to vmware-config.pl:
 
# Cd
# Patch vmware-server-distrib/bin/vmware-config.pl vmware-config.patch
Patching file vmware-server-distrib/bin/vmware-config.pl
3. Step 3: Install VMware-server
At this stage everything is ready for VMware-server installation. When you will be during the vmware-server installation asked:
 
"Wocould you like to specify a different administrator? "
 
Answer YES and enter your username. Otherwise root will by and administrator of you VMware-server installation.
 
# Cd ~ /Vmware-server-distrib/
#./Vmware-install.pl
 
 
 
Configure VMware after installation
 
Run '/usr/bin/vmware-config.pl
 
Making sure services for VMware Server are stopped.
 
Stopping VMware autostart virtual machines:
 
Virtual machines [failure]
 
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.
 
Read License Agreement
 
Do you accept? (Yes/no) y
 
Do you accept
 
The bld-2.6.18-8.el5-i686smp-RHEL5-vmmon module loads perfectly into
 
Running kernel.
 
The bld-2.6.18-8.el5-i686smp-RHEL5-vmci module loads perfectly into
 
Running kernel.
 
The bld-2.6.18-8.el5-i686smp-RHEL5-vsock module loads perfectly into
 
Running kernel.
 
Do you want networking for your virtual machines? (Yes/no/help) [yes]
 
Press enter. The default value is yes.
 
Refreshing ing a bridged network for vmnet0.
 
Please specify a name for this network.
 
[Bridged]
 
If you select a network interface name, press 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]
 
When vmnet0 is configured, enter [yes] directly, which indicates the default value.
 
Ing a NAT network for vmnet8.
 
Please specify a name for this network. [NAT]
 
Configure vmnet8 and press ENTER
 
Do you want this program to probe for an unused private subnet? (Yes/no/help) [yes]
 
Detects DHCP subnets and automatically detects them. If yes is selected randomly, press Enter.
 
Probing for an unused private subnet (this can take some time )...
 
The subnet 192.168.92.0/255.255.255.0 appears to be unused.
 
The following NAT networks have been defined:
 
. Vmnet8 is a NAT network on private subnet 192.168.92.0.
 
Do you wish to configure another NAT network? (Yes/no) [no]
 
The default value is "no". Press enter and select "no" if you see another.
 
Do you want to be able to use host-only networking in your virtual machines? [Yes]
 
Configure host-only network environment yes
 
Refreshing ing a host-only network for vmnet1.
 
Please specify a name for this network.
 
[HostOnly]
 
Press ENTER
 
Do you want this program to probe for an unused private subnet? (Yes/no/help) [yes]
 
Press ENTER
 
Probing for an unused private subnet (this can take some time )...
 
The subnet 192.168.185.0/255.255.255.0 appears to be unused.
 
The following host-only networks have been defined:
 
. Vmnet1 is a host-only network on private subnet 192.168.185.0.
 
Do you wish to configure another host-only network? (Yes/no) [no]
 
Select "no" and press Enter.
 
The bld-2.6.18-8.el5-i686smp-RHEL5-vmnet module loads perfectly into
 
Running kernel.
 
Install the kernel module
 
Please specify a port for remote connections to use [2, 902
 
Select remote service port
 
Please specify a port for standard http connections to use [1, 8222]
 
After the installation is complete, Use http: // IP: 8222 to access the server to configure the virtual machine.
 
Please specify a port for secure http (https) connections to use [8333]
 
After the installation is complete, Use https: // IP: 8333 to access the server to configure the virtual machine.
 
The current administrative user for VMware Server is ". wocould you like
 
Specify a different administrator? [No]
 
You can log on to the administrator account of VMware-server to specify an existing account in the system. no indicates that the root account is used.
 
Using root as the VMware Server administrator.
 
In which directory do you want to keep your virtual machine files?
 
[/Var/lib/vmware/Virtual Machines]
 
Generate an SSL Certificate file and press 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]
 
Press ENTER
 
Please enter your 20-character serial number.
 
Type XXXXX-XXXXX-XXXXX-XXXXX or 'enter' to cancel:
 
The serial number is: A81AN-FYFDC-U7H25-426KH
 
Enter a 20-digit license and press Enter. If the license is correctly configured, press 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]
 
In which directory do you want to install the VMware vix api library files?
 
[/Usr/lib/vmware-vix/lib]
 
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]
 
In which directory do you want to install the VMware vix api document pages?
 
[/Usr/share/doc/vmware-vix]
 
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]
 
The installation of VMware vix api 1.6.2 build-156745 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.1 build-156745 for Linux for this
 
Running kernel completed successfully.
 
Then, Use http: // IP: 8222 or https: // IP: 8333 in the browser.
 
In fact, even if http: // IP: 8222 is used, it will be transferred to https: // IP: 8333.
 
The installation of VMware-server in Linux is complete.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.