<?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; server</title>
	<atom:link href="http://www.itimag.com/tag/server/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.3.2</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>5</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>6</slash:comments>
		</item>
		<item>
		<title>¿Dos IP en un mismo equipo o servidor?</title>
		<link>http://www.itimag.com/unix/dos-2-ip-en-un-mismo-equipo-o-servidor/</link>
		<comments>http://www.itimag.com/unix/dos-2-ip-en-un-mismo-equipo-o-servidor/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 00:20:51 +0000</pubDate>
		<dc:creator>Itimag</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[añadir]]></category>
		<category><![CDATA[como]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dedicado]]></category>
		<category><![CDATA[fail-over]]></category>
		<category><![CDATA[geolocalizada]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>

		<guid isPermaLink="false">http://www.itimag.net/?p=428</guid>
		<description><![CDATA[Seguimos con el curso de administración de servidores. Este es un ejemplo práctico de como añadir una segunda ip a un servidor en una misma interfaz o tarjeta de red utilizando una ip privada (para que fuera de utilidad, debería ser pública). Esto es útil para poder asignar a nuestro servidor distintas direcciones ip, permitiéndonos [...]]]></description>
			<content:encoded><![CDATA[<p>Seguimos con el curso de administración de servidores.</p>
<p>Este es un ejemplo práctico de como añadir una segunda ip a un servidor en una misma interfaz o tarjeta de red utilizando una ip privada (para que fuera de utilidad, debería ser pública). Esto es útil para poder asignar a nuestro servidor distintas direcciones ip, permitiéndonos de esta forma crear nuestros servidores de dns (ns1.ejemplo.com y ns2.ejemplo.com) en un mismo equipo sin que los analizadores de dns den error.</p>
<p>Esta acción tiene una desventaja muy grande: si falla nuestro equipo, no se resolverá el dominio/s ya que los dos servidores de nombres de dominio (o DNS) estarán caídos.</p>
<p>Si el servidor DNS y el servidor web que transmite nuestras páginas se encuentran en el mismo equipo, no hará falta que nos preocupemos de lo anterior ya que si se cae el servidor web, no hace falta que intente resolver el dominio ya que no resolverá por mucho que los servidores de dominio si que funcionen.</p>
<p>Tras esta explicación, pasemos a la acción</p>
<p>Veamos nuestra configuración actual. Para ello, escribimos lo siguiente en un el terminal:</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><span style="color: #c20cb9; font-weight: bold;">ifconfig</span></pre></div></div>

<p>Se visualiza algo como esto:</p>

<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;">itimag@server1:~$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:7D:DF:EA:07
          inet addr:192.168.2.222  Bcast:192.168.2.255  Mask:255
          inet6 addr: fe80::2e0:7dff:fedf:ea07/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:739 errors:0 dropped:0 overruns:0 frame:0
          TX packets:295 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:61160 (59.7 KiB)  TX bytes:41734 (40.7 KiB)
          Interrupt:11 Base address:0xc000
&nbsp;
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)</pre></div></div>

<p>Supongamos que queremos añadir la IP AAA.BBB.CCC.DDD a nuestra interfaz de red eth0 (nuestra interfaz de internet por cable).</p>
<p>Para ello, editamos el fichero /etc/network/interfaces de la manera siguiente :</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>Observamos lo siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;"># This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
&nbsp;
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
             address xxx.xxx.xxx.xxx
             netmask 255.255.255.0
             gateway xxx.xxx.xxx.xxx</pre></div></div>

<p>Al final del fichero, debemos añadir lo siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;">auto eth0:0
&nbsp;
iface eth0:0 inet static
               address AAA.BBB.CCC.DDD
               netmask 255.255.255.0
               gateway xxx.xxx.xxx.xxx # La puerta de enlace</pre></div></div>

<p>A continuación activamos la nueva interfaz que hemos definido:</p>

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

<p>Verificamos la configuración :</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><span style="color: #c20cb9; font-weight: bold;">ifconfig</span></pre></div></div>

<p>Nos aparecerá algo parecido a lo siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;">server1:/home/itimag# /sbin/ifconfig
&nbsp;
eth0      Link encap:Ethernet  HWaddr 00:E0:7D:DF:EA:07
          inet addr:192.168.2.222  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:7dff:fedf:ea07/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2033 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1055 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:178474 (174.2 KiB)  TX bytes:173779 (169.7 KiB)
          Interrupt:11 Base address:0xc000
&nbsp;
eth0:0    Link encap:Ethernet  HWaddr 00:E0:7D:DF:EA:07
          inet addr:192.168.2.111  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:11 Base address:0xc000
&nbsp;
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)</pre></div></div>

<p>Ahora añadimos esta misma ip al fichero /etc/resolv.conf añadiendo la siguiente linea al final del fichero:</p>

<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;">nameserver AAA.BBB.CCC.DDD</pre></div></div>

<p>Próximamente más <img src='http://www.itimag.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itimag.com/unix/dos-2-ip-en-un-mismo-equipo-o-servidor/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Instalar MySQL en el servidor Linux</title>
		<link>http://www.itimag.com/unix/myslq/instalar-mysql-en-el-servidor-linux/</link>
		<comments>http://www.itimag.com/unix/myslq/instalar-mysql-en-el-servidor-linux/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 21:57:01 +0000</pubDate>
		<dc:creator>Itimag</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[BBDD]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>

		<guid isPermaLink="false">http://www.itimag.net/?p=417</guid>
		<description><![CDATA[Para instalar MySQL, debemos abrir una nueva consola, hacer login como root y ejecutar el siguiente comando: su apt-get install mysql-server mysql-client libmysqlclient15-dev Como nosotros queremos que MySQL escuche a todas las peticiones de internet y no únicamente las de localhost, tenemos que editar el fichero /etc/mysql/my.cnf y comentar la linea “bind-address = 127.0.0.1”: nano [...]]]></description>
			<content:encoded><![CDATA[<p>Para instalar MySQL, debemos abrir una nueva consola, hacer login como root y ejecutar el siguiente comando:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span>
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> mysql-server mysql-client libmysqlclient15-dev</pre></div></div>

<p>Como nosotros queremos que MySQL escuche a todas las peticiones de internet y no únicamente las de localhost, tenemos que editar el fichero /etc/mysql/my.cnf y comentar la linea “bind-address = 127.0.0.1”:</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>mysql<span style="color: #000000; font-weight: bold;">/</span>my.cnf</pre></div></div>

<p>El fichero resultante debe quedar así:</p>

<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;">[...]
#bind-address           = 127.0.0.1
[...]</pre></div></div>

<p>Ahora reiniciamos MySQL para que los cambios surjan efecto:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>mysql restart</pre></div></div>

<p>Ahora chequeamos que el servicio se encuentre en escucha. Para ello ejecutamos:</p>

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

<p>Y debemos ver una linea como esta:</p>

<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;">tcp       0      0 *:mysql                 *:*                     LISTEN      3281/mysqld</pre></div></div>

<p>Con la finalidad de proteger mysql y que nadie pueda acceder sin ser autentificado , <strong>debemos asignar una contraseña</strong> al usuario root:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mysqladmin <span style="color: #660033;">-u</span> root password tu_contraseña
mysqladmin <span style="color: #660033;">-h</span> server1.mi_dominio.com <span style="color: #660033;">-u</span> root password tu_contraseña</pre></div></div>

<p><strong>Nota</strong>: tu_contraseña debe ser substituido por tu contraseña y server1.mi_dominio.com por el tuyo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itimag.com/unix/myslq/instalar-mysql-en-el-servidor-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Como instalar un server de DNS con BIND en linux</title>
		<link>http://www.itimag.com/unix/domain-name-server-dns/como-instalar-un-server-de-dns-con-bind-en-linux/</link>
		<comments>http://www.itimag.com/unix/domain-name-server-dns/como-instalar-un-server-de-dns-con-bind-en-linux/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 12:45:44 +0000</pubDate>
		<dc:creator>Itimag</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[como]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[dominio]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[instalar]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>

		<guid isPermaLink="false">http://www.itimag.net/?p=349</guid>
		<description><![CDATA[Continuando con el Curso de Administración de Servidores, hoy toca ver como instalar un servidor bind en  una distribución basada en Debian (Debian etch, Ubuntu, Kubuntu, etc.) En pocas palabras, ¿Qué hace un servidor de DNS? Es el encargado de convertir distintos nombres de dominio (Ej: www.itimag.net) en su ip. Por lo tanto, cada vez [...]]]></description>
			<content:encoded><![CDATA[<p>Continuando con el Curso de Administración de Servidores, hoy toca ver como instalar un servidor bind en  una distribución basada en Debian (Debian etch, Ubuntu, Kubuntu, etc.)</p>
<p>En pocas palabras, ¿Qué hace un servidor de DNS?</p>
<p>Es el encargado de convertir distintos nombres de dominio (Ej: www.itimag.net) en su ip. Por lo tanto, cada vez que accedemos a un servidor mediante un dominio de internet, pasamos por un servidor de dns que se encarga de decirnos cúal es la ip del equipo en la que se encuentra la web a la que estamos accediendo.</p>
<p>Pasemos a la acción. Para instalar bind, ejecutamos el siguiente comando en una consola o shell:</p>

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


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

<p>Por razones de seguridad, vamos a ejecutar el BIND de tal forma que pueda correr en un directorio <a href="http://es.wikipedia.org/wiki/Chroot" target="_self">chroot</a>. Lo hacemos de la siguiente forma:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>bind9 stop</pre></div></div>

<p>Editamos el fichero /etc/default/bind9 . Queremos que el demonio del bind se ejecute con el usuario bind sin privilegios, “chrooted” al directorio /var/lib/named. Para ello, buscamos donde pone &lt;&lt;OPTIONS=&#8221;-u bind&#8221;&gt;&gt; y lo substituimos por &lt;&lt;OPTIONS=&#8221;-u bind -t /var/lib/named&#8221;&gt;&gt;:</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>default<span style="color: #000000; font-weight: bold;">/</span>bind9</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;">OPTIONS=&quot;-u bind -t /var/lib/named&quot;
# Set RESOLVCONF=no to not run resolvconf
RESOLVCONF=yes</pre></div></div>

<p>Ahora creamos los directorios necesarios en /var/lib:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</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>named<span style="color: #000000; font-weight: bold;">/</span>etc
<span style="color: #c20cb9; font-weight: bold;">mkdir</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>named<span style="color: #000000; font-weight: bold;">/</span>dev
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</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>named<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>cache<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">bind</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</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>named<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>bind<span style="color: #000000; font-weight: bold;">/</span>run</pre></div></div>

<p>Y a continuación movemos el directorio de configuración desde /etc hasta /var/lib/named/etc:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">bind</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>named<span style="color: #000000; font-weight: bold;">/</span>etc</pre></div></div>

<p>Creamos un link simbólico al nuevo directorio de configuración partiendo del antiguo directorio (para evitar problemas cuando bind se actualice):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</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>named<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">bind</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">bind</span></pre></div></div>

<p>Hacemos “null” y “random”, y cambiamos los permisos de los directorios:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mknod</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>named<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null c <span style="color: #000000;">1</span> <span style="color: #000000;">3</span>
<span style="color: #c20cb9; font-weight: bold;">mknod</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>named<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>random c <span style="color: #000000;">1</span> <span style="color: #000000;">8</span>
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">666</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>named<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <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>named<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>random
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> <span style="color: #7a0874; font-weight: bold;">bind</span>:<span style="color: #7a0874; font-weight: bold;">bind</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>named<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/*</span>
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> <span style="color: #7a0874; font-weight: bold;">bind</span>:<span style="color: #7a0874; font-weight: bold;">bind</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>named<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">bind</span></pre></div></div>

<p>Ahora necesitamos modificar el fichero /etc/default/syslogd con la finalidad de registrar los mensajes que muestre bind el algún fichero de log. Debemos buscar la linea que pone &lt;&lt;SYSLOGD=&#8221;"&gt;&gt; y lo substituimos por &lt;&lt;SYSLOGD=&#8221;-a /var/lib/named/dev/log&#8221;&gt;&gt;:</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>default<span style="color: #000000; font-weight: bold;">/</span>syslogd</pre></div></div>

<p>El fichero resultante es el siguiente:</p>

<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;">#
# Top configuration file for syslogd
#
&nbsp;
#
# Full documentation of possible arguments are found in the manpage
# syslogd(8).
#
&nbsp;
#
# For remote UDP logging use SYSLOGD=&quot;-r&quot;
#
SYSLOGD=&quot;-a /var/lib/named/dev/log&quot;</pre></div></div>

<p>Reiniciamos el demonio del generador de logs:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>sysklogd restart</pre></div></div>

<p>Iniciamos o arrancamos BIND, y chequeamos /var/log/syslog para observar si se han producido errores:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>bind9 start</pre></div></div>

<p>Para ver si hay errores, hacemos:</p>

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

<p>Ahora pulsamos la z para recorrer el texto hasta el final y observamos si se ha producido algún error tras reiniciar:</p>
<p>Ejemplo:</p>

<div class="wp_syntax"><div class="code"><pre class="null" style="font-family:monospace;">Sep 22 13:13:01 ksxxxxx syslogd 1.4.1#18: restart.
&nbsp;
Sep 22 13:13:01 ksxxxxx /USR/SBIN/CRON[11162]: (root) CMD (/usr/local/rtm/bin/rtm 12 &amp;gt; /dev/null 2&amp;gt; /dev/null)
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: starting BIND 9.3.4-P1.1 -u bind -t /var/lib/named
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: found 1 CPU, using 1 worker thread
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: loading configuration from '/etc/bind/named.conf'
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: no IPv6 interfaces found
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: listening on IPv4 interface lo, 127.0.0.1#53
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: listening on IPv4 interface eth0, 213.251.xxx.xxx#53
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: command channel listening on 127.0.0.1#953
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: zone 0.in-addr.arpa/IN: loaded serial 1
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: zone 127.in-addr.arpa/IN: loaded serial 1
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: zone 255.in-addr.arpa/IN: loaded serial 1
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: zone localhost/IN: loaded serial 1
&nbsp;
Sep 22 13:13:15 ksxxxxx named[11217]: running</pre></div></div>

<p>En este ejemplo, no se observa ningún mensaje de error y, por lo tanto, la instalación ha sido un éxito.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itimag.com/unix/domain-name-server-dns/como-instalar-un-server-de-dns-con-bind-en-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instalando NX Free en Debian Etch 4.0</title>
		<link>http://www.itimag.com/unix/escritorio-remoto-nx-free-en-debian/</link>
		<comments>http://www.itimag.com/unix/escritorio-remoto-nx-free-en-debian/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 22:04:00 +0000</pubDate>
		<dc:creator>Itimag</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[escritorio]]></category>
		<category><![CDATA[NX]]></category>
		<category><![CDATA[remoto]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>

		<guid isPermaLink="false">http://www.itimag.net/servidores/escritorio-remoto-nx-free-en-debian.html</guid>
		<description><![CDATA[Os dejo con este útil script para instalar NX Free en nuestro servidor con Debian Etch 4.0. ¿Qué es NX Free? NX free es una aplicación freeware que una vez instalada en nuestro servidor nos va a permitir conectarnos a éste de forma remota y controlarlo desde nuestro equipo mediante la aplicación NX Client. Es [...]]]></description>
			<content:encoded><![CDATA[<p>Os dejo con este útil script para instalar NX Free en nuestro servidor con Debian Etch 4.0.</p>
<p>¿Qué es NX Free? NX free es una aplicación freeware que una vez instalada en nuestro servidor nos va a permitir conectarnos a éste de forma remota y controlarlo desde nuestro equipo mediante la aplicación NX Client.</p>
<p>Es diferente a ssh ya que NX Free nos permite ver el escritorio de nuestro servidor en nuestro PC.</p>
<p>Veamos el script de instalación de NX Free:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> kdm
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> kde
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> kde-i18n-es
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xutils
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xserver-xfree86
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xfs
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xfonts-base
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xfonts-intl-european
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xfonts-75dpi
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>64.34.161.181<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>3.1.0<span style="color: #000000; font-weight: bold;">/</span>Linux<span style="color: #000000; font-weight: bold;">/</span>nxclient_3.1.0-<span style="color: #000000;">6</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>64.34.161.181<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>3.1.0<span style="color: #000000; font-weight: bold;">/</span>Linux<span style="color: #000000; font-weight: bold;">/</span>nxnode_3.1.0-<span style="color: #000000;">6</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>64.34.161.181<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>3.1.0<span style="color: #000000; font-weight: bold;">/</span>Linux<span style="color: #000000; font-weight: bold;">/</span>FE<span style="color: #000000; font-weight: bold;">/</span>nxserver_3.1.0-<span style="color: #000000;">5</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> nxclient_3.1.0-<span style="color: #000000;">6</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> nxnode_3.1.0-<span style="color: #000000;">6</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> nxserver_3.1.0-<span style="color: #000000;">5</span>_i386.deb
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>NX<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nxserver <span style="color: #660033;">--useradd</span> usuario <span style="color: #660033;">--system</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>para añadir un usuario<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>NX<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nxserver <span style="color: #660033;">--restart</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>reiniciar el servidor<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Cabe destacar que mediante este script instalaremos kde como escritorio.</p>
<p>Si queremos instalarlo con gnome, deberemos ejecutar el siguiente script en nuestro servidor:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> x-window-system
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gnome
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> gdm
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xutils
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xserver-xfree86
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xfs
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xfonts-base
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xfonts-intl-european
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xfonts-75dpi
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>64.34.161.181<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>3.1.0<span style="color: #000000; font-weight: bold;">/</span>Linux<span style="color: #000000; font-weight: bold;">/</span>nxclient_3.1.0-<span style="color: #000000;">6</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>64.34.161.181<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>3.1.0<span style="color: #000000; font-weight: bold;">/</span>Linux<span style="color: #000000; font-weight: bold;">/</span>nxnode_3.1.0-<span style="color: #000000;">6</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>64.34.161.181<span style="color: #000000; font-weight: bold;">/</span>download<span style="color: #000000; font-weight: bold;">/</span>3.1.0<span style="color: #000000; font-weight: bold;">/</span>Linux<span style="color: #000000; font-weight: bold;">/</span>FE<span style="color: #000000; font-weight: bold;">/</span>nxserver_3.1.0-<span style="color: #000000;">5</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> nxclient_3.1.0-<span style="color: #000000;">6</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> nxnode_3.1.0-<span style="color: #000000;">6</span>_i386.deb
<span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> nxserver_3.1.0-<span style="color: #000000;">5</span>_i386.deb
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>NX<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nxserver <span style="color: #660033;">--useradd</span> usuario <span style="color: #660033;">--system</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>para añadir un usuario<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>NX<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>nxserver <span style="color: #660033;">--restart</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>reiniciar el servidor<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>Una vez instalado y configurado el usuario con el que accederemos, solo nos falta instalar el NX Client para poder acceder al servidor. Lo podemos bajar desde <a href="http://www.nomachine.com/download.php">aquí</a>.</p>
<p>Espero que os sea de utilidad.</p>
<p>Fuente de información, los <a href="http://foros.ovh.es/showthread.php?t=1512">foros de ovh</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itimag.com/unix/escritorio-remoto-nx-free-en-debian/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Tengo un servidor RPS</title>
		<link>http://www.itimag.com/noticias/privado-virtual-rps-ovh/</link>
		<comments>http://www.itimag.com/noticias/privado-virtual-rps-ovh/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 22:26:42 +0000</pubDate>
		<dc:creator>Itimag</dc:creator>
				<category><![CDATA[Noticias]]></category>
		<category><![CDATA[dedicado]]></category>
		<category><![CDATA[ovh]]></category>
		<category><![CDATA[private]]></category>
		<category><![CDATA[real]]></category>
		<category><![CDATA[RPS]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>

		<guid isPermaLink="false">http://www.itimag.net/servidores/servidor-privado-virtual-rps-ovh.html</guid>
		<description><![CDATA[Hace unos días que me enteré que una empresa de Hosting francesa (que trabaja también en España) iba a realizar unas pruebas con un nuevo hardware y por ello se ofrecía un servidor RPS (Real Private Server) gratis a cambio de que comentes los fallos detectados en el sistema. ¿Qué es un RPS? Las siglas [...]]]></description>
			<content:encoded><![CDATA[<p>Hace unos días que me enteré que una <a href="http://www.ovh.es/">empresa de Hosting francesa</a> (que trabaja también en España) iba a realizar unas pruebas con un nuevo hardware y por ello se ofrecía un servidor <a href="http://www.ovh.es/productos/productos_rps.xml">RPS</a> (Real Private Server) gratis a cambio de que comentes los fallos detectados en el sistema.</p>
<p>¿Qué es un RPS? Las siglas RPS provienen del inglés Real Private Server y básicamente consiste en un computador con el procesador integrado en la placa base, con una tarjeta de red integrada y de dimensiones muy reducidas. Además tienen un consumo eléctrico muy bajo que hacen de estos ordenadores una opción muy acertada para colaborar con el medio ambiente y reducir costes.</p>
<p>La potencia de la CPU del RPS que tengo es equivalente al antiguo Celeron 2.0GHz/2.6GH (los hay de más potentes) y están dotados de una memoria RAM DDR2 de 512MB.</p>
<p>En términos de tráfico, dispone de una interfaz de red 100Mbps. <strong>NO</strong> hay limitación de tráfico, exactamente igual a como se hace en el resto de productos de servidores dedicados en OVH. <strong>Una gozada!</strong></p>
<p>El disco duro es compartido entre varios servidores utilizando la tecnología iSCI. Por ello, el servidor viene con 10GB de espacio de disco duro ampliables hasta 1 Terabyte (pagando por GB añadidos).</p>
<p>Si has leído hasta aquí seguramente te preguntarás por el precio. Que conste que esta entrada no es una entrada promocionada pero creo que <a href="http://www.ovh.es/">esta empresa</a> se merece que la gente hable de ella. El precio es de 9,99€ /mes + IVA. El mismo precio que algunas empresas de hosting compartido tradicional.</p>
<p>Poco a poco os iré contando mis experiencias con este servidor. Un saludo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itimag.com/noticias/privado-virtual-rps-ovh/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Como montar un servidor web dedicado</title>
		<link>http://www.itimag.com/noticias/como-montar-un-servidor-web-dedicado/</link>
		<comments>http://www.itimag.com/noticias/como-montar-un-servidor-web-dedicado/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 22:45:47 +0000</pubDate>
		<dc:creator>Itimag</dc:creator>
				<category><![CDATA[Noticias]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[DDos]]></category>
		<category><![CDATA[dedicado]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[servidor]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.itimag.net/servidores/como-montar-un-servidor-web-dedicado.html</guid>
		<description><![CDATA[Hace un par de días buscaba información sobre cómo montar y administrar mi propio servidor web. Me encontré con este portal en el cual un joven nos comenta sus experiencias. Entre ellas destacan el ataque DDOS que recibió y el efecto Barrapunto. Hoy me he llenado de alegría cuando he visto una enlace muy interesante [...]]]></description>
			<content:encoded><![CDATA[<p>Hace un par de días buscaba información sobre cómo montar y administrar mi propio servidor web. Me encontré <a href="http://www.danielclemente.com/">con este portal</a> en el cual <a href="http://www.danielclemente.com/cv/">un joven</a> nos comenta sus experiencias. Entre ellas destacan el <a href="http://www.danielclemente.com/ataque/">ataque DDOS</a> que recibió y el <a href="http://www.danielclemente.com/barrapunto/">efecto Barrapunto</a>.</p>
<p>Hoy me he llenado de alegría cuando he visto una enlace muy interesante en <a href="http://www.bandaancha.st/weblogart.php?artid=5471">bandaancha.st</a> y/o <a href="http://meneame.net/story/how-to-como-montar-mantener-hosting-casero">meneame.net</a> dirigido al blog de <a href="http://www.vicente-navarro.com/blog/">Vicente Navarro</a> en el cual se publica un fantástico <a href="http://www.vicente-navarro.com/blog/2008/03/09/hosting-casero-howto/">How-to o manual para crear un Hosting o servidor web casero</a>.</p>
<p>Sin duda alguna me gustaría poder llegar a adquirir los conocimientos que estos individuos han adquirido con la experiencia. Desde aquí les quiero hacer llegar mi más sincera enhorabuena.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.itimag.com/noticias/como-montar-un-servidor-web-dedicado/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

