install vmware server on ubuntu server

在 ubuntu server 上仅安装 vmware server,并没安装 Web-based management interface 。本文在安装的过程没有太仔细的记录,过后才整理的。

OS: Ubuntu 8.04.02 Server
VMware: VMWare Server 1.0.8

安装环境需求
apt-get install build-essential linux-headers-`uname -r`

apt-get install libx11-6 libxtst6 libxext6 libsm6 libxrender1 libxt6 libxi6 xinetd

apt-get install ia32-libs libc6-i386

http://www.vmware.com/download/server/ 下载后解压并安装
sudo ./vmware-install.pl

一直按回车,使用默认的选项。
到这里要注意一下,提示 gcc 的版本和 kernel 的版本不一样,要输入 yes

Your kernel was built with "gcc" version "4.2.3", while you are trying to use
"/usr/bin/gcc" version "4.2.4". This configuration is not recommended and
VMware Server may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.2.4" anyway? [no] yes

接着还是一直按回车,使用默认的选项。
然后要输入一个序列号,可以通过网上申请:
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:  9948J-YRJ82-295FK-48KJ5

安装好后有两个提示
The installation of VMware Server 1.0.8 build-126538 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.pl".

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]

由于使用 sudo 来安装,所以要更改一下 ~/.vmware 的所有者,否则会出错。这里是 comet:
sudo chown comet:comet ~/.vmware

启动脚本:/etc/rc2.d/S90vmware
配置文件:/etc/vmare/config

加载 ISO 时需要注意该文件的权限。
客户端在 Windows 使用 VMware-console-1.0.8-126538 来登录,在 Linux 是用 VMware-server-linux-client ,用户名和密码是 ubuntu 的用户名和密码。

待解决问题:
/var/log/vmware: vmdbPipe_Streams Couldn't read: OVL_STATUS_EOF
不知道是不是因为 gcc 的问题,不影响使用,有空再解决了。

参考:http://www.jameslittle.me.uk/installing-vmware-on-ubuntu-gutsy/

下载链接:
http://download3.vmware.com/software/vmserver/VMware-server-1.0.8-126538.tar.gz
http://download3.vmware.com/software/vmserver/VMware-mui-1.0.8-126538.tar.gz
http://download3.vmware.com/software/vmserver/VMware-server-linux-client-1.0.8-126538.zip

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据