Sunday, September 9, 2007

How to Install VMWARE Server

1- Download VMware Server
http://www.vmware.com/download/server/
EULA Agreement --> Yes
VMware Server for Linux --> Binary (.rpm)
Register for free serial number
2- Install Prerequisite packages
# yum -y install kernel-devel make gcc xinetd
3- Install VMware Server
# rpm -ivh VMware-server-1.0.3-44356.i386.rpm
4- Edit compat_kernel.h (thanks to michael2007 http://www.vmware.com/community/message.jspa?messageID=621855#621855)
# cd /usr/lib/vmware/modules/source/
# tar -xvvf vmmon.tar
# nano vmmon-only/include/compat_kernel.h
change from;
static inline _syscall1(int,compat_exit,int,exit_code);
to;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) static inline _syscall1(int,compat_exit,int,exit_code); #endif
# tar -cvvf vmmon.tar vmmon-only/
# rm -rf vmmon-only/
5- Initialized and configure VMware
# vmware-config.pl

No comments: