lunes, 1 de octubre de 2007

Instalar y Configurar VMWARE en Debian Etch

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

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

4.jpg

Aquí le diremos localhost ya que hemos instalado el server en nuestro pc.

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 ) seleccionamos 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 haz 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 ) Pero normalmente es este tipo de conexión para Routers y para Switches.

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


viernes, 14 de septiembre de 2007

Beryl


Beryl es un gestor de composición de ventanas para el X Window System.

Es un fork de Compiz, y actualmente está siendo fusionado de vuelta en Compiz bajo el nombre de Compiz Fusion.

Diferencias notables entre Compiz y Beryl, es la siguiente:

* El decorador de ventanas, formalmente conocido como cgwd, ahora es llamado emerald (esmeralda). Corrientemente, un tema cgwd puede ser portado a emerald solo cambiando la extensión de .cgwd a .emerald.
* Usa un archivo plano como backend en vez de gconf, casi ninguna dependencia de GNOME.
* Tiene muchos plugins extras, y características mejoradas en otro plugins.
* Tiene un gestor de temas llamado emerald-themer.
* Cambios con frecuencia: nuevos rasgos y plugins son añadidos diariamente al CVS.
* Hecho por la comunidad en los Foros del Projecto Beryl.

Como Compiz pero a diferencia de los tradicionales decoradores de ventanas, Beryl delega el dibujo de los bordes de las ventanas a un proceso separado, llamado decorador de ventanas (Windows Decorator). Actualmente existen 3 de ellos, pero solo Emerald está actualmente considerado estable.

* Emerald, es el decorador de ventanas por defecto y un fork (bifurcación) de cgwd, tiene su propio formato de temas y soporta efectos como alpha transparency.
* Heliodor, es un fork del gtk-window-decorator de Compiz, soporta temas de Metacity.
* Aquamarine soporta temas de KWin.

jueves, 13 de septiembre de 2007

GNU


GNU
El proyecto GNU fue iniciado por Richard Stallman con el objetivo de crear un sistema operativo completamente libre: el sistema GNU . El 27 de septiembre de 1983 se anunció públicamente el proyecto por primera vez en el grupo de noticias net.unix-wizards. Al anuncio original, siguieron otros ensayos escritos por Richard Stallman como el "Manifiesto GNU", que establecieron sus motivaciones para realizar el proyecto GNU, entre las que destaca "volver al espíritu de cooperación que prevaleció en los tiempos iniciales de la comunidad de usuarios de computadoras".
Etimología
GNU es un acrónimo recursivo que significa GNU No es Unix (GNU is Not Unix). Puesto que en inglés "gnu" (en español "ñu") se pronuncia igual que "new", Richard Stallman recomienda pronunciarlo "guh-noo". En español, se recomienda pronunciarlo fonéticamente; por ello, el término mayoritariamente se deletrea (G-N-U).



Historia
UNIX es un Sistema Operativo no libre muy popular, porque está basado en una arquitectura que ha demostrado ser técnicamente estable. El sistema GNU fue diseñado para ser totalmente compatible con UNIX. El hecho de ser compatible con la arquitectura de UNIX implica que GNU esté compuesto de pequeñas piezas individuales de software, muchas de las cuales ya estaban disponibles, como el sistema de edición de textos TeX y el sistema gráfico X Window, que pudieron ser adaptados y reutilizados; otros en cambio tuvieron que ser reescritos.
Para asegurar que el software GNU permaneciera libre para que todos los usuarios pudieran "ejecutarlo, copiarlo, modificarlo y distribuirlo", el proyecto debía ser liberado bajo una licencia diseñada para garantizar esos derechos al tiempo que evitase restricciones posteriores de los mismos. La idea se conoce en Inglés como copyleft -'copia permitida'- (en clara oposición a copyright -'derecho de copia'-), y está contenida en la Licencia General Pública de GNU (GPL).
En 1985, Stallman creó la Free Software Foundation (FSF o Fundación para el Software Libre) para proveer soportes logísticos, legales y financieros al proyecto GNU. La FSF también contrató programadores para contribuir a GNU, aunque una porción sustancial del desarrollo fue (y continúa siendo) producida por voluntarios. A medida que GNU ganaba renombre, negocios interesados comenzaron a contribuir al desarrollo o comercialización de productos GNU y el correspondiente soporte técnico. El más prominente y exitoso de ellos fue Cygnus Solutions, ahora parte de Red Hat.

También es frecuente hallar componentes de GNU instalados en un sistema UNIX no libre, en lugar de los programas originales para UNIX. Esto se debe a que muchos de los programas escritos por el proyecto GNU han demostrado ser de mayor calidad que sus versiones equivalentes de UNIX. A menudo, estos componentes se conocen colectivamente como "herramientas GNU". Muchos de los programas GNU han sido también portados a otras plataformas como Microsoft Windows y Mac OS X.