( Windows XP en una ventana de tu Ubuntu gracias a VMware Server ) Ya tienes una excusa menos para pasarte a Linux

En la Categoría Linux, Ubuntu, Videos el dia 25 febrero 2007

15.jpg

Como pudisteis ver el otro día anunciaba que este fin de semana publicaría el manual del VMware para que podáis hacer lo que visteis en mi portátil en el vídeo osease ejecutar Windows XP y Linux Ubuntu. Con VMware podemos crear maquinas virtuales en nuestro pc y asi poder instalar y ejecutar varios sistemas operativos además de Windows pero en este manual vamos a tratar los pasos para instalar Windows XP.

Antes de nada nos hacemos usuario root con el comando su

Vamos a comenzar la instalación por las dependencias del VMware y requerimientos del sistema. Seguidamente prepararemos los directorios para su instalación.

apt-get install libx11-6 libx11-dev libxtst6 xlibs-dev xinetd wget

apt-get install linux-headers-`uname -r` build-essential

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

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.

cd /
mkdir /var/vm
cd /tmp

Para poder instalar el software VMware Server necesitamos un numero de serie que gratuitamente nos regalarán al registrarnos en la Web oficial del proyecto aqui.
Es totalmente necesario ese numero de serie ya que 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.

Recuerda descargarlos en el directorio /tmp así no te perderás en el manual.

wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.1-29996.tar.gz

wget http://download3.vmware.com/software/vmserver/VMware-mui-1.0.1-29996.tar.gz

Ahora descomprimimos los dos archivos de la siguiente manera.

tar xvzf VMware-server-1.0.1-29996.tar.gz
tar xvzf VMware-mui-1.0.1-29996.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/2.6.15-28-386/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í eth1 porque esa es mi wifi y lo estoy instalando en el portátil )

Your computer has multiple ethernet network interfaces available: eth0, eth1.
Which one do you want to bridge to vmnet0? [eth0] eth1

The following bridged networks have been defined:

. vmnet0 is bridged to eth1

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.152.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.152.0.

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

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.1 build-29996 for Linux for this running
kernel completed successfully.

y listo :)

Aun no hemos acabado pero ya queda 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.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-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

usuario root pass tu pasword de root

Pincha en Aplicaciones > Herramientas del sistema > VMware Server Console

4.jpg

Aquí le diremos localhost ya que hemos instalado el server en nuestro pc ( aunque no descarto en un futuro instalarlo vía remota en mi server )

5.jpg

Ahora vamos a crear nuestra maquina virtual pinchando en ( Create a new virtual machine )

En la siguiente pantalla pulsamos Next.

En ( Virtual Machine Configuration ) sekeccionamos la opción ( Typical ) y pinchamos en Next

8.jpg

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 al seguido esta guia al pie de la letra pon lo mismo que yo )

9.jpg

Selecciona ( Use bridged networking ) ( En mi caso uso el modo bridge porque uso mi tarjeta de red para conectarme a internet )

10.jpg

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 )

11.jpg

Bueno despues de configurar esto el solito creara las particiones y las formateará. Ya casi la tenemos !!

13.jpg

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 ).

14.jpg

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 windoce que seguro que sabes :D

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.

Atención para salir de la maquina virtual en este caso windows solo tienes que pulsar las teclas Ctrl+Atl y cuando quieras volver a entrar pincha encima de la pantalla de windows y ya estarás dentro. :)



Como habéis podido apreciar estos días atrás ya ha llovido un poco desde que instalé esta aplicación pero quería dejar este manual lo mas comprensible posible.
Espero que os sea tan útil este manual como lo sera para mi el día que necesite volver a instalarlo y no me acuerde de algo
.

 
 

Artículos Relacionados ...

 
Sitio protegido por una licencia Creative Commons. © 2006 / 2012 Política de privacidad en Forat. Design by: Charleston Dating with Ohio Singles | Volleyball Singles | Florida Telemarketing Jobs