First I would like to say that VMware installs the real TM pit dad under Linux.
Spit it out, then see how I got it done.
1. Go to official website https://my.vmware.com/group/vmware/evalcenter?p=server20 download VMware server 2 Compile installation package, need to register to download.
2. Modify the VMware installation kernel, because VMware server 2 is the default adaptation of the 2.6.18 version of the Linux kernel, the high version of the kernel can not compile the installation succeeded, the centos6.3 kernel is 2.6.32, where the search for information on the internet takes a long time .... Finally found (# behind the command to be entered)
# tar Xzf vmware-server-2.0.2-203138.x86_64.tar.gz
Download patch (Patch provided By:ramon de Carvalho):
# wget HTTP://LINUXCONFIG.ORG/IMAGES/FILES/VMW ... tch.tar.gz
Decompress Patch:
# tar Xzf vmware-ubuntu-10.04.patch.tar.gz
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 Patch 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