21 de septiembre de 2007

Actualizar a VMware Server 1.04 en Debian Etch

Ayer me enteré de que había salido una nueva versión del programa de virtualización VMware Server, concretamente la versión 1.04. Si habéis instalado la versión anterior mediante el post que publiqué aquí, a continuación detallo como actualizar el sistema a la nueva versión:


1. Nos logueamos en una terminal (KONSOLE) como usuario root y desinstalamos la versión 1.03 instalada:

$ su -
password:

# vmware-uninstall.pl
Uninstalling the tar installation of VMware Server.

Stopping VMware services:
Virtual machine monitor done
Bridged networking on /dev/vmnet0 done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet1 done
Bridged networking on /dev/vmnet2 done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
Host-only networking on /dev/vmnet8 done
Virtual ethernet done

File /etc/vmware/config is backed up to /etc/vmware/config.old.0.

This program previously created the file /dev/vmnet5, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file /dev/parport3, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file /dev/vmnet4, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file /dev/vmmon, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file /dev/parport0, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file /dev/parport2, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file /dev/vmnet7, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file
/lib/modules/2.6.18-4-686/misc/vmnet.o, and was about to remove it. Somebody
else apparently did it already.

This program previously created the file
/lib/modules/2.6.18-4-686/misc/vmnet.ko, and was about to remove it. Somebody
else apparently did it already.

This program previously created the file /dev/parport1, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file
/lib/modules/2.6.18-4-686/misc/vmmon.ko, and was about to remove it. Somebody
else apparently did it already.

This program previously created the file /dev/vmnet9, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file /dev/vmnet6, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file
/lib/modules/2.6.18-4-686/misc/vmmon.o, and was about to remove it. Somebody
else apparently did it already.

This program previously created the file /dev/vmnet3, and was about to remove
it. Somebody else apparently did it already.

This program previously created the directory /lib/modules/2.6.18-4-686/misc,
and was about to remove it. Somebody else apparently did it already.

This program previously created the directory /var/log/vmware, and was about to
remove it. Since there are files in that directory that this program did not
create, it will not be removed.

This program previously created the directory /var/run/vmware, and was about to
remove it. Since there are files in that directory that this program did not
create, it will not be removed.

This program previously created the directory /etc/vmware, and was about to
remove it. Since there are files in that directory that this program did not
create, it will not be removed.

The removal of VMware Server 1.0.3 build-44356 for Linux completed
successfully. Thank you for having tried this software.


2. Descargamos la nueva versión mediante el siguiente comando:

# wget http://download3.vmware.com/software/vmserver/VMware-server-1.0.4-56528.tar.gz
--12:46:04-- http://download3.vmware.com/software/vmserver/VMware-server-1.0.4-56528.tar.gz
=> `VMware-server-1.0.4-56528.tar.gz'
Resolviendo download3.vmware.com... 72.246.49.63, 72.246.49.56
Connecting to download3.vmware.com|72.246.49.63|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 106,577,920 (102M) [application/x-gzip]

100%[================================================================================================================>] 106,577,920 104.23K/s ETA 00:00v

13:03:02 (102.31 KB/s) - `VMware-server-1.0.4-56528.tar.gz' saved [106577920/106577920]


3. Descomprimimos la nueva versión y procedemos a su instalación:
Antes que nada, debemos borrar el directorio /root/vmware-server-distrib/ que tendrás creado si has seguido la guía anterior y no lo has borrado.

# rm -Rf vmware-server-distrib/

Descomprimimos:
# tar xvfz VMware-server-1.0.4-56528.tar.gz

Instalamos:
# cd vmware-server-distrib/

# ./vmware-install.pl


En el paso 3 de la guía anterior de instalación de la versión 1.03, que publiqué el 13 de mayo, puedes ver el detalle de la instalación para saber como actuar en cada pregunta que te va realizando.


4. Al terminar la instalación, podrás ejecutar el programa igual que antes en el menú SISTEMA / VMware Server Console o ejecutando en una terminal el comando "vmware".


Si tienes algún problema al ejecutar el programa, inicia desde una consola con el comando anterior (vmware) y revisa en el siguiente enlace como resolver el problema en base al error que aparece en la consola.

http://wiki.gacq.com/index.php/VMWare


Saludos y Suerte.
Domi - Gran Canaria (Islas Canarias)

3 comentarios:

Anónimo dijo...

Sabes la forma en la que se pueden configurar en bridge dos interfaces de red.

Eth0 y eth1 (cableada e inalámbrica), para que de esta forma, indistintamente de la conexión, VMware Srv conecte la máquina virtual...

Romario dijo...

Hola.
Nunca lo he hecho, pero inténtalo por así:
Ejecuta el script de configuración como root:

# vmware-config.pl

Cuando llegues a ésta pantalla haz lo siguiente:

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes] no

Do you want networking for your virtual machines? (yes/no/help) [yes]


Would you prefer to modify your existing networking configuration using the
wizard or the editor? (wizard/editor/help) [wizard]

The following bridged networks have been defined:

. vmnet0 is bridged to eth1

Do you wish to configure another bridged network? (yes/no) [no] yes

Configuring a bridged network for vmnet2.

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

The following bridged networks have been defined:

. vmnet0 is bridged to eth1
. vmnet2 is bridged to eth0

Fíjate en éstas 2 últimas líneas. Termina de ejecutar el script de configuración.

Ahora abre VMware Server y edita la configuración de la tarjeta de red de la máquina virtual.
Selecciona la opción "Custom:" y selecciona vmnet0 ó vmnet2 (eso me apareció en mi caso) si quieres que acceda a internet a través de eth1 o eth0 respectivamente.

Saludos y Suerte.
Domi

viagra online dijo...
Este comentario ha sido eliminado por un administrador del blog.