虽然, linux系统可以使用wine来安装一些windows系统的程序,很大程度的方便了用户使用windows下的应用程序,但是,通过wine安装的应用程序,还是存在着一些缺点,兼容性并不是很好,如运行后,程序会提示出错及应用程序的一些功能无法实现等等问题,所以,为了方便的切换到windows系统,在Linux系统下安装虚拟机,模拟一个虚拟环境,用来安装windows系统。
操作1:下载VMware-workstation-5.5.1-19175.tar.gz
下载地址:
http://download.chinaunix.net/download.php?id=22070&ResourceID=11140
步骤2:解压
[root@localhost VMware_for_linux]#tar zxvf VMware-workstation-5.5.1-19175.tar.gz
步骤3:执行安装程序
[root@localhost VMware_for_linux]#cd vmware-distrib
[root@localhost vmware-distrib]# ./vmware-install.pl
安装过程中,均为默认设置并回车,当出现以下提示信息:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
此时,无法继续安装下去。
解决办法:
步骤1:下载: vmware-any-any-update109.tar.gz
下载地址:
http://ftp.cvut.cz/vmware/vmware-any-any-update109.tar.gz
步骤2: [root@localhost VMware_for_linux]# tar zxvf vmware-any-any-update109.tar.gz
步骤3:[root@localhost VMware_for_linux]# cd vmware-any-any-update109
步骤4: [root@localhost vmware-any-any-update109]# ./runme.pl
一直按回车:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.21-1.3194.fc7/build/include] #此时,会自动识别C头文件,直接回车即可.
以下操作均按回车即可
.
.
.
.
.
Starting VMware services:
Virtual machine monitor [确定]
Virtual ethernet [确定]
Bridged networking on /dev/vmnet0 [确定]
Host-only networking on /dev/vmnet1 (background) [确定]
Host-only networking on /dev/vmnet8 (background) [确定]
NAT service on /dev/vmnet8 [确定]
The configuration of VMware Workstation 5.5.1 build-19175 for Linux for this
running kernel completed successfully.
You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".
Enjoy,
--the VMware team
[root@localhost vmware-any-any-update109]#
步骤5:启动虚拟机vmware
方法1:在终端下输入命令:vmware
[root@localhost vmware-any-any-update109]# vmware
方法2:单击“应用程序”->“其他”->“vmware workstation”菜单项,即可启动虚拟机,如图1所示:

图1
启动后的画面如图2所示:

图2