<?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>David Toribio &#187; php</title>
	<atom:link href="http://david.toribio.eu/categoria/it/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://david.toribio.eu</link>
	<description>Blog personal David Toribio</description>
	<lastBuildDate>Sun, 06 May 2012 07:13:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>RackTables : Inventario de tu DataCenter, asset  e ips</title>
		<link>http://david.toribio.eu/2010/09/05/racktables-inventario-de-tu-datacenter-asset-e-ips/</link>
		<comments>http://david.toribio.eu/2010/09/05/racktables-inventario-de-tu-datacenter-asset-e-ips/#comments</comments>
		<pubDate>Sun, 05 Sep 2010 20:19:47 +0000</pubDate>
		<dc:creator>Dueño</dc:creator>
				<category><![CDATA[Aplicaciones]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[datacenter]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Monitorizar]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[PCRE]]></category>
		<category><![CDATA[racktable]]></category>
		<category><![CDATA[regular expressions]]></category>
		<category><![CDATA[Unicode]]></category>

		<guid isPermaLink="false">http://david.toribio.eu/?p=582</guid>
		<description><![CDATA[Para inventariar tus cables, equipos, racks, enchufes etc una cosa simple, un poco verde, pero razonablemente eficaz es racktables. Básicamente es la típica aplicación LAMP con autoinstalador para rematar la instalación en un panel PHP. Sin embargo tienen un requerimiento un poco puñetero. Para resolver el requerimiento hay que compilar un componente para lo cual [...]]]></description>
			<content:encoded><![CDATA[<p>Para inventariar tus cables, equipos, racks, enchufes etc una cosa simple, un poco verde, pero razonablemente eficaz es <a href="http://racktables.org/">racktables</a>.</p>
<p>Básicamente es la típica aplicación LAMP con autoinstalador para rematar la instalación en un panel PHP. Sin embargo tienen un requerimiento un poco puñetero.</p>
<p>Para resolver el requerimiento hay que compilar un componente para lo cual detallo los pasos para ir al grano:</p>
<p>Regenerar el RPM: nos bajáramos el rpm source del paquete en cuestión que se llamara algo parecido a:</p>
<blockquote><p>pcre-6.6-2.el5_1.7.src.rpm</p></blockquote>
<p>Os recomiendo un yum update previo y que busquéis el paquete exacto con un:</p>
<blockquote><p>rpm -qa | grep pcre</p></blockquote>
<p>Os instalais el src.rpm con algo asi como:</p>
<blockquote><p>$ rpm -ivh pcre-6.6-2.el5_1.7.src.rpm</p></blockquote>
<p>Esto te colocara unos archivos en algún stio parecido a:  ~/src/rpm/SOURCES y ~/src/rpm/SPECS</p>
<p>Yo he abierto el archivo  ~/src/rpm/SPECS/pcre.spec y he editado la linea:</p>
<blockquote><p>%configure &#8211;enable-utf8</p></blockquote>
<p>La editor para que quede algo parecido I changed it to include the Unicode properties option:</p>
<blockquote><p>%configure &#8211;enable-utf8 &#8211;enable-unicode-properties</p></blockquote>
<p>A continuación genero el nuevo rpm</p>
<blockquote><p>$ rpmbuild -ba ~/src/rpm/SPECS/pcre.spec</p></blockquote>
<p>Y vere algo parecido a:</p>
<blockquote><p>Wrote: ~/src/rpm/SRPMS/pcre-6.6-2.7.src.rpm<br />
Wrote: ~/src/rpm/RPMS/x86_64/pcre-6.6-2.7.x86_64.rpm<br />
Wrote: ~/src/rpm/RPMS/x86_64/pcre-devel-6.6-2.7.x86_64.rpm<br />
Wrote: ~/src/rpm/RPMS/x86_64/pcre-debuginfo-6.6-2.7.x86_64.rpm</p></blockquote>
<p>Una vez acabado hago un update del rpm usando el que he generado de nuevo</p>
<blockquote><p># rpm -Uvh ~/src/rpm/RPMS/x86_64/pcre-6.6-2.7.x86_64.rpm</p></blockquote>
<p>Ejecuto un test para ver is a quedado bien:</p>
<blockquote><p>$ pcretest -C<br />
PCRE version 6.6 06-Feb-2006<br />
Compiled with<br />
UTF-8 support<br />
Unicode properties support<br />
Newline character is LF<br />
Internal link size = 2<br />
POSIX malloc threshold = 10<br />
Default match limit = 10000000<br />
Default recursion depth limit = 10000000<br />
Match recursion uses stack</p></blockquote>
<p>Buena suerte y que lo paséis bien.</p>
]]></content:encoded>
			<wfw:commentRss>http://david.toribio.eu/2010/09/05/racktables-inventario-de-tu-datacenter-asset-e-ips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducción XAJAX</title>
		<link>http://david.toribio.eu/2008/12/10/introduccion-xajax/</link>
		<comments>http://david.toribio.eu/2008/12/10/introduccion-xajax/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 08:59:40 +0000</pubDate>
		<dc:creator>Dueño</dc:creator>
				<category><![CDATA[Bibliografia]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[libro]]></category>
		<category><![CDATA[xjax]]></category>

		<guid isPermaLink="false">http://david.toribio.eu/?p=397</guid>
		<description><![CDATA[Ultimamente no me prodigo mucho, a ver si vuelvo a coger el ritmo. Recopilo un buen documento de introducción para empezar a programar en ajax si lo tuyo es el PHP y aún no te has metido con ajax http://www.scribd.com/doc/86539/Ajax-Manual-Spanish]]></description>
			<content:encoded><![CDATA[<p>Ultimamente no me prodigo mucho, a ver si vuelvo a coger el ritmo.</p>
<p>Recopilo un buen documento de introducción para empezar a programar en ajax si lo tuyo es el PHP y aún no te has metido con ajax</p>
<p><a href="http://www.scribd.com/doc/86539/Ajax-Manual-Spanish">http://www.scribd.com/doc/86539/Ajax-Manual-Spanish</a></p>
]]></content:encoded>
			<wfw:commentRss>http://david.toribio.eu/2008/12/10/introduccion-xajax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

