Setup VMware on Vector Linux
Make sure you are at a root command prompt, then run this script
cd /etc/init.d
for i in {0,1,2,3,4,5,6}; do mkdir rc$i.d; done
VMware runs with suid root. To limit program execution to a particular group of
users create a group called vmware in /etc/group then add the desired users.
Download the latest VMware tarball, then extract it, this will create a vmware-distrib
folder. Cd to the vmware-distrib folder then run this script
#./vmware-install.pl
When it asks you for the location of your startup scripts point the setup to the
folders created previously. Next run through the prompts, answer the questions
according to your preferences, until you get to the part where it asks you if you
want to run vmware-config.pl. DO NOT choose to run this now - you need to go
to the internet and download the latest version of vmware-any-any update, then
extract it. From the newly created folder run this script
#./runme.pl
Now run through the remainder of the prompts until the script finishes.
After running the install/config scripts, there are some minor changes needed for
VMware to work properly.
Copy the vmware script in /etc/init.d to /etc/rc.d/rc.vmware and make it executable
#cp /etc/init.d/vmware /etc/rc.d/rc.vmware
#chmod +x /etc/rc.d/rc.vmware
Add this text to /etc/rc.d/rc.local file to set up VMware when you boot the computer
(In /etc/rc.d/rc.local)
if [ -x /etc/rc.d/rc.vmware ]; then
/etc/rc.d/rc.vmware start
fi
Now you can remove the originally created /etc/init.d, /etc/rc[0-6].d folders
rm -rf /etc/init.d
for i in {0,1,2,3,4,5,6}; do rm -rf /etc/rc$i.d; done
If you created the vmware group, you might want to restrict VMware execution to
members of that group.
chmod 550 /usr/local/bin/vmware
chgrp vmware /usr/local/bin/vmware
chmod u+s /usr/local/bin/vmware