红联Linux门户
Linux帮助

Ubuntu as a VMware host

发布时间:2008-03-01 00:45:58来源:红联作者:ykde
Installing from the tarball
VMware-workstation-6.0.2-59824.x86_64.tar.gz

Steps required to get VMware Workstation 6.0.2 installed on Ubuntu 7.10 system on i686.

Install the required compiler and kernel headers needed to compile the vmware kernel module.

sudo apt-get install linux-headers-$(uname -r) build-essential gcc-3.4
If you are using AMD x86_64 then you need to install ia32-libs as well.

sudo apt-get install ia32-libs
Download VMWare Workstation 6.0.2 from VMware and upack:

tar xzf VMware-workstation-6.0.2-59824.x86_64.tar.gz
Run the VMware install script.

export CC=/usr/bin/gcc-3.4 && cd vmware-distrib && sudo ./vmware-install.pl
It is safe to take all the defaults.

Installing from the .rpm
VMware-workstation-6.0.2-59824.i386.rpm

It’s relatively easy to convert VMWare’s .rpm to a .deb and install VMWare inside the package manager. Here’s how:

Make sure you have the kernel headers and compiler first, with:

sudo apt-get install linux-headers-$(uname -r) build-essential gcc-3.4
Download VMWare Workstation 6.0 from their site in .rpm format, and get a serial number from them while you’re at it.

Convert the .rpm to a .deb with

fakeroot alien VMware-workstation-6.0.*.rpm
Install the .deb with

sudo dpkg -i /home/matt/local/src/vmware/vmwareworkstation_6.0.*.deb
Edit /etc/vmware/locations as root and add the following three lines:

Just after

answer BINDIR /usr/bin
add

answer SBINDIR /usr/sbin
Just after

remove_answer BINDIRanswer BINDIR /usr/bin
add

remove_answer SBINDIRanswer SBINDIR /usr/sbin
Run vmware-config.pl (and answer the questions accordingly; this hasn’t really changed since VMWare 4.5) with

sudo /usr/bin/vmware-config.pl
Unzip the EULA, which VMWare expects to be uncompressed but which is installed compressed:

sudo gunzip /usr/share/doc/vmware/EULA.gz
Start vmware, accept the EULA, and enter the serial number.
文章评论

共有 0 条评论