第一步:构建环境
以下命令用于确认你是否已经有必需的构架环境和工具来为kernel编译vmware模块:
aptitude install linux-headers-`uname -r` build-essential
aptitude install xinetd
第二步:下载VMware Server
VMware Server可以从这里下载:http://www.vmware.com/download/server/
接受EULA协议后就可以获得近102MB的 vmware server.tgz
注意:现在VMware Server在没有修补过vmmon文件的情况下将不会编译正常!
修补信息在这里:http://www.vmware.com/community/thread.jspa?messageID=76957&tstart=0
修补程序在这里下载:
http://ftp.cvut.cz/vmware/vmware-any-any-update109.tar.gz
第三步:安装VMware Server
首先解压缩VMware Server包:
tar zxvf VMware-server-1.0.3-xxx.tar.gz
进入安装目录
cd vmware-server-distrib
运行安装脚本
sudo vmware-install.pl
安装询问时,选择默认的选项就可以了。
安装好后,在第一次运行 VMware Server时,你需要运行以下命令来配置它,当出现下面的字段时
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]
输入no退出这个安装,回到你的开始目录准备打补丁
cd ..
解包补丁
tar zxvf vmware-any-any-update109.tar.gz
进入补丁的目录
cd vmware-any-any-update109
运行修补脚本
sudo ./runme.pl
然后会要求运行vmware-config.pl,这次要选yes了。立刻运行:
sudo vmware-config.pl
你需要再一次选择默认的选项 ,在这里你会被要求选择使用哪种网络特性。安装好以后,运行 vmware开始运行吧!
vmware
我在ubuntu7.10上安装成功!