How To Install VMware Server On Debian Sarge
How To Install VMware Server On Debian SargeVersion 1.0 This tutorial provides step-by-step instructions on how to install the free VMware Server (version 1.0.1) on a Debian Sarge system. VMware has just released version 1.0 of its free VMware Server. With VMware Server you can create and run guest operating systems ("virtual machines") such as Linux, Windows, FreeBSD, etc. under a host operating system. This has the benefit that you can run multiple operating systems on the same hardware which saves a lot of money, and you can move virtual machines from one VMware Server to the next one (or to a system that has the VMware Player which is also free). In this article we use Debian Sarge (3.1) as the host operating system. I want to say first that this is not the only way of setting up such a system. There are many ways of achieving this goal but this is the way I take. I do not issue any guarantee that this will work for you!
1 Preliminary NoteI assume you have already set up a basic Debian Sarge system. You can set up your system as described on the first two pages of this tutorial: The Perfect Setup - Debian Sarge (3.1). I use 192.168.0.100 as the IP address and server1.example.com as the hostname of my Debian Sarge system in this tutorial. If your Debian Sarge system does not have a static IP address you should now change its network configuration so that it will have a static IP address in the future: vi /etc/network/interfaces
(If you use a different gateway than 192.168.0.1, change the gateway IP address in /etc/network/interfaces.) Then restart your network: /etc/init.d/networking restart Edit /etc/resolv.conf and add some nameservers: vi /etc/resolv.conf
Edit /etc/hosts and add your new IP address: vi /etc/hosts
2 Installing Required PackagesFirst we update our package database: apt-get update Now we install the packages required by VMware on our Debian Sarge system by running apt-get install kernel-headers-`uname -r` libx11-6 libx11-dev x-window-system-core x-window-system xspecs libxtst6 xlibs-dev You will be asked a few questions to which you can answer as follows: Attempt to autodetect video hardware? <-- No Select the desired X server driver. <-- vesa Use kernel framebuffer device interface? <-- Yes Please select the XKB rule set to use. <-- xfree86 Please select your keyboard model. <-- pc104 Please select your keyboard layout. <-- [Select your keyboard layout, e.g. de, if you have a German keyboard.] Please select your keyboard variant. <-- [Leave it empty.] Please select your keyboard options. <-- [Leave it empty.] Please choose your mouse port. <-- /dev/input/mice Is your monitor an LCD device? <-- No Please choose a method for selecting your monitor characteristics. <-- Advanced Enter your monitor's horizontal sync range. <-- 28-50 Enter your monitor's vertical refresh range. <-- 43-75 Select the video modes you would like the X server to use. <-- 1024x768, 800x600, 640x480 Please select your desired default color depth in bits. <-- 24 Default printer resolution <-- 600 Most of these answers are not really important because we don't want to use the desktop on our Debian Sarge system. We will connect to the VMware Server from our workstation later on which can be a Windows or Linux system which has the VMware Server client package installed. Next we create the directory /var/vm wehere we want to install our virtual machines later. The virtual machines require much disk space, make sure you have enough free space on your /var partition for the virtual machines.: mkdir /var/vm
3 Getting VMware ServerThe VMware server can be downloaded for free from the VMware website: http://www.vmware.com/download/server/
4 Downloading The SoftwareTo setup VMWare Server on Debian Sarge, we need the following packages from the VMware downloads page: VMware Server for linux (Binary tar.gz) We want to download the packages to our /tmp directory, therefore we go there: cd /tmp For downloading the software to your server, I recommend to use the linux commandline program wget. The wget syntax is as follows: wget [URL of the VMware Server for linux binary tar.gz package] Unpacking the server tar.gz: tar xvfz VMware-server-*.tar.gz Running the installer script: cd vmware-server-distrib The installer asks you a few questions. Most of the time you can accept the default value: Creating a new installer database using the tar3 format. Installing the content of the package. In which directory do you want to install the binary files? What is the directory that contains the init directories (rc0.d/ to rc6.d/)? What is the directory that contains the init scripts? In which directory do you want to install the daemon files? In which directory do you want to install the library files? The path "/usr/lib/vmware" does not exist currently. This program is going to In which directory do you want to install the manual files? In which directory do you want to install the documentation files? The path "/usr/share/doc/vmware" does not exist currently. This program is The installation of VMware Server 1.0.1 build-29996 for Linux completed Before running VMware Server for the first time, you need to configure it by Making sure services for VMware Server are stopped. Stopping VMware services: You must read and accept the End User License Agreement to continue. ..... snip [LICENCE TEXT] ...... Do you accept? (yes/no) <-- yes Configuring fallback GTK+ 2.4 libraries. In which directory do you want to install the mime type icons? The path "/usr/share/icons" does not exist currently. This program is going to What directory contains your desktop menu entry files? These files have a In which directory do you want to install the application's icon? Trying to find a suitable vmmon module for your running kernel. None of the pre-built vmmon modules for VMware Server is suitable for your Using compiler "/usr/bin/gcc". Use environment variable CC to override. What is the location of the directory of C header files that match your running [...] Do you want networking for your virtual machines? (yes/no/help) [yes] <-- yes Configuring a bridged network for vmnet0. The following bridged networks have been defined: . vmnet0 is bridged to eth0 Do you wish to configure another bridged network? (yes/no) [no] <-- no Do you want to be able to use NAT networking in your virtual machines? (yes/no) Configuring a NAT network for vmnet8. Do you want this program to probe for an unused private subnet? (yes/no/help) Probing for an unused private subnet (this can take some time)... The subnet 192.168.221.0/255.255.255.0 appears to be unused. The following NAT networks have been defined: . vmnet8 is a NAT network on private subnet 192.168.221.0. Do you wish to configure another NAT network? (yes/no) [no] <-- no Do you want to be able to use host-only networking in your virtual machines? Configuring a host-only network for vmnet1. Do you want this program to probe for an unused private subnet? (yes/no/help) Probing for an unused private subnet (this can take some time)... The subnet 192.168.211.0/255.255.255.0 appears to be unused. The following host-only networks have been defined: . vmnet1 is a host-only network on private subnet 192.168.211.0. Do you wish to configure another host-only network? (yes/no) [no] <-- no [...] Please specify a port for remote console connections to use [902] <-- 902 Restarting internet superserver: inetd. Building the VMware VmPerl Scripting API. Using compiler "/usr/bin/gcc". Use environment variable CC to override. Installing the VMware VmPerl Scripting API. The installation of the VMware VmPerl Scripting API succeeded. Generating SSL Server Certificate In which directory do you want to keep your virtual machine files? Please enter your 20-character serial number. Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel: <-- your VMware Server serial number Starting VMware services: The configuration of VMware Server 1.0.1 build-29996 for Linux for this running That's it, the VMware Server is installed on our Debian Sarge system. On to the next step...
|
Join the discussion.
www.seamlessenterprise.com
IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com
Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com
Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com





print: 
Recent comments
14 hours 7 min ago
15 hours 35 min ago
19 hours 9 min ago
22 hours 3 min ago
1 day 1 hour ago
1 day 1 hour ago
1 day 1 hour ago
1 day 2 hours ago
1 day 4 hours ago
1 day 4 hours ago