Installing VMware

From PardusWiki
(Difference between revisions)
Jump to: navigation, search
(Installation of VMWare Tools files on Guest_OS)
(For Linux Pardus (SSH))
Line 69: Line 69:
 
:# Right-click  <pre>VMwareTools-7.8.5-156735.tar.gz</pre> and select Extract to (wait some seconds) "/home/your_username +[OK]" and close Konqueror.
 
:# Right-click  <pre>VMwareTools-7.8.5-156735.tar.gz</pre> and select Extract to (wait some seconds) "/home/your_username +[OK]" and close Konqueror.
 
:# Open a Konsole and check/install the required packages and directories  <pre>sudo pisi it gcc make kernel-source</pre>  <pre>sudo mkdir /etc/rc{0..6}.d</pre>
 
:# Open a Konsole and check/install the required packages and directories  <pre>sudo pisi it gcc make kernel-source</pre>  <pre>sudo mkdir /etc/rc{0..6}.d</pre>
:# Go to directory and start compiling/installation
+
:# Go to directory and start compiling/installation <pre>cd vmware-tools-distrib</pre>  <pre>sudo ./vmware-install.pl</pre>Answer all the questions with the default value (= [Enter] key).
cd vmware-tools-distrib
+
  
sudo ./vmware-install.pl
 
 
====For Windows (Samba)====
 
====For Windows (Samba)====
 
:# [start]>[My Computer] and enter at {Address:}  <pre>smb://IP.address.of.the.remote.site (+ enter) and goto /tmp/vmware_tools</pre>
 
:# [start]>[My Computer] and enter at {Address:}  <pre>smb://IP.address.of.the.remote.site (+ enter) and goto /tmp/vmware_tools</pre>
 
   <pre></pre>
 
   <pre></pre>

Revision as of 11:10, 21 May 2009

Contents

Installing VMware

Before installing VMware do the following:

pisi it kernel-source
pisi it gcc
pisi it make
mkdir /etc/rc{0..6}.d
ln -s /bin/lsmod /sbin/lsmod

cd to the wmware-distrib directory, execute ./vmware-install.pl and give default answers for all the installer's questions.

This will become a new installation manual for VMware-Player

THIS IS STILL EXPERIMENTAL

This manual is tested on VMware-Player-2.5.2-156735.i386.bundle and VMware-Workstation-6.5.2-156735.i386.bundle. Change the applicable commands for other versions.

Download

Go to http://www.vmware.com/products/player/ and download (at this moment)VMware-Player-2.5.2-156735.i386.bundle and to add the Guest_OS utility's we also need VMware-Workstation-6.5.2-156735.i386.bundle.

VMware-Player is free of charge. You have to supply an email address in order to download. As we only use VMware-Workstation to extract the Guest_OS utilities you don't need a payed license-key for VMware-Workstation.

Installation

  1. Open a Konsole and install/check the required packages
    sudo pisi it kernel-source gcc make
  2. Create the required directories
    sudo mkdir /etc/rc{0..6}.d
  3. Go to the downloaded VMware-Player file (default=)
    cd Desktop/
  4. Start installation
    sudo sh VMware-Player-2.5.2-156735.i386.bundle

VMware Player menu item is available in Pardus > Programs > System.

Modification of VMware-Player executable file

For Pardus it is necessary to modify the VMware-Player executable file in order to get a working network connection for the Guest_OS after a restart of Pardus (Host_OS).

  1. Open VMware-Player executable file in Kwrite
    kdesu kwrite /usr/bin/vmplayer
  2. Add at line 11 (just before "set -e")
    kdesu /etc/init.d/vmware start
  3. Save and close Kwrite.

Creating the virtual machine files

VMware-Player needs two files for the Guest_OS. A .vmx file to describe in plain text the properties of the guest and a .vmdk file for the data. This .vmdk file will increase in size (> ?GB) after installation of the Guest_OS.

The easiest way to create these files is to use the "Virtual Machine Creator" of http://www.easyvmx.com/

VMWare Tools

To improve the graphic properties, mouse capture and more ... we need to install VMWare Tools on the Guest.

Extracting VMWare Tools files on the Host_OS

  1. Open a Konsole and create a directory to extract VMware-Workstation
    mkdir /tmp/vmware_tools
  2. Go to the downloaded VMware-Workstation file (default=)
    cd Desktop/
  3. Extract the VMware Workstation bundle. Note that the (temporary) extracted contents is ~ 580M. (we only need the files in /tmp/vmware/vmware-workstation/lib/isoimages/
    sudo /usr/lib/vmware/installer/vmware-installer --install-bundle VMware-Workstation-6.5.2-156735.i386.bundle --extract /tmp/vmware

Mounting VMWare Tools files on the Host_OS

  1. Mount the .iso file as a loopback file system
    mkdir /tmp/vmware_tools
    sudo mount -o loop /tmp/vmware/vmware-workstation/lib/isoimages/linux.iso /tmp/vmware_tools
    and/or
    sudo mount -o loop /tmp/vmware/vmware-workstation/lib/isoimages/windows.iso /tmp/vmware_tools

Sharing VMWare Tools between Host_OS and Guest_OS

For sharing files we need to activate SSH (for Linux<>Linux) and/or Samba (for Linux<>Windows and Linux<>Linux).

For SSH (on the host)
 [Pardus]>[Tasma]>[System]>[Service Manager]
      Select [Secure Shell Server].
      Put a mark at {Run on startup} and activate the green (Start)button.
      In the column {Run on Startup} {Yes} should be shown.
      [Back].
 [Internet & Network]>[Firewall Config] 
      [Start Firewall] (if not already running)
      Put a mark at {Remote login service}
      [Apply]>[Back] and close Tasma

For Samba have a look in http://en.pardus-wiki.org/HOWTO:SambaNetwork

Installation of VMWare Tools files on Guest_OS

For Linux Pardus (SSH)

  1. In Konqueror
    fish://username-on-the-host@IP.address.of.the.host/tmp/vmware_tools
    example
    fish://juser@192.168.0.201/tmp/vmware_tools
  2. Right-click
    VMwareTools-7.8.5-156735.tar.gz
    and select Extract to (wait some seconds) "/home/your_username +[OK]" and close Konqueror.
  3. Open a Konsole and check/install the required packages and directories
    sudo pisi it gcc make kernel-source
    sudo mkdir /etc/rc{0..6}.d
  4. Go to directory and start compiling/installation
    cd vmware-tools-distrib
    sudo ./vmware-install.pl
    Answer all the questions with the default value (= [Enter] key).

For Windows (Samba)

  1. [start]>[My Computer] and enter at {Address:}
    smb://IP.address.of.the.remote.site (+ enter) and goto /tmp/vmware_tools


				
								
								
												
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox