一、准备环境

1.     yum –y gcc-gcc++ kernel-devel /需要gcc编译环境
2.     yum update dernel             /升级内核
3.     yum install inetd              
4.     yum install xinetd          /需要inetd和xinetd伴随服务支持
二、 安装
1.     rpm –ivh VMware-server-****     #安装软件包
2.     运行/usr/bin/VMware-install.pl
1)Creating a new installer database using the tar3 format.
Installing the content of the package.
In which directory do you want to install the binary files?
[/usr/bin] 把二进制可执行文件放入默认的/usr/bin 文件夹中
2)What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/init.d]
In which directory do you want to install the library files?
[/usr/lib/vmware]
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] 输入y 后,系统自动建立相关文件夹并复制相关文件
3)In which directory do you want to install the manual files?
[/usr/share/man]
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware]
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]
后面将提示将来可以用/usr/bin/vmware-uninstall.pl 命令来卸载该软件, 且第一次运行需要用/usr/bin/vmware-config.pl来配置.接受许可协议.
4)Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.18-1.2798.fc6/build/include] 检测环境
5)配置虚拟机网络.
6)安装内核模块,选择远程端口904
7)建立perl脚本文件
8)生成SSL证书文件
9)输入序列号
三、测试
依版本而定通过IE访问 http://IP/904 或安装客户端
四、 Service vmware start启动vmware服务
Vmware-cmd /var/lib/vmware/Vitrual\ Machines/*/*.vmx start启动虚拟机