Lo primero es loguearse como SU en Terminal, Konsola como lo llamen luego instalar estas librerias...
apt-get install libx11-6 libx11-dev libxtst6 xlibs-dev xinetd wget
apt-get install linux-headers
apt-get install build-essential (muchas veces ya esta instalada)
apt-get install 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 (deben instalar tanto dependencias 64bits y x386)
Ahora crearemos el directorio donde se montarán las maquinas virtuales.
Con esto quiero decir que en este directorio es donde van a estar las particiones de el sistema que instalemos.
Les recomiendo seguir estas rutas para que no tengan problemas y lo hagan como yo...
cd /
mkdir /var/vm
cd /tmp
Es totalmente necesario ese numero de serie ya que es el ultimo paso después de su instalación y sin el no podemos completar este manual.
Una vez tengáis el numero de serie podemos descargar el software desde la Web o desde el siguiente enlace que es el que he utilizado yo.
wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.4-56528.tar.gz
wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.4-56528.tar.gz
Ahora descomprimimos los dos archivos de la siguiente manera.
tar xvzf VMware-server-1.0.4-56528.tar.gz
tar xvzf VMware-mui-1.0.4-56528.tar.gz
Ahora vamos a instalarlo.
cd vmware-server-distrib
./vmware-install.pl
Seguidamente pasamos a configurarlo con los siguientes parámetros.
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?
[/usr/bin] enter
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc] enter
What is the directory that contains the init scripts?
[/etc/init.d] enter
In which directory do you want to install the daemon files?
[/usr/sbin] enter
In which directory do you want to install the library files?
[/usr/lib/vmware] enter
The path “/usr/lib/vmware” does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?
[yes] enter
In which directory do you want to install the manual files?
[/usr/share/man] enter
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware] enter
The path “/usr/share/doc/vmware” does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?
[yes] enter
The installation of VMware Server 1.0.1 build-29996 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: “/usr/bin/vmware-uninstall.pl”.
Before running VMware Server for the first time, you need to configure it by invoking the following command: “/usr/bin/vmware-config.pl”. Do you want this program to invoke the command for you now? [yes] enter
Do you accept? (yes/no) yes
Thank you.
Configuring fallback GTK+ 2.4 libraries.
In which directory do you want to install the mime type icons?
[/usr/share/icons] enter
What directory contains your desktop menu entry files? These files have a .desktop file extension. [/usr/share/applications] enter
In which directory do you want to install the application’s icon?
[/usr/share/pixmaps] enter
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 running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes] enter
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 kernel? [/lib/modules/Version de Kernel/build/include] enter
Do you want networking for your virtual machines? (yes/no/help) [yes] enter
Configuring a bridged network for vmnet0.
( En el siguiente paso elije tu tarjeta de red, yo elegí eth0 porque esa es mi LAN y lo estoy instalando en una portátil )
Your computer has multiple ethernet network interfaces available: eth0, eth1.
Which one do you want to bridge to vmnet0? [eth0] eth0
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)
[yes] enter
Configuring a NAT network for vmnet8.
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] enter
Probing for an unused private subnet (this can take some time)…
The subnet 192.168.1.1/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.1.1 (Esa IP es asignada por mi desde mi Router a uds les debe indicar otra pero eso no es problema)
Do you wish to configure another NAT network? (yes/no) [no] enter
Do you want to be able to use host-only networking in your virtual machines?
[yes] enter
Configuring a host-only network for vmnet1.
Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes] enter
Probing for an unused private subnet (this can take some time)…
The subnet 172.16.171.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 172.16.171.0.
Do you wish to configure another host-only network? (yes/no) [no] enter
The module loads perfectly in the running kernel.
Please specify a port for remote console connections to use [902] enter
(Si tienen Router deben Abrir el Puerto)
Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
Configuring the VMware VmPerl Scripting API.
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?
[/var/lib/vmware/Virtual Machines] /var/vm
Please enter your 20-character serial number.
Type XXXXX-XXXXX-XXXXX-XXXXX or ‘Enter’ to cancel: ( te acuerdas del numero de registro que te dieron en la web del VMware )
Starting VMware services:
Virtual machine monitor done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
Host-only networking on /dev/vmnet8 (background) done
NAT service on /dev/vmnet8 done
The configuration of VMware Server 1.0.4 build-56528 for Linux for this running kernel completed successfully.
Listo falta poco.
cd /tmp/vmware-mui-distrib
./vmware-install.pl
Creating a new installer database using the tar3 format.
You must read and accept the End User License Agreement to continue.
Press enter to display it. enter
Do you accept? (yes/no) yes
Thank you.
Installing the content of the package.
In which directory do you want to install the binary files?
[/usr/bin] enter
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc] enter
What is the directory that contains the init scripts?
[/etc/init.d] enter
In which directory do you want to install the VMware Management Interface
files? [/usr/lib/vmware-mui] enter
The path “/usr/lib/vmware-mui” does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] enter
In which directory would you like to install the documentation files?
[/usr/lib/vmware-mui/doc] enter
The path “/usr/lib/vmware-mui/doc” does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes] enter
The installation of VMware Management Interface 1.0.4 build-56528 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command:
“/usr/bin/vmware-uninstall-mui.pl”.
Before running VMware Management Interface for the first time, you need to configure it by invoking the following command: “/usr/bin/vmware-config-mui.pl”. Do you want this program to invoke the command for you now? [yes] enter
Configuring httpd.conf to run Apache as:
User: www-data and Group: nogroup
Set the number of minutes before a http session times out. (This is the length of time before someone connecting to VMware Management Interface will be logged out) [60] enter
Generating SSL Server Certificate
Starting httpd.vmware: done
The configuration of VMware Management Interface completed successfully.
Create a directory for the VMware httpd:
chown www-data:www-data /var/run/vmware/httpd
Ahora abre un navegador y pon https://laipdetutargetadered:8333
(En este caso pon la Ip que te indico arriba y acuerdate de Habilitar este puerto si tienes Router)
usuario root pass tu pasword de root
Deberia cargar una interfaz ese es el panel de control del VMWARE si carga esta listo.
Pincha en Aplicaciones > Herramientas del sistema > VMware Server Console
Aquí le diremos localhost ya que hemos instalado el server en nuestro pc.
Ahora vamos a crear nuestra maquina virtual pinchando en ( Create a new virtual machine )
En la siguiente pantalla pulsamos Next.
En ( Virtual Machine Configuration ) seleccionamos la opción ( Typical ) y pinchamos en Next
Selecciona el sistema operativo que vas a instalar en tu maquina virtual y pincha en Next.
Ahora tienes que poner el nombre y la localización donde instalaste el VMware ( si haz seguido esta guia al pie de la letra pon lo mismo que yo )
Selecciona ( Use bridged networking ) ( En mi caso uso el modo bridge porque uso mi tarjeta de red para conectarme a internet ) Pero normalmente es este tipo de conexión para Routers y para Switches.
Ahora hay que decirle cuanto espacio de disco duro va a tener nuestra maquina virtual. ( Recuerda que solo el sistema Windows XP ocupa al menos 1,5 Gb por defecto )
Bueno despues de configurar esto el solito creara las particiones y las formateará. Ya casi la tenemos !!
Inserta el cd de windows en la unidad y preparate que vamos a instalarlo.
Como podéis ver tenemos una nueva maquina virtual llamada ( Windows XP Profesional ) podemos configurar esta maquina para ajustarla un poco en el botón ( Edit virtual machine settings ).
Ahora vamos a instalar windows pinchando en el botón ( Power on this virtual machine ) y apartir de aquí te lo voy a dejar a ti para que instales el GUINDOWS que seguro que sabes
Una vez tengas el sistema instalado puedes utilizar esa ventana como si de un pc diferente se tratase por eso se le llama maquina virtual.
Al usarlo he notado que aveces no arranca correctamente el servidor VMware al iniciar mi pc ( Si te pasa lo mismo que a mi ) tan solo tenemos que teclear como root
./etc/init.d/httpd.vmware start
y cuando nos salga la primera ventana aceptamos conectarnos a localhost.