I make no claims to be an expert. I am however a long time Slackware user, and have noticed a few posts concerning the ins and outs of previous how-to's on the same subject that are now outdated.
Keep in mind I take no responsibility for any damages to data, hardware, time, or liquor cabinets. Use at your own risk!
So..
How to Install VMware Server on Slackware host
This is assuming you have a fresh full install of Slackware 13, I will be doing this install on a 64bit os, but the steps are relative and will also work on a 32.
STEP ONE
You are going to need pam to successfully authenticate on the web interface later, so take care of that first. There are a few different ways to go about this especially if you are on a 32bit install.
32BIT - You may go ahead and download the Linux-PAM package from a slacky repository.
http://repository.slacky.eu/slackwar...nux-pam/1.1.0/
OR - Of course you could build linux-pam from source, but I would recommend using src2pkg as it is easy, and outputs a tgz that you may install with installpkg. As I dont want to ramble forever
Src2Pkg is the home to get it if you do not already have it. Once it is installed.....
cd /usr/src
Code:
root@system:/usr/src# src2pkg -C -W http://www.kernel.org/pub/linux/libs/pam/library/Linux-PAM-1.1.1.tar.gz
These switches will delete the temporary files used during the creation of our package, and drop its output into our current directory.
Code:
root@system:/usr/src# installpkg linux-pam-1.1.1-x86_64-1.tgz
Once that is done (as we wont really be using this file right now.)
mv /etc/pam.d /etc/pam.ds
But we do need a pam.d directory for Vmware
mkdir /etc/pam.d
We are now ready to install Vmware Server
STEP TWO
If you have not done so already, it is time to download the vmware archive. This requires signing up on their website, and it will provide you keys after email activation.
Now that we have the file, extract it
Code:
root@system:/usr/src# tar xvf VMware-server-2.0.2-203138.x86_64.tar.gz
cd vmware-server-distrib
./vmware-install.pl
As slackware now contains an /etc/rc.d/init.d, vmware's installer will detect all the correct directories to drop files into. That includes autostart on reboot. Default's should be fine for everything in the main installer.
***PAUSE AT THE "run vmware-config.pl now?"
It is important to note, that if you are using 64 bit you will need to use a patch to fix a couple of modules. So when you get to the part where it asks to run vmware-config.pl now? Tell it "no" if you are 64bit. Yes should work for 32bit fine, and continue to creating virtual network devices, and input of serial number.
32Bit users, your adventure should be over. At this point you should be able to open a browser, point it at the machines lan ip address, external ip address, or localhost on port 8222. If you have problems and you did not run networkconfig during slackware setup, run it now, reboot and you should be fine. Sometimes fine tuning of /etc/hosts is needed depending on your network situation.
64Bit ... Sorry to say yes, we have to repair something before we can continue
First obtain the patch files from
http://communities.vmware.com/thread/215985 once you have them, in the same directory they are located (even /usr/src is fine)
Code:
root@system:/usr/src# ./vmware-server.2.0.1_x64-modules-2.6.30-fix.sh
After this has finished patching, you may run vmware-config.pl to continue your installation.
Code:
root@system:/usr/src# vmware-config.pl
After this your journey should now also be over. If you have any error's check your /var/log/vmware directory, also make sure your /etc/hosts is valid.
Well I hope someone finds this useful, if nothing else I am sure I will end up referring back to the page myself.