Vmware server install on Ubuntu Dapper
I thought I had already posted this, but I looked the other day and didn’t find the article, so I’m posting it now… if it’s a duplicate, sorry… I’m still using Ubuntu’s Dapper Drake 6.06(.1) as a base install for many things… the Long term support idea fo rthe server “stuff” is somewhat reassuring and I don’t want to be chasing minor revision upgrades every 6 months. But, there is another reason, a lot of the installs I’ve done have been a base for VMWare server and there are some very good (and clear) how-to’s in that arena….howtoforge has a good walkthrough that I’ve used as a starting point….
After all is setup and installed with the base operating system they recommend logging in and doing sudo su (to avoid having to sudo everything else…)
Then they suggest installing openssh-server (which in most of my setups has been a near necessity…)
Here are the other required packages…
libx11-6 libx11-dev libxtst6 xlibs-dev xinetd wget linux-headers-`uname -r` build-essential gcc binutils-doc cpp-doc make manpages-dev autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.0-doc libc6-dev-amd64 lib64gcc1
After that they suggest creating /var/vm for your virtual machines – where you put them is really up to you….
and then download and run through the installers from vmware. That section is really fairly easy if you’ve already got the above packages setup. (build-essential and linux-headers-`uname -r` are especially nice to have installed (even in an ubuntu virtual machine guest for the purposes of building the vmware guest tools.))
There is a problem with the httpd.vmware startup script – the directory it looks for is missing on reboot, so you will want to edit /etc/init.d/httpd.vmware and add the following after start)
mkdir -p /var/run/vmware/httpd
chown www-data:www-data /var/run/vmware/httpd
as referenced in this pdf