There is a new version of this tutorial available for PCLinuxOS 2010.
The Perfect Desktop - PCLinuxOS 2009.1 - Page 4
10 VMware Server
With VMware Server you can let your old Windows desktop (that you previously converted into a VMware virtual machine with VMware Converter, as described in this tutorial: http://www.howtoforge.com/vmware_converter_windows_linux) run under your PCLinuxOS desktop. This can be useful if you depend on some applications that exist for Windows only, or if you want to switch to Linux slowly.
Before we go on, it's a good idea to find out about your kernel version because we need to install the package kernel-devel which is needed by VMware Server. There might be multiple kernel-devel packages available, and to select the right one you need to know your kernel version.
To find out about your kernel version, open a terminal and run
The output should look like this:
which means you have kernel 220.127.116.11.tex3 installed.
Next open Synaptic and install the following packages:
- kernel-devel (pick the package that suits your installed kernel)
To download VMware Server, go to http://www.vmware.com/products/server/ and click on Download Now:
On the next page, log in with your existing VMware account or create a new one:
Follow the on-screen instructions. At the end, you should receive an email with a link to your download page. On the download page, you should see two license numbers, one for Windows and one for Linux. Write down or save the one for Linux and scroll down.
Then download the VMware Server for Linux TAR image (not the RPM image!) to your desktop (e.g. to /home/falko/Desktop):
Open a terminal and become root:
Then go to the location where you saved the VMware Server .tar.gz file, e.g. /home/falko/Desktop (replace falko with your own username!):
Unpack the VMware Server .tar.gz file and run the installer:
tar xvfz VMware-server-*.tar.gz
The installer will ask you a lot of questions. You can always accept the default values simply by hitting <ENTER>.
When the installer asks you
In which directory do you want to keep your virtual machine files?
you can either accept the default value or specify a location that has enough free space to store your virtual machines.
At the end of the installation, you will be asked to enter a serial number:
Please enter your 20-character serial number.
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:
Fill in your serial number for VMware Server.
After the successful installation, you can delete the VMware Server download file and the installation directory:
rm -f VMware-server*
rm -fr vmware-server-distrib/
VMware Server 2 does not have a desktop application for managing virtual machines - this is now done through a browser (e.g. Firefox). You can access the management interface over HTTPS (https://<IP ADDRESS>:8333) or HTTP (http://<IP ADDRESS>:8222); the management interface can be accessed locally and also remotely. If you want to access it from the same machine, type https://127.0.0.1:8333 or http://127.0.0.1:8222 into the browser's address bar.
If you're using Firefox 3 and use HTTPS, Firefox will complain about the self-signed certificate, therefore you must tell Firefox to accept the certificate - to do this, click on the Or you can add an exception... link:
Click on Add Exception...:
The Add Security Exception window opens. In that window, click on the Get Certificate button first and then on the Confirm Security Exception button:
Afterwards, you will see the VMware Server login form. Type in root and your root password:
This is how the VMware Server web interface looks. The structure is similar to the old VMware Server 1 desktop application, so the usage of the web interface is pretty straightforward.
11 Inventory (III)
We have now all wanted applications installed:
[x] The GIMP
[x] Flash Player
[x] Google Earth
[x] Xchat IRC
[x] OpenOffice Writer
[x] OpenOffice Calc
[x] Adobe Reader
Sound & Video:
[x] Sound Juicer CD Extractor
[x] VLC Media Player
[x] Real Player
[x] Quanta Plus
[x] VMware Server
[x] True Type fonts
[x] Read/Write Support for NTFS partitions
- PCLinuxOS: http://www.pclinuxos.com/