<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Itimag.com &#187; virtualización</title>
	<atom:link href="http://www.itimag.com/tag/virtualizacion/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.itimag.com</link>
	<description>Blog de un Ingeniero Informático</description>
	<lastBuildDate>Mon, 09 Jan 2012 11:54:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>VPS con VMware Server 2 [Parte 2: Instalación]</title>
		<link>http://www.itimag.com/unix/virtualization/instalacion-de-vmware-2-en-debian/</link>
		<comments>http://www.itimag.com/unix/virtualization/instalacion-de-vmware-2-en-debian/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 20:52:46 +0000</pubDate>
		<dc:creator>Itimag</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ovh]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>
		<category><![CDATA[virtualización]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.itimag.net/?p=594</guid>
		<description><![CDATA[Seguimos con el manual para crear VPS en el servidor. Lo primero que hay que hacer es descargar VMware Server 2. Es necesario (y gratuito) registrarse en la página para obtener el número de validación. Se tardan 2 minutos contados. Yo realizé la descarga directamente desde la shell del servidor ya que no dispongo de [...]]]></description>
			<content:encoded><![CDATA[<p>Seguimos con el manual para crear VPS en el servidor.</p>
<p>Lo primero que hay que hacer es descargar VMware Server 2. Es necesario (y gratuito) registrarse en la página para obtener el número de validación. Se tardan 2 minutos contados.</p>
<p>Yo realizé la descarga directamente desde la shell del servidor ya que no dispongo de interfaz gràfica para hacerlo. Para ello utilizé el navegador lynx y tras la descarga procedemos a descomprimirlo:</p>
<p><span id="more-594"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>opt
<span style="color: #c20cb9; font-weight: bold;">lynx</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">title</span>=<span style="color: #ff0000;">&quot;http://www.vmware.com/go/getserver&quot;</span> <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://www.vmware.com/go/getserver&quot;</span> <span style="color: #007800;">rel</span>=<span style="color: #ff0000;">&quot;nofollow&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>www.vmware.com<span style="color: #000000; font-weight: bold;">/</span>go<span style="color: #000000; font-weight: bold;">/</span>getserver<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">tar</span> xzvf VMware-server-2.0.1-<span style="color: #000000;">156745</span>.i386.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> vmware-server-distrib<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Antes de proceder a la instalación de vmware vamos a añadir una interfaz de red a la tarjeta de red del servidor ya que habrá que indicarlo en una de las preguntas que hace el programa de instalación.<br />
A esta interfaz le vamos a dar el nombre de dummy0 y la introducimos editando el fichero /etc/network/interfaces. Para ello:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>network<span style="color: #000000; font-weight: bold;">/</span>interfaces</pre></div></div>

<p>Debemos introducir algo como lo siguiente al final del fichero:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">auto dummy0
iface dummy0 inet static
address 10.0.0.1  netmask 255.0.0.0</pre></div></div>

<p>Nota: Atento a elegir una IP de clase privada.</p>
<p>Ahora debemos iniciar la interfaz de red:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ifup</span> dummy0</pre></div></div>

<p>Comprobamos que la iterfaz esté activa mediante la ejecución del siguiente comando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ifconfig</span></pre></div></div>

<p>Deberíamos ver algo como esto:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">dummy0    Link encap:Ethernet  HWaddr <span style="color: #000000;">22</span>:<span style="color: #000000;">79</span>:C0:<span style="color: #000000;">84</span>:9B:3D
inet addr:10.0.0.1  Bcast:10.255.255.255  Mask:255.0.0.0
UP BROADCAST RUNNING NOARP  MTU:<span style="color: #000000;">1500</span>  Metric:<span style="color: #000000;">1</span>
RX packets:<span style="color: #000000;">0</span> errors:<span style="color: #000000;">0</span> dropped:<span style="color: #000000;">0</span> overruns:<span style="color: #000000;">0</span> frame:<span style="color: #000000;">0</span>
TX packets:<span style="color: #000000;">0</span> errors:<span style="color: #000000;">0</span> dropped:<span style="color: #000000;">0</span> overruns:<span style="color: #000000;">0</span> carrier:<span style="color: #000000;">0</span>
collisions:<span style="color: #000000;">0</span> txqueuelen:<span style="color: #000000;">0</span>
RX bytes:<span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.0</span> b<span style="color: #7a0874; font-weight: bold;">&#41;</span>  TX bytes:<span style="color: #000000;">0</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.0</span> b<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Iniciamos la instalación de vmware 2 ejecutando el siguiente comando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>vmware-install.pl</pre></div></div>

<p>Ahora se nos realizará una serie de preguntas que podemos dejar por defecto hasta que nos aparezca el siguiente mensaje:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">The installation of VMware Server 2.0.1 build-<span style="color: #000000;">156745</span> <span style="color: #000000; font-weight: bold;">for</span> Linux completed
successfully. You can decide to remove this software from your system at any
<span style="color: #000000; font-weight: bold;">time</span> by invoking the following <span style="color: #7a0874; font-weight: bold;">command</span>: “<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>vmware-uninstall.pl”.
&nbsp;
Before running VMware Server <span style="color: #000000; font-weight: bold;">for</span> the first <span style="color: #000000; font-weight: bold;">time</span>, you need to configure it by
invoking the following <span style="color: #7a0874; font-weight: bold;">command</span>: “<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>vmware-config.pl”. Do you want this
program to invoke the <span style="color: #7a0874; font-weight: bold;">command</span> <span style="color: #000000; font-weight: bold;">for</span> you now? <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>Pulsamos intro y ahora nos aparecerá un mensaje en el que nos pide que leamos la licencia. Pulsamos espacio para avanzar el texto hasta que se visualice el mensaje que nos pregunte si estamos o no de acuerdo.  Indicamos que estamos de acuerdo.</p>
<p>Ahora aparece lo siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">None of the pre-built vmmon modules <span style="color: #000000; font-weight: bold;">for</span> VMware Server is suitable <span style="color: #000000; font-weight: bold;">for</span> your
running kernel.  Do you want this program to try to build the vmmon module <span style="color: #000000; font-weight: bold;">for</span>
your system <span style="color: #7a0874; font-weight: bold;">&#40;</span>you need to have a C compiler installed on your system<span style="color: #7a0874; font-weight: bold;">&#41;</span>? <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>Pulsamos intro. Ahora nos pregunta por el path de los header, en nuestro caso se encuentran en:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>linux-2.6.28<span style="color: #000000; font-weight: bold;">/</span>include</pre></div></div>

<p>Ahora debes seguir los mismos pasos que seguí:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Do you want networking <span style="color: #000000; font-weight: bold;">for</span> your virtual machines? <span style="color: #7a0874; font-weight: bold;">&#40;</span>yes<span style="color: #000000; font-weight: bold;">/</span>no<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Configuring a bridged network <span style="color: #000000; font-weight: bold;">for</span> vmnet0.
&nbsp;
Please specify a name <span style="color: #000000; font-weight: bold;">for</span> this network.
<span style="color: #7a0874; font-weight: bold;">&#91;</span>Bridged<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Your computer has multiple ethernet network interfaces available: dummy0, eth0,
eth0:<span style="color: #000000;">0</span>. Which one <span style="color: #000000; font-weight: bold;">do</span> you want to bridge to vmnet0? <span style="color: #7a0874; font-weight: bold;">&#91;</span>eth0<span style="color: #7a0874; font-weight: bold;">&#93;</span> dummy0
&nbsp;
The following bridged networks have been defined:
&nbsp;
. vmnet0 is bridged to dummy0
&nbsp;
Do you wish to configure another bridged network? <span style="color: #7a0874; font-weight: bold;">&#40;</span>yes<span style="color: #000000; font-weight: bold;">/</span>no<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>no<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Do you want to be able to use NAT networking <span style="color: #000000; font-weight: bold;">in</span> your virtual machines? <span style="color: #7a0874; font-weight: bold;">&#40;</span>yes<span style="color: #000000; font-weight: bold;">/</span>no<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> no
&nbsp;
Do you want to be able to use host-only networking <span style="color: #000000; font-weight: bold;">in</span> your virtual machines?
<span style="color: #7a0874; font-weight: bold;">&#91;</span>no<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #c20cb9; font-weight: bold;">yes</span>
&nbsp;
Configuring a host-only network <span style="color: #000000; font-weight: bold;">for</span> vmnet1.
&nbsp;
Please specify a name <span style="color: #000000; font-weight: bold;">for</span> this network.
<span style="color: #7a0874; font-weight: bold;">&#91;</span>HostOnly<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Do you want this program to probe <span style="color: #000000; font-weight: bold;">for</span> an unused private subnet? <span style="color: #7a0874; font-weight: bold;">&#40;</span>yes<span style="color: #000000; font-weight: bold;">/</span>no<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> no
&nbsp;
What will be the IP address of your host on the private
network? 192.168.1.1
&nbsp;
What will be the netmask of your private network? 255.255.255.0
&nbsp;
The following host-only networks have been defined:
&nbsp;
. vmnet1 is a host-only network on private subnet 192.168.1.0.
&nbsp;
Do you wish to configure another host-only network? <span style="color: #7a0874; font-weight: bold;">&#40;</span>yes<span style="color: #000000; font-weight: bold;">/</span>no<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>no<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
None of the pre-built vmnet modules <span style="color: #000000; font-weight: bold;">for</span> VMware Server is suitable <span style="color: #000000; font-weight: bold;">for</span> your
running kernel.  Do you want this program to try to build the vmnet module <span style="color: #000000; font-weight: bold;">for</span>
your system <span style="color: #7a0874; font-weight: bold;">&#40;</span>you need to have a C compiler installed on your system<span style="color: #7a0874; font-weight: bold;">&#41;</span>? <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Extracting the sources of the vmnet module.
&nbsp;
Building the vmnet module.
&nbsp;
Using <span style="color: #000000;">2.6</span>.x kernel build system.
<span style="color: #c20cb9; font-weight: bold;">make</span>: se ingresa al directorio <span style="color: #000000; font-weight: bold;">`/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #ff0000;">'
make -C /usr/src/linux-2.6.28/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: se ingresa al directorio `/usr/src/linux-2.6.28'</span>
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>driver.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>hub.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>userif.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>netif.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>bridge.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>filter.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>procfs.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>smac_compat.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>smac.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>vnetEvent.o
CC <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>vnetUserListener.o
LD <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>vmnet.o
Building modules, stage <span style="color: #000000;">2</span>.
MODPOST <span style="color: #000000;">1</span> modules
CC      <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>vmnet.mod.o
LD <span style="color: #7a0874; font-weight: bold;">&#91;</span>M<span style="color: #7a0874; font-weight: bold;">&#93;</span>  <span style="color: #000000; font-weight: bold;">/</span>tmp<span style="color: #000000; font-weight: bold;">/</span>vmware-config0<span style="color: #000000; font-weight: bold;">/</span>vmnet-only<span style="color: #000000; font-weight: bold;">/</span>vmnet.ko
<span style="color: #c20cb9; font-weight: bold;">make</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>: se sale del directorio <span style="color: #000000; font-weight: bold;">`/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>linux-2.6.28<span style="color: #ff0000;">'
cp -f vmnet.ko ./../vmnet.o
make: se sale del directorio `/tmp/vmware-config0/vmnet-only'</span>
The vmnet module loads perfectly into the running kernel.
&nbsp;
Please specify a port <span style="color: #000000; font-weight: bold;">for</span> remote connections to use <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">902</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Please specify a port <span style="color: #000000; font-weight: bold;">for</span> standard http connections to use <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">8222</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Please specify a port <span style="color: #000000; font-weight: bold;">for</span> secure http <span style="color: #7a0874; font-weight: bold;">&#40;</span>https<span style="color: #7a0874; font-weight: bold;">&#41;</span> connections to use <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">8333</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
The current administrative user <span style="color: #000000; font-weight: bold;">for</span> VMware Server  is <span style="color: #ff0000;">''</span>.  Would you like to
specify a different administrator? <span style="color: #7a0874; font-weight: bold;">&#91;</span>no<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Using root <span style="color: #c20cb9; font-weight: bold;">as</span> the VMware Server administrator.
&nbsp;
You have a pre-existing vmInventory.xml.  The new version will be created <span style="color: #c20cb9; font-weight: bold;">as</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>hostd<span style="color: #000000; font-weight: bold;">/</span>NEW_vmInventory.xml.  Please check the new <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">for</span> any new
values that you may need to migrate to your current vmInventory.xml.
&nbsp;
In <span style="color: #c20cb9; font-weight: bold;">which</span> directory <span style="color: #000000; font-weight: bold;">do</span> you want to keep your virtual machine files?
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>Virtual Machines<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
The path <span style="color: #ff0000;">&quot;/var/lib/vmware/Virtual Machines&quot;</span> does not exist currently. This
program is going to create it, including needed parent directories. Is this
what you want? <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
You have a pre-existing datastores.xml.  The new version will be created <span style="color: #c20cb9; font-weight: bold;">as</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>vmware<span style="color: #000000; font-weight: bold;">/</span>hostd<span style="color: #000000; font-weight: bold;">/</span>NEW_datastores.xml.  Please check the new <span style="color: #c20cb9; font-weight: bold;">file</span> <span style="color: #000000; font-weight: bold;">for</span> any new
values that you may need to migrate to your current datastores.xml.
&nbsp;
Do you want to enter a serial number now? <span style="color: #7a0874; font-weight: bold;">&#40;</span>yes<span style="color: #000000; font-weight: bold;">/</span>no<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">help</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>no<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
Creating a new VMware VIX API installer database using the tar4 format.
&nbsp;
Installing VMware VIX API.
&nbsp;
In <span style="color: #c20cb9; font-weight: bold;">which</span> directory <span style="color: #000000; font-weight: bold;">do</span> you want to <span style="color: #c20cb9; font-weight: bold;">install</span> the VMware VIX API binary files?
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
In <span style="color: #c20cb9; font-weight: bold;">which</span> directory <span style="color: #000000; font-weight: bold;">do</span> you want to <span style="color: #c20cb9; font-weight: bold;">install</span> the VMware VIX API library files?
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>vmware-vix<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
The path <span style="color: #ff0000;">&quot;/usr/lib/vmware-vix/lib&quot;</span> does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
In <span style="color: #c20cb9; font-weight: bold;">which</span> directory <span style="color: #000000; font-weight: bold;">do</span> you want to <span style="color: #c20cb9; font-weight: bold;">install</span> the VMware VIX API document pages?
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>doc<span style="color: #000000; font-weight: bold;">/</span>vmware-vix<span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
The path <span style="color: #ff0000;">&quot;/usr/share/doc/vmware-vix&quot;</span> does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #c20cb9; font-weight: bold;">yes</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
&nbsp;
The installation of VMware VIX API 1.6.2 build-<span style="color: #000000;">156745</span> <span style="color: #000000; font-weight: bold;">for</span> Linux completed
successfully. You can decide to remove this software from your system at any
<span style="color: #000000; font-weight: bold;">time</span> by invoking the following <span style="color: #7a0874; font-weight: bold;">command</span>: <span style="color: #ff0000;">&quot;/usr/bin/vmware-uninstall-vix.pl&quot;</span>.
&nbsp;
Enjoy,
&nbsp;
<span style="color: #660033;">--the</span> VMware team
&nbsp;
Starting VMware services:
Virtual machine monitor                                             <span style="color: #000000; font-weight: bold;">done</span>
Virtual machine communication interface                             <span style="color: #000000; font-weight: bold;">done</span>
VM communication interface socket family:                           <span style="color: #000000; font-weight: bold;">done</span>
Virtual ethernet                                                    <span style="color: #000000; font-weight: bold;">done</span>
Bridged networking on <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vmnet0                                   <span style="color: #000000; font-weight: bold;">done</span>
Host-only networking on <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vmnet1 <span style="color: #7a0874; font-weight: bold;">&#40;</span>background<span style="color: #7a0874; font-weight: bold;">&#41;</span>                    <span style="color: #000000; font-weight: bold;">done</span>
DHCP server on <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>vmnet1                                          <span style="color: #000000; font-weight: bold;">done</span>
VMware Server Authentication Daemon <span style="color: #7a0874; font-weight: bold;">&#40;</span>background<span style="color: #7a0874; font-weight: bold;">&#41;</span>                    <span style="color: #000000; font-weight: bold;">done</span>
Shared Memory Available                                             <span style="color: #000000; font-weight: bold;">done</span>
Starting VMware management services:
VMware Server Host Agent <span style="color: #7a0874; font-weight: bold;">&#40;</span>background<span style="color: #7a0874; font-weight: bold;">&#41;</span>                               <span style="color: #000000; font-weight: bold;">done</span>
VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
Virtual machines                                                    <span style="color: #000000; font-weight: bold;">done</span>
&nbsp;
The configuration of VMware Server 2.0.1 build-<span style="color: #000000;">156745</span> <span style="color: #000000; font-weight: bold;">for</span> Linux <span style="color: #000000; font-weight: bold;">for</span> this
running kernel completed successfully.</pre></div></div>

<p>Ya hemos finalizado la instalación.  Ahora podemos acceder a la fantástica interfaz web de vmware mediante la siguiente url: https://tu_ip:8333. Si no especificamos lo contrario durante la instalación, el usuario de acceso es root y la contraseña es la que dispone éste mismo en el servidor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itimag.com/unix/virtualization/instalacion-de-vmware-2-en-debian/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>VPS con VMware Sever 2 [Parte 1: Recompilación del kernel]</title>
		<link>http://www.itimag.com/unix/virtualization/recompilar-el-kernel-del-servidor-debian/</link>
		<comments>http://www.itimag.com/unix/virtualization/recompilar-el-kernel-del-servidor-debian/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 22:44:50 +0000</pubDate>
		<dc:creator>Itimag</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ovh]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>
		<category><![CDATA[virtualización]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.itimag.net/?p=556</guid>
		<description><![CDATA[Hace un tiempo que me he empezado a interesar por la virtualización en equipos mediante el uso de vmware, xen, etc. Dado este interés decidí empezar a experimentar y crear algún que otro VPS (virtual private server) sobre la versión actual del sistema operativo del servidor: debian 4 etch. Así que me decidí y me [...]]]></description>
			<content:encoded><![CDATA[<p>Hace un tiempo que me he empezado a interesar por la virtualización en equipos mediante el uso de vmware, xen, etc. Dado este interés decidí empezar a experimentar y crear algún que otro VPS (virtual private server) sobre la versión actual del sistema operativo del servidor: debian 4 etch. Así que me decidí y me puse manos a la obra para instalar Vmware server 2 sobre debian 4 en vez de reinstalar el servidor con una distribución preparada por OVH (empresa en la que tengo el servidor) con vmware server 1.1.</p>
<p>¿La razón para instalar vmware server 2 en vez de la distribución ya preparada por OVH? Ninguna en especial, <img src='http://www.itimag.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . Simplemente que no quería formatear y tenerme que poner a instalar apache+mysql+php+postfix o qmail+&#8230;+firewall de nuevo, a parte de la configuración de las DNS, los virtualhost, etc. Además, creo que puede llegar a ser divertido y los conocimientos obtenidos serán mallores.</p>
<p>La instalación de vmware 2 no es muy complicada pero me encontré con un pequeño inconveniente: para instalar vmware server debería recompilar el núcleo de linux(Kernel) y eso era algo que nunca había hecho (lo sé, aún no soy un experto en linux <img src='http://www.itimag.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ) ¿Hay algún riesgo en hacerlo? La verdad es que no lo pensé demasiado ya que me daba igual lo que pudiera pasar y me puse manos a la obra para recompilar el kernel.</p>
<p>Estos son los pasos realizados (gracias a la información del usuario blh en los foros de <a href="http://www.esdebian.org/foro/29103/vmware-server-20-debian-etch-40">esdebian.org</a>):</p>
<p><span id="more-556"></span>1. Miramos que kernel tenemos instalado mediante el uso del comando  &#8216;uname -a&#8217;. Veremos algo como esto:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Linux ksxxxxxx.kimsufi.com 2.6.24.5-grsec-xxxx-grs-ipv4-<span style="color: #000000;">32</span>  <span style="color: #666666; font-style: italic;">#3 SMP Wed May 28 09:09:25 CEST 2008 i686 GNU/Linux</span></pre></div></div>

<p>2. Cargamos el último kernel con la configuración disponible en el servidor OVH. Para ello nos descargaremos las fuentes, las descomprimiremos y configuraremos mediante el seguimiento de  los siguientes comandos:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">title</span>=<span style="color: #ff0000;">&quot;http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2&quot;</span> <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;http://www.eu.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.tar.bz2&quot;</span> <span style="color: #007800;">rel</span>=<span style="color: #ff0000;">&quot;nofollow&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span>http:<span style="color: #000000; font-weight: bold;">//</span>www.eu.kernel.org<span style="color: #000000; font-weight: bold;">/</span>pub<span style="color: #000000; font-weight: bold;">/</span>linux<span style="color: #000000; font-weight: bold;">/</span>kernel<span style="color: #000000; font-weight: bold;">/</span>v2.6<span style="color: #000000; font-weight: bold;">/</span>linux-2.6.28.tar.bz2<span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">tar</span> xf linux-2.6.28.tar.bz2
<span style="color: #7a0874; font-weight: bold;">cd</span> linux-2.6.28
<span style="color: #c20cb9; font-weight: bold;">make</span> mrproper
<span style="color: #c20cb9; font-weight: bold;">wget</span> <span style="color: #000000; font-weight: bold;">&lt;</span>a <span style="color: #007800;">title</span>=<span style="color: #ff0000;">&quot;ftp://ftp.ovh.net/made-in-ovh/bzImage/2.6-config-xxxx-std-ipv4-32&quot;</span> <span style="color: #007800;">href</span>=<span style="color: #ff0000;">&quot;ftp://ftp.ovh.net/made-in-ovh/bzImage/2.6-config-xxxx-std-ipv4-32&quot;</span> <span style="color: #007800;">rel</span>=<span style="color: #ff0000;">&quot;nofollow&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span><span style="color: #c20cb9; font-weight: bold;">ftp</span>:<span style="color: #000000; font-weight: bold;">//</span>ftp.ovh.net<span style="color: #000000; font-weight: bold;">/</span>made-in-ovh<span style="color: #000000; font-weight: bold;">/</span>bzImage<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">2.6</span>-config-xxxx-std-ipv4-<span style="color: #000000;">32</span><span style="color: #000000; font-weight: bold;">&lt;/</span>a<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000;">2.6</span>-config-xxxx-std-ipv4-<span style="color: #000000;">32</span> .config
<span style="color: #c20cb9; font-weight: bold;">make</span> menuconfig</pre></div></div>

<p>Una vez tenemos el menú en pantalla, lo primero que hacemos es dirigirnos a &#8220;General Setup&#8221; y en &#8220;local version&#8221; donde aparece &#8220;-xxxx-std-ipv4-32&#8243; editamos (porque este kernel cargará módulos) y le añadimos al final &#8220;-mod&#8221; quedando pues &#8220;-xxxx-std-ipv4-32-mod&#8221;:</p>
<p><a href="http://www.itimag.com/wp-content/uploads/2009/04/1.jpg"><img class="alignnone size-full wp-image-579" title="1" src="http://www.itimag.com/wp-content/uploads/2009/04/1.jpg" alt="1" width="479" height="333" /></a></p>
<p><a href="http://www.itimag.com/wp-content/uploads/2009/04/3.jpg"><img class="alignnone size-full wp-image-585" title="3" src="http://www.itimag.com/wp-content/uploads/2009/04/3.jpg" alt="3" width="478" height="335" /></a></p>
<p>Entonces volvemos a la pantalla anterior a través de &#8220;Exit&#8221; y presionamos &#8220;Y&#8221; sobre &#8220;Enable loadable module support&#8221;, presionamos Enter y seguidamente activamos &#8220;Module unloading&#8221;. Aparecerá una nueva opción que también activaremos &#8230;</p>
<p><a href="http://www.itimag.com/wp-content/uploads/2009/04/4.jpg"><img class="alignnone size-full wp-image-589" title="4" src="http://www.itimag.com/wp-content/uploads/2009/04/4.jpg" alt="4" width="480" height="334" /></a></p>
<p><a href="http://www.itimag.com/wp-content/uploads/2009/04/6.jpg"><img class="alignnone size-full wp-image-590" title="6" src="http://www.itimag.com/wp-content/uploads/2009/04/6.jpg" alt="6" width="481" height="335" /></a></p>
<p><a href="http://www.itimag.com/wp-content/uploads/2009/04/7.jpg"><img class="alignnone size-full wp-image-591" title="7" src="http://www.itimag.com/wp-content/uploads/2009/04/7.jpg" alt="7" width="479" height="333" /></a></p>
<p>Ahora pulsamos &#8220;Exit&#8221; y en la pantalla principal guardamos la configuración con el nombre por defecto &#8220;.config&#8221; y esto sobreescribirá nuestro archivo.</p>
<p><a href="http://www.itimag.com/wp-content/uploads/2009/04/8.jpg"><img class="alignnone size-full wp-image-592" title="8" src="http://www.itimag.com/wp-content/uploads/2009/04/8.jpg" alt="8" width="480" height="334" /></a></p>
<p>Estamos listos. Vuelta a la consola y lo único que falta por teclear:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> <span style="color: #c20cb9; font-weight: bold;">make</span></pre></div></div>

<p>Cuando acabe pasamos a ocuparnos de LILO (instalado por defecto en el sistema del servidor).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">cp</span> arch<span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>bzImage <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>bzImage-2.6.24.5-xxxx-grs-ipv4-<span style="color: #000000;">32</span>-mod</pre></div></div>

<p>Editamos la configuración de LILO.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>lilo.conf</pre></div></div>

<p>Y sustituimos la imagen de arranque quedando así:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">image</span>=<span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>bzImage-2.6.27.10-xxxx-grs-ipv4-<span style="color: #000000;">32</span>-mod</pre></div></div>

<p>Guardamos y salimos.</p>
<p>En mi caso es ésa la versión pero para futuras actualizaciones no será aplicable así que es MUY importante que aparezca exactamente el nombre del fichero que hemos copiado al directorio /boot ; si reiniciamos y no podemos retomar el servidor por ssh, nos dirigimos al Manager y arrancamos Debian con uno de los kernels disponibles por OVH para rectificar la configuración de LILO (en caso de ser ése nuestro fallo).</p>
<p>Hacemos lo siguiente (vamos a reiniciar el equipo):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>sbin<span style="color: #000000; font-weight: bold;">/</span>lilo
shutdown <span style="color: #660033;">-r</span> now</pre></div></div>

<p>Eso sí, al reiniciar en el Manager debe aparecer que cargaremos el sistema a través de &#8220;hd&#8221;.</p>
<p>Seguimos:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>linux-2.6.28<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> headers_install
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>modules<span style="color: #000000; font-weight: bold;">/`</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #000000; font-weight: bold;">`</span></pre></div></div>

<p>Esto es todo lo que hay que hacer para recompilar el kernel. Ahora ya estamos preparados para descargar y instalar VMware Server en nuestro servidor. Veremos los pasos a seguir en el próximo post.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itimag.com/unix/virtualization/recompilar-el-kernel-del-servidor-debian/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

