Tuesday, September 04, 2007

VMWare Server 1.0.3 on 2.6.22.5 (Slackware 12)

1. Install it by default way
automaticaly by rpm
or
install by script from tar.gz


2. Edit source module vmmon.tar
cd /usr/lib/vmware/modules/source/
sudo tar -xvf vmmon.tar
cd vmmon-only
sudo vi include/compat_kernel.h

Find this:

#define __NR_compat_exit __NR_exit
static inline _syscall1(int, compat_exit, int, exit_code);

and change the static inline ..... line to:

int compat_exit(int exit_code);

Then tar up the vmmon-only directory again.

cd .. #go back to the source directory
tar -cf vmmon.tar vmmon-only


3. Replace source of module vmnet.tar (same folder with step 2) by
Download it from here


4. Add Script in "/etc/rc.M" (rc.M is script that's loaded when you use multiuser mode - M for "Multiuser")
# Start the vmware hardware setup
if [ -x /etc/rc.d/init.d/vmware ]; then
. /etc/rc.d/init.d/vmware start
fi


5. Add Script in "/etc/rc.K" (rc.K is script that's loaded when you shutdown or change to single user mode - K for "Kill")
# Stop the vmware hardware setup
if [ -x /etc/rc.d/init.d/vmware ]; then
. /etc/rc.d/init.d/vmware stop
fi


6. Run "vmware-config.pl" and follow the step until finish and successed

7. Run "vmware &"


That's all... Good Luck... :)
Come on smile....

Ref : http://wiki.archlinux.org/index.php/Installing_VMware