AuthorTopic: HOWTO Install vmware (Read 8043 times)

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 ofusers 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-distribfolder. 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 thefolders created previously. Next run through the prompts, answer the questionsaccording to your preferences, until you get to the part where it asks you if youwant to run vmware-config.pl. DO NOT choose to run this now - you need to goto 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 forVMware 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 tomembers of that group. chmod 550 /usr/local/bin/vmware chgrp vmware /usr/local/bin/vmware chmod u+s /usr/local/bin/vmware

vmware should install and run just fine until you reboot.after a reboot the vmware service will not be running until you start it or add it to the runlevel you boot into.from a root terminal you can start the service with this command: service vmware startto add the vmware service to your runlevel open vasm go into the super menu then choose "service" then "srvset" then the runlevel you boot tomost likely 4 then put a check next to vmware and click ok then close vasm and the vmware service will be started automatically at each boot.

VMWare doesn't seem to cooperate too well with SOHO RC3. after ./vmware-server.pl is started by the script then it tries to patch the kernel and exits with errors being unable to build vmmon module. The first listed error was: syntax error before "compat_exit". After that there were a few warnings and a couple of other errors before exiting the script.

Logged

The plans of the diligent lead to profit...Pro. 21:5 VL64 7.1 RLU 486143

addendum:I ran the above "update" and then had to rerun the ./vmware-server.pl again as I got a message that vmware was installed but not configured properly. After that all was well. I did reboot inbetween the two as well and had to reboot again to get recognition of various hardware (sound in particular).

Thanks uelsk8s for the link.Mike

« Last Edit: May 08, 2007, 04:55:28 am by mikecindi »

Logged

The plans of the diligent lead to profit...Pro. 21:5 VL64 7.1 RLU 486143

Hello,Recently while experimenting with vmware server in ubuntu linux I tried to add vectorlinux soho and it failed, it said I must be using some new technology not yet supported by VL. Can anyone shed any light on this for me, I really need to get this installed in Ubuntu with vmware server. Thanks very much in advance.