Monday, March 3, 2008

Howto: Install VMware Server on Ubuntu 7.10 (Part 2) at x86 Virtualization

Howto: Install VMware Server on Ubuntu 7.10 (Part 2) at x86 Virtualization:
"[Optional Steps]
Remove CD from repository list:
sudo vi /etc/apt/sources.list

Once inside of VI, hit i to be in insert mode, scroll down to deb cdrom:[Ubuntu-Server 7.10 _Gutsy Gibbon_ …. and add # to the beginning of the line. hit esc, then :x to save and exit"

There are other good tips on here, but this one is huge for anyone running a Linux server that you are not near to put in the CD whenever you try to do an apt-get that wants to pull something off the CD. ;-)


*********UPDATE*************
Okay, I have my Ubuntu 7.10 server installed without X11, and therefore could NOT complete the configuration of VMware Server!! I couldn't find anywhere that says X11 is a requirement of VMware Server.

Anyway, it would throw up a list of the libraries I was missing and it took me FOREVER to find a post that gave me some good information to go on.

FIRST, install "apt-file" by typing: sudo apt-get install apt-file.
Second, update apt-file by typing: sudo apt-file update (this will take a long time as it is reading the package contents of all the packages it can find from your apt sources.list locations).
Third, look for a library/file by typing: sudo apt-file find .
Fourth, run apt-get install and the name of the package/s you need.

Once I resolved all the missing libraries the config went smooth as butter. I'm guessing this wouldn't be a problem on a workstation or server install that has X11 installed and configed.

What a PITA!

***********UPDATE************* (3/4/08)
While the above worked for me, I figured there must be an easier way. I found this bit of apt-get code that may have worked for me if I had tried it. It's too late now, but for anyone else and for my future use.
apt-get install linux-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 psmisc build-essential

The previous apt-get command that I kept finding and trying had a package that was not valid for my version of Ubuntu (7.10)... I believe it was for v.7.04 or even earlier.

No comments: