<?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>La Fabulosa Vida del Estudiante</title>
	<atom:link href="http://luzem.dyndns.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://luzem.dyndns.org</link>
	<description>Aventuras y desventuras de un futuro IT</description>
	<lastBuildDate>Tue, 12 Feb 2013 22:36:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Install BackupPC on Centos 6.3</title>
		<link>http://luzem.dyndns.org/2013/02/13/install-backuppc-on-centos-6-3/</link>
		<comments>http://luzem.dyndns.org/2013/02/13/install-backuppc-on-centos-6-3/#comments</comments>
		<pubDate>Tue, 12 Feb 2013 22:36:35 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sistemas Operativos]]></category>
		<category><![CDATA[BackupPC]]></category>
		<category><![CDATA[centos 6]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[rhel 6]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2914</guid>
		<description><![CDATA[Backups are important, every hard disk, every motherboard, every piece of hardware will fail.  Remember this if you don&#8217;t have a backup system. Step 1. Install required software enable epel repo yum install wget wget http://ftp.rediris.es/mirror/fedora-epel/6/i386/epel-release-6-7.noarch.rpm rpm -i epel-release-6-7.noarch.rpm yum install BackupPC Step 2:enable Apache webserver edit apache config file vi /etc/httpd/conf/httpd.conf and make apache [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://luzem.dyndns.org/wp-content/uploads/2013/02/BackupPC_logo.png"><img class="aligncenter size-full wp-image-2935" alt="BackupPC logo" src="http://luzem.dyndns.org/wp-content/uploads/2013/02/BackupPC_logo.png" width="250" height="77" /></a></p>
<p>Backups are important, every hard disk, every motherboard, every piece of hardware will fail.  Remember this if you don&#8217;t have a backup system.</p>
<p><strong>Step 1. Install required software</strong></p>
<p>enable epel repo</p>
<p>yum install wget</p>
<p>wget http://ftp.rediris.es/mirror/fedora-epel/6/i386/epel-release-6-7.noarch.rpm<br />
rpm -i epel-release-6-7.noarch.rpm</p>
<p>yum install BackupPC</p>
<p><strong>Step 2:enable Apache webserver</strong></p>
<p>edit apache config file</p>
<p>vi /etc/httpd/conf/httpd.conf</p>
<p>and make apache run as backuppc user</p>
<p>User backuppc</p>
<p>edit BackupPC apache config</p>
<p>vi /etc/httpd/conf.d/BackupPC.conf</p>
<p>should be like these</p>
<p>&lt;IfModule !mod_authz_core.c&gt;<br />
# Apache 2.2<br />
order deny,allow<br />
allow from all<br />
allow from 127.0.0.1<br />
allow from ::1<br />
require valid-user<br />
&lt;/IfModule&gt;</p>
<p>chkconfig httpd on</p>
<p>/etc/init.d/httpd start</p>
<p><strong>Step 3: Configure Backuppc password</strong></p>
<p>htpasswd -c /etc/BackupPC/apache.users backuppc</p>
<p><strong>Step 4: Enable BackupPC Service</strong></p>
<p>chkconfig backuppc on</p>
<p>/etc/init.d/backuppc start</p>
<p><strong>Step 5: Verify installation</strong></p>
<p>open a browser and navigate to</p>
<p>http://&lt;Backupchost&gt;/backuppc</p>
<p><a href="http://luzem.dyndns.org/wp-content/uploads/2013/02/Clean_backup_pc_install.png"><img class="aligncenter size-medium wp-image-2946" alt="Clean backup pc install" src="http://luzem.dyndns.org/wp-content/uploads/2013/02/Clean_backup_pc_install-300x94.png" width="300" height="94" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2013/02/13/install-backuppc-on-centos-6-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Instaling Webinject in fedora 17</title>
		<link>http://luzem.dyndns.org/2013/01/15/instaling-webinject-in-fedora-17/</link>
		<comments>http://luzem.dyndns.org/2013/01/15/instaling-webinject-in-fedora-17/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 15:02:26 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[webinjectlogo]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2910</guid>
		<description><![CDATA[I din&#8217;t found a Webinject package for Fedora 17, so I decided download the source. For get webinject working You&#8217;ll need install these packages yum install perl-Crypt-SSLeay yum install perl-XML-Simple yum install perl-Tk-ProgressBar-Mac yum install perl-Tk-Stderr yum install perl-Tk Now you only will need execute ./webinjectgui.pl]]></description>
				<content:encoded><![CDATA[<p><a href="http://luzem.dyndns.org/wp-content/uploads/2013/01/webinject.gif"><img class="aligncenter size-full wp-image-2912" alt="Webinject Logo" src="http://luzem.dyndns.org/wp-content/uploads/2013/01/webinject.gif" width="213" height="92" /></a></p>
<p>I din&#8217;t found a Webinject package for Fedora 17, so I decided download the source.</p>
<p>For get webinject working You&#8217;ll need install these packages<br />
yum install perl-Crypt-SSLeay<br />
yum install perl-XML-Simple<br />
yum install perl-Tk-ProgressBar-Mac<br />
yum install perl-Tk-Stderr<br />
yum install perl-Tk</p>
<p>Now you only will need execute ./webinjectgui.pl</p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2013/01/15/instaling-webinject-in-fedora-17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sudo and /etc/sudoers.d directory</title>
		<link>http://luzem.dyndns.org/2013/01/04/sudo-and-etcsudoers-d-directory/</link>
		<comments>http://luzem.dyndns.org/2013/01/04/sudo-and-etcsudoers-d-directory/#comments</comments>
		<pubDate>Fri, 04 Jan 2013 15:44:46 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Sistemas Operativos]]></category>
		<category><![CDATA[/etc/sudoers.d]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2900</guid>
		<description><![CDATA[I needed to add a new user into sudoers file into several debian machines, i didn&#8217;t want open a terminal in each machine and add the line manually, the other option was append a new line into the file like echo &#8220;new line&#8221;&#62;&#62; /etc/sudoers .But I don&#8217;t like edit sudoers file without using visudo, I [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://luzem.dyndns.org/wp-content/uploads/2013/01/sudo_logo.png"><img class="aligncenter size-full wp-image-2902" alt="sudo logo" src="http://luzem.dyndns.org/wp-content/uploads/2013/01/sudo_logo.png" width="137" height="153" /></a></p>
<p>I needed to add a new user into sudoers file into several debian machines, i didn&#8217;t want open a terminal in each machine and add the line manually, the other option was append a new line into the file like echo &#8220;new line&#8221;&gt;&gt; /etc/sudoers .But I don&#8217;t like edit sudoers file without using visudo, I don&#8217;t feel safe.</p>
<p>Reading the debian documentation I found a magical directive for append external files #includedir /etc/sudoers.d, that&#8217;s mean if I add a new file  with <strong><span style="text-decoration: underline;">0440 permisions</span></strong> and the permissions are important will be appended into our sudo config.</p>
<p>Removing the hash character is a inherited custom ok don&#8217;t remove the hash character <strong> is not a comment indicador</strong> withouth the hash character, includedir /etc/sudoers.d is a bad line and visudo show an error.</p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2013/01/04/sudo-and-etcsudoers-d-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating from M0n0wall to pfSense</title>
		<link>http://luzem.dyndns.org/2012/12/01/migrating-from-monowall-to-pfsense/</link>
		<comments>http://luzem.dyndns.org/2012/12/01/migrating-from-monowall-to-pfsense/#comments</comments>
		<pubDate>Sat, 01 Dec 2012 19:59:09 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[Aparatitos]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Redes]]></category>
		<category><![CDATA[alix]]></category>
		<category><![CDATA[compactflash]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[nano]]></category>
		<category><![CDATA[pfSense]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2877</guid>
		<description><![CDATA[During the last year,  talking with some colleages about firewalls and operative systems the mayor part of then said that they&#8217;re using, Pfsense instead M0n0wall. Recently I get a new job and my home networks are in the same range that the work network and some clients. To avoid this situation I decided migrate my [...]]]></description>
				<content:encoded><![CDATA[<p>During the last year,  talking with some colleages about firewalls and operative systems the mayor part of then said that they&#8217;re using, Pfsense instead M0n0wall. Recently I get a new job and my home networks are in the same range that the work network and some clients. To avoid this situation I decided migrate my router from M0n0wall to Pfsense and thats are the steps:</p>
<p>I decided maintain a copy of the actual M0n0wall config, bougth a new compact flash was the quick option.</p>
<p><a href="http://luzem.dyndns.org/wp-content/uploads/2012/12/sandisk_ultra_compactFlash_4GB.jpg"><img class="aligncenter size-medium wp-image-2880" title="Sandisk Ultra CompactFlash 4GB" src="http://luzem.dyndns.org/wp-content/uploads/2012/12/sandisk_ultra_compactFlash_4GB-300x300.jpg" alt="" width="300" height="300" /></a><strong>Download pfSense</strong></p>
<p>First I downloaded the version for my router, in this case it&#8217;s and ALIX Board without VGA,, that means that i need to choose the nanobsd version and my compactFlash size is 4Gb, if I had a bigger campactFlash I just only need to take the 4gb versión.</p>
<p>wget http://files.nl.pfsense.org/mirror/downloads/pfSense-2.0.1-RELEASE-4g-i386-nanobsd.img.gz<br />
wget http://files.nl.pfsense.org/mirror/downloads/pfSense-2.0.1-RELEASE-4g-i386-nanobsd.img.gz.md5</p>
<p>wget http://files.nl.pfsense.org/mirror/downloads/pfSense-2.0.1-RELEASE-4g-i386-nanobsd.img.gz.sha256</p>
<p><strong>Verify downloaded image:</strong></p>
<p>md5sum pfSense-2.0.1-RELEASE-4g-i386-nanobsd.img.gz</p>
<p>and check if output it&#8217;s the same that content in /pfSense-2.0.1-RELEASE-4g-i386-nanobsd.img.gz.md5</p>
<p>sha256sum pfSense-2.0.1-RELEASE-4g-i386-nanobsd.img.gz</p>
<p>and check if output it&#8217;s the same that content in /pfSense-2.0.1-RELEASE-4g-i386-nanobsd.img.gz.sha256</p>
<p><strong>Dump pfSense into the compact flash</strong></p>
<p>In my case as fedora user i need to detect what device file is linked to my compactFlash i make this</p>
<p>open a root cosole and write</p>
<p>mount &gt;mountedBefore</p>
<p>this generate a file with actual mounted files</p>
<p>i attach the compact flash and execute</p>
<p>mount &gt;mountedAfter</p>
<p>now i write</p>
<p>diff mountedBefore mountedAfter</p>
<p>and the output will be like:</p>
<p>&gt; /dev/sdd1 on /run/media/luzem/753C-3741 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=cp437,iocharset=ascii,shortname=mixed,showexec,utf8,errors=remount-ro,uhelper=udisks2)</p>
<p>It said that my compact flash is on /dev/sdd file</p>
<p>first i need to umount it</p>
<p>umount /dev/sdd1</p>
<p>now i decompress and dump pfSense into compact flash writing</p>
<pre>zcat pfSense-2.0.1-RELEASE-4g-i386-nanobsd.img.gz | dd of=/dev/sdd bs=16k</pre>
<p>you should get and output like these</p>
<p>244138+1 records in<br />
244138+1 records out<br />
3999969792 bytes (4.0 GB) copied, 226.826 s, 17.6 MB/s</p>
<p><strong>Putting pfSense into alix board</strong></p>
<p>Now plug the compactFlash on your board</p>
<p>connect your board , power, ethernet &#8230;.</p>
<p>enjoy reconfiguring yout new router</p>
<p><a href="http://luzem.dyndns.org/wp-content/uploads/2012/12/alix.jpg"><img class="aligncenter size-medium wp-image-2886" title="alix 2d3" src="http://luzem.dyndns.org/wp-content/uploads/2012/12/alix-300x224.jpg" alt="alix 2d3" width="300" height="224" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2012/12/01/migrating-from-monowall-to-pfsense/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a Php Continuous integration environment in Centos 6</title>
		<link>http://luzem.dyndns.org/2012/07/31/setting-up-a-php-continuous-integration-environment-in-centos-6/</link>
		<comments>http://luzem.dyndns.org/2012/07/31/setting-up-a-php-continuous-integration-environment-in-centos-6/#comments</comments>
		<pubDate>Tue, 31 Jul 2012 09:32:57 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[continous integration]]></category>
		<category><![CDATA[jenkins]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmd]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2861</guid>
		<description><![CDATA[As part of my job I need to create a continuous integration environment for my develops in Php. first I installed Gitlab and then I installed Jenkins using the web page tutorial ( http://jenkins-ci.org/ ). you need to have enabled EPEL repos http://fedoraproject.org/wiki/EPEL and rpm Fusion repos http://rpmfusion.org/ . when you have Jenkins installed you will [...]]]></description>
				<content:encoded><![CDATA[<p>As part of my job I need to create a continuous integration environment for my develops in Php.</p>
<p>first I installed Gitlab and then I installed Jenkins using the web page tutorial (<a title="Jenkins CI" href=" http://jenkins-ci.org/" target="_blank"> http://jenkins-ci.org/</a> ).</p>
<p>you need to have enabled EPEL repos <a title="EPEL repos" href="http://fedoraproject.org/wiki/EPEL" target="_blank">http://fedoraproject.org/wiki/EPEL</a> and rpm Fusion repos <a title="rpm Fusion" href="http://rpmfusion.org/" target="_blank">http://rpmfusion.org/</a> .</p>
<p>when you have Jenkins installed you will need install the needed packages open a root terminal and write:</p>
<blockquote><p>yum install ant php php-phpunit-phploc php-pdepend-PHP-Depend.noarch php-phpmd-PHP-PMD.noarch php-phpunit-phpcpd.noarch php-phpunit-phploc.noarch php-pear-PHP-CodeSniffer.noarch php-phpunit-PHP-CodeBrowser.noarch</p></blockquote>
<p>The next step is add the php template into Jenkins CI</p>
<ul>
<li>cd /var/lib/jenkins/jobs</li>
<li>mkdir php-template</li>
<li>cd php-template</li>
<li>wget https://raw.github.com/sebastianbergmann/php-jenkins-template/master/config.xml</li>
<li>cd ..</li>
<li>chown -R jenkins:jenkins php-template/</li>
<li>/etc/init.d/jenkins restart</li>
</ul>
<p>now we can create a new php project based on the php-template <img src='http://luzem.dyndns.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2012/07/31/setting-up-a-php-continuous-integration-environment-in-centos-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More problems installing Fedora 17</title>
		<link>http://luzem.dyndns.org/2012/05/31/more-problems-installing-fedora-17/</link>
		<comments>http://luzem.dyndns.org/2012/05/31/more-problems-installing-fedora-17/#comments</comments>
		<pubDate>Thu, 31 May 2012 17:19:15 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bios update]]></category>
		<category><![CDATA[Fedora 17]]></category>
		<category><![CDATA[linux only show one core]]></category>
		<category><![CDATA[MA785GM-US2H]]></category>
		<category><![CDATA[only one cpu]]></category>
		<category><![CDATA[phenom]]></category>
		<category><![CDATA[solved]]></category>
		<category><![CDATA[SQUASHFS error: Unable to read page]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2836</guid>
		<description><![CDATA[After install fedora 17 into my friend computer, My desktop gets your turn. I follow my classic fedora installation method. Download install DVD x86_64 version iso image. Burn a blank DVD Boot my computer from the DVD these are my normal steps but my boot DVD shoa lot of errors like: SQUASHFS error: Unable to [...]]]></description>
				<content:encoded><![CDATA[<p>After install fedora 17 into my friend computer, My desktop gets your turn.</p>
<p>I follow my classic fedora installation method.</p>
<ol>
<li>Download install DVD x86_64 version iso image.</li>
<li>Burn a blank DVD</li>
<li>Boot my computer from the DVD</li>
</ol>
<p>these are my normal steps but my boot DVD shoa lot of errors like:</p>
<blockquote><p>SQUASHFS error: Unable to read page, block xxxxxxxF, size xxxF</p></blockquote>
<p><a href="http://luzem.dyndns.org/wp-content/uploads/2012/05/SQUASHFS_ERROR.jpg"><img class="aligncenter size-medium wp-image-2842" title="SQUASHFS ERROR" src="http://luzem.dyndns.org/wp-content/uploads/2012/05/SQUASHFS_ERROR-300x168.jpg" alt="" width="300" height="168" /></a></p>
<p>I read some info from forums and they say that the problem was with the dvd, Because after install fedora in my desktop I was installed Hasefroch 7  and burned Fedora ISO in the same computer.</p>
<p>After Downloaded Sha256 for windows and check that I have the correct image, i go to bed and leave the computer checking a new recorder DVD.</p>
<p>When I get up I observer tat new DVD has errors too, so i decided to download a live cd iso and try with live CD, this method works and i could install fedora but i saw a small number of errors but it was thinking the live cd  too small for support everything. so i decide install my system from the live cd hopping that errors disappears at first boot.</p>
<p>After install a bad behavior appear in the screen and system appears to frozen in moments with unexpected X restarts. I decide to check running process using top et voila. My Phenom computer only has one processor working <img src='http://luzem.dyndns.org/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  . After that I remember that when change the hard disk some wires from the pow source stopped the CPU fan for a moment, 20 secs approx, a disaster has coming i burn my cpu and  need to buy a new processor, but when i reboot on haseforch  saw four cores working, that not was a CPU problem so I check the dmesg output.</p>
<pre>[    0.006467] ACPI: Core revision 20120111
[    0.009031] ftrace: allocating 22596 entries in 89 pages
[    0.017650] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1
[    0.028157] CPU0: AMD Phenom(tm) 9850 Quad-Core Processor stepping 03
[    0.028998] Performance Events: AMD PMU driver.
[    0.028998] ... version:                0
[    0.028998] ... bit width:              48
[    0.028998] ... generic registers:      4
[    0.028998] ... value mask:             0000ffffffffffff
[    0.028998] ... max period:             00007fffffffffff
[    0.028998] ... fixed-purpose events:   0
[    0.028998] ... event mask:             000000000000000f
[    0.028998] NMI watchdog enabled, takes one hw-pmu counter.
[    0.028998] Booting Node   0, Processors  #1
[    0.028998] smpboot cpu 1: start_ip = 93000
[    6.975648] CPU1: Not responding.
[    6.976466]  #2
[    6.976475] smpboot cpu 2: start_ip = 93000
[   14.279079] CPU2: Not responding.
[   14.281137]  #3
[   14.281146] smpboot cpu 3: start_ip = 93000
[   21.143977] CPU3: Not responding.
[   21.144993] Brought up 1 CPUs
[   21.145004] Total of 1 processors activated (5022.87 BogoMIPS).
[   21.147104] devtmpfs: initialized
[   21.147356] PM: Registering ACPI NVS region at cfcf0000 (12288 bytes)</pre>
<p>I try changing kernel boot parameters without acpi with NOACPI and a lot of things and every time that my computer reboot my Linux only show one core.</p>
<p>Finally i found the guilty element it doesn&#8217;t was the CPU it was the motherboard</p>
<p><a href="http://luzem.dyndns.org/wp-content/uploads/2012/05/MA785GM-US2H.jpg"><img class="aligncenter size-medium wp-image-2843" title="MA785GM-US2H" src="http://luzem.dyndns.org/wp-content/uploads/2012/05/MA785GM-US2H-300x168.jpg" alt="MA785GM-US2H" width="300" height="168" /></a>I update the bios using the last version but it doesn&#8217;t work, finally I download a BIOS beta version , mb_bios_ga-ma785gm-us2h_f12a, from gigabyte web page and it works.</p>
<pre>[    0.026770] CPU0: AMD Phenom(tm) 9850 Quad-Core Processor stepping 03
[    0.026998] Performance Events: AMD PMU driver.
[    0.026998] ... version:                0
[    0.026998] ... bit width:              48
[    0.026998] ... generic registers:      4
[    0.026998] ... value mask:             0000ffffffffffff
[    0.026998] ... max period:             00007fffffffffff
[    0.026998] ... fixed-purpose events:   0
[    0.026998] ... event mask:             000000000000000f
[    0.026998] NMI watchdog enabled, takes one hw-pmu counter.
[    0.026998] Booting Node   0, Processors  #1
[    0.026998] smpboot cpu 1: start_ip = 93000
[    0.038014] NMI watchdog enabled, takes one hw-pmu counter.
[    0.038094]  #2
[    0.038095] smpboot cpu 2: start_ip = 93000
[    0.050011] NMI watchdog enabled, takes one hw-pmu counter.
[    0.050083]  #3
[    0.050084] smpboot cpu 3: start_ip = 93000
[    0.062009] NMI watchdog enabled, takes one hw-pmu counter.
[    0.062032] Brought up 4 CPUs
[    0.062034] Total of 4 processors activated (20091.79 BogoMIPS).</pre>
<p>Now all the cores are available. Screen doesn&#8217;t works yet and I&#8217;m downloading a new DVD copy because i don&#8217;t like liveCD install.</p>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2012/05/31/more-problems-installing-fedora-17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nvidia Fx 5200 on Fedora 17</title>
		<link>http://luzem.dyndns.org/2012/05/29/nvidia-fx-5200-on-fedora-17/</link>
		<comments>http://luzem.dyndns.org/2012/05/29/nvidia-fx-5200-on-fedora-17/#comments</comments>
		<pubDate>Tue, 29 May 2012 11:05:51 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora 17]]></category>
		<category><![CDATA[FX 5200]]></category>
		<category><![CDATA[Nvidia Legacy]]></category>
		<category><![CDATA[Out of Rangue]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2818</guid>
		<description><![CDATA[recently a friend lend me your desktop pc for reinstall the OS, I decided install Fedora 17 as a backup OS, if something happens with Windows XP linux will save his life. After install and configure Windows XP, Fedora take his turn, but when the install process ended an out of range message appears into [...]]]></description>
				<content:encoded><![CDATA[<p>recently a friend lend me your desktop pc for reinstall the OS, I decided install Fedora 17 as a backup OS, if something happens with Windows XP linux will save his life.</p>
<p>After install and configure Windows XP, Fedora take his turn, but when the install process ended an out of range message appears into my screen. Fortunately network was working and ssh was runing <img src='http://luzem.dyndns.org/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> .</p>
<p>First I take my laptop and  discover the nvidia computer ip, you can check your router ip or use nmap.</p>
<p>ssh &lt;nvidia_ip&gt; -l root</p>
<p>vim /etc/default/grub</p>
<p>and append in your  GRUB_CMDLINE_LINUX  this text &#8220;rhgb quiet rdblacklist=nouveau nouveau.modeset=0&#8243;</p>
<p>GRUB_CMDLINE_LINUX=&#8221;rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True rd.luks=0 LANG=es_ES.UTF-8  KEYTABLE=es rhgb quiet rdblacklist=nouveau nouveau.modeset=0&#8243;</p>
<p>and finally run</p>
<p>grub2-mkconfig -o /boot/grub2/grub.cfg</p>
<p>reboot your computer</p>
<p>reboot &amp;&amp; exit</p>
<p>now your screen is working , not fluent  but working <img src='http://luzem.dyndns.org/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2012/05/29/nvidia-fx-5200-on-fedora-17/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jenkins Xvfb in Centos 6</title>
		<link>http://luzem.dyndns.org/2012/05/03/jenkins-xvfb-in-centos-6/</link>
		<comments>http://luzem.dyndns.org/2012/05/03/jenkins-xvfb-in-centos-6/#comments</comments>
		<pubDate>Wed, 02 May 2012 22:46:22 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[Programación]]></category>
		<category><![CDATA[centos 6]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[jenkins]]></category>
		<category><![CDATA[rhel 6]]></category>
		<category><![CDATA[Xvfb]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2807</guid>
		<description><![CDATA[During my last adventures with Jenkins y suffered into a new problem trying to running my gtester&#8217;s test battery. [exec] TEST: tests/stkmngtest... (pid=13754) [exec] [exec] Gtk-WARNING **: cannot open display: [exec] aborting... [exec] FAIL: tests/stkmngtest that makes my test suite were aborted  and also makes Jenkins useless, and useless things are my competitors because the [...]]]></description>
				<content:encoded><![CDATA[<p>During my last adventures with Jenkins y suffered into a new problem trying to running my gtester&#8217;s test battery.</p>
<pre> [exec] TEST: tests/stkmngtest... (pid=13754)
     [exec]
     [exec] Gtk-WARNING **: cannot open display:
     [exec] aborting...
     [exec] FAIL: tests/stkmngtest</pre>
<p>that makes my test suite were aborted  and also makes Jenkins useless, and useless things are my competitors because the only useless thing allowed at home is me <img src='http://luzem.dyndns.org/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  .</p>
<p>The basic problem is that there no are a XOrg session running, first I change runlevel to 5 and expect see test runing  a big FAIL was the result.</p>
<p>after reading a bit of literature I discover a thing called Xvfb</p>
<p>for install follow these steps</p>
<p>su</p>
<p>yum install Xvfb</p>
<p>yum install mesa-dri-drivers</p>
<p>the next step was try to install Xvfb plugin in jenkins but i doesn&#8217;t work it give these exception</p>
<pre>FATAL: null
java.lang.NullPointerException
	at org.jenkinsci.plugins.xvfb.XvfbBuildWrapper.decorateLauncher(XvfbBuildWrapper.java:165)
	at hudson.model.AbstractBuild$AbstractRunner.createLauncher(AbstractBuild.java:525)
	at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:452)
	at hudson.model.Run.run(Run.java:1434)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:239)</pre>
<p><del>I found a quick and dirty solution that is put a xvfb-run call in commands that need a xserver like this</del></p>
<p><del>&lt;target name=&#8221;runtest&#8221; description=&#8221;run glib test&#8221;&gt;</del><br />
<del> &lt;exec executable=&#8221;xvfb-run&#8221;&gt;</del><br />
<del> &lt;arg value=&#8221;gtester&#8221;/&gt;</del><br />
<del> &lt;arg value=&#8221;tests/stkmngtest&#8221;/&gt;</del><br />
<del> &lt;arg value=&#8221;&#8211;keep-going&#8221;/&gt;</del><br />
<del> &lt;arg value=&#8221;-o=Tests.xml&#8221;/&gt;</del><br />
<del> &lt;/exec&gt;</del><br />
<del> &lt;/target&gt;</del></p>
<p>the solution for solve these problem is configure Jenkins plugin BIG BIG BIG THANKS TO<a href="http://tomwys.info/"> Tomasz Wysocki</a>, he show me the missing configuration options.</p>
<p>Here for global settings</p>
<p><a href="http://luzem.dyndns.org/wp-content/uploads/2012/05/jenkins_Xvfb_centos_global_config.png"><img class="aligncenter size-medium wp-image-2831" title="jenkins Xvfb Centos global settings" src="http://luzem.dyndns.org/wp-content/uploads/2012/05/jenkins_Xvfb_centos_global_config-300x48.png" alt="" width="300" height="48" /></a>And here for project settings</p>
<p><a href="http://luzem.dyndns.org/wp-content/uploads/2012/05/jenkins_Xvfb_centos_project_config.png"><img class="aligncenter size-medium wp-image-2832" title="Jenkins Xvfb Centos Project Config" src="http://luzem.dyndns.org/wp-content/uploads/2012/05/jenkins_Xvfb_centos_project_config-300x54.png" alt="" width="300" height="54" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2012/05/03/jenkins-xvfb-in-centos-6/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Jenkins git ssh auth in Centos 6</title>
		<link>http://luzem.dyndns.org/2012/04/21/jenkins-git-ssh-auth-in-centos-6/</link>
		<comments>http://luzem.dyndns.org/2012/04/21/jenkins-git-ssh-auth-in-centos-6/#comments</comments>
		<pubDate>Sat, 21 Apr 2012 18:15:58 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[centos 6]]></category>
		<category><![CDATA[centos6]]></category>
		<category><![CDATA[ci]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[jenkins]]></category>
		<category><![CDATA[rhel 6]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2804</guid>
		<description><![CDATA[After install Gitlab the next step  was install Jenkins and start to work with a continuous integration server. I installed Jenkins following doc and create a new project for one of my repos. and i get this output Building in workspace /var/lib/jenkins/jobs/PFC/workspace Checkout:workspace / /var/lib/jenkins/jobs/PFC/workspace &#8211; hudson.remoting.LocalChannel@1aba936a Using strategy: Default Cloning the remote Git repository [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://luzem.dyndns.org/wp-content/uploads/2012/04/jenkins.png"><img class="aligncenter size-full wp-image-2808" title="jenkins" src="http://luzem.dyndns.org/wp-content/uploads/2012/04/jenkins.png" alt="jenkins" width="240" height="323" /></a></p>
<p>After install Gitlab the next step  was install Jenkins and start to work with a continuous integration server. I installed Jenkins following doc and create a new project for one of my repos. and i get this output</p>
<p>Building in workspace /var/lib/jenkins/jobs/PFC/workspace<br />
Checkout:workspace / /var/lib/jenkins/jobs/PFC/workspace &#8211; hudson.remoting.LocalChannel@1aba936a<br />
Using strategy: Default<br />
Cloning the remote Git repository<br />
Cloning repository origin<br />
ERROR: Error cloning remote repo &#8216;origin&#8217; : Could not clone gitolite@git.luzem.com:pfc.git<br />
hudson.plugins.git.GitException: Could not clone gitolite@git.luzem.com:pfc.git<br />
at hudson.plugins.git.GitAPI.clone(GitAPI.java:245)<br />
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1117)<br />
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1059)<br />
at hudson.FilePath.act(FilePath.java:832)<br />
at hudson.FilePath.act(FilePath.java:814)<br />
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1059)<br />
at hudson.model.AbstractProject.checkout(AbstractProject.java:1218)<br />
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:581)<br />
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)<br />
at hudson.model.Run.run(Run.java:1421)<br />
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)<br />
at hudson.model.ResourceController.execute(ResourceController.java:88)<br />
at hudson.model.Executor.run(Executor.java:238)<br />
Caused by: hudson.plugins.git.GitException: Command &#8220;git clone &#8211;progress -o origin gitolite@git.luzem.com:pfc.git /var/lib/jenkins/jobs/PFC/workspace&#8221; returned status code 128:<br />
stdout: Initialized empty Git repository in /var/lib/jenkins/jobs/PFC/workspace/.git/</p>
<p>stderr: Host key verification failed.<br />
fatal: The remote end hung up unexpectedly</p>
<p>at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:779)<br />
at hudson.plugins.git.GitAPI.access$000(GitAPI.java:38)<br />
at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:241)<br />
at hudson.plugins.git.GitAPI$1.invoke(GitAPI.java:221)<br />
at hudson.FilePath.act(FilePath.java:832)<br />
at hudson.FilePath.act(FilePath.java:814)<br />
at hudson.plugins.git.GitAPI.clone(GitAPI.java:221)<br />
&#8230; 12 more<br />
Trying next repository<br />
ERROR: Could not clone repository<br />
FATAL: Could not clone<br />
hudson.plugins.git.GitException: Could not clone<br />
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1129)<br />
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1059)<br />
at hudson.FilePath.act(FilePath.java:832)<br />
at hudson.FilePath.act(FilePath.java:814)<br />
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1059)<br />
at hudson.model.AbstractProject.checkout(AbstractProject.java:1218)<br />
at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:581)<br />
at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:470)<br />
at hudson.model.Run.run(Run.java:1421)<br />
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)<br />
at hudson.model.ResourceController.execute(ResourceController.java:88)<br />
at hudson.model.Executor.run(Executor.java:238)</p>
<p>When you install Jenkins from the repos one problem is configure ssh keys for jenkins user, the first thing to configure ssh keys was su jenkins and run ssh keygen but it failed because i can&#8217;t log with Jenkins user.</p>
<p>i open a terminal as root on server machine as root and start writing:</p>
<p>vim /etc/passwd</p>
<p>changing jenkins line</p>
<p>jenkins:x:492:486:Jenkins Continuous Build server:/var/lib/jenkins:/bin/false</p>
<p>for</p>
<p>jenkins:x:492:486:Jenkins Continuous Build server:/var/lib/jenkins:/bin/bash</p>
<p>after changuing this line you can do</p>
<p>su jenkins</p>
<p>cd</p>
<p>ssh-keygen</p>
<p>cat .ssh/id_rsa.pub</p>
<p>now you have the key for your jenkins user and it can pull from your repos</p>
<p>for more security edit again /etc/passwd and pul false in jenkins shell</p>
<p>jenkins:x:492:486:Jenkins Continuous Build server:/var/lib/jenkins:/bin/false</p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2012/04/21/jenkins-git-ssh-auth-in-centos-6/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing GitLab 2.1 on Centos 6</title>
		<link>http://luzem.dyndns.org/2012/03/12/installing-gitlab-2-1-on-centos-6/</link>
		<comments>http://luzem.dyndns.org/2012/03/12/installing-gitlab-2-1-on-centos-6/#comments</comments>
		<pubDate>Mon, 12 Mar 2012 21:59:40 +0000</pubDate>
		<dc:creator>Luzem</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programación]]></category>
		<category><![CDATA[centos 6]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gitlab]]></category>
		<category><![CDATA[gitolite]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[rhel 6]]></category>
		<category><![CDATA[scienfic linux 6]]></category>
		<category><![CDATA[step by step]]></category>

		<guid isPermaLink="false">http://luzem.dyndns.org/?p=2676</guid>
		<description><![CDATA[Step 1: Install needed packages you will need remove installed ruby because repo version is 1.8.7 and we need 1.9 at least yum remove ruby yum install wget enable epel repos wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm rpm -Uvh epel-release-6-5.noarch.rpm install required libraries yum install readline-devel  libyaml-devel gdbm-devel  ncurses-devel  redis openssl-devel zlib-devel gcc gcc-c++ make autoconf readline-devel curl-devel expat-devel [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://luzem.dyndns.org/wp-content/uploads/2012/02/gitlab_logo.png"><img class="aligncenter size-full wp-image-2795" title="gitlab logo" src="http://luzem.dyndns.org/wp-content/uploads/2012/02/gitlab_logo.png" alt="gitlab logo" width="135" height="126" /></a></p>
<p><strong>Step 1: Install needed packages</strong></p>
<p>you will need remove installed ruby because repo version is 1.8.7 and we need 1.9 at least</p>
<blockquote><p>yum remove ruby</p>
<p>yum install wget</p></blockquote>
<p>enable epel repos</p>
<blockquote><p>wget http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-5.noarch.rpm</p>
<p>rpm -Uvh epel-release-6-5.noarch.rpm</p></blockquote>
<p>install required libraries</p>
<blockquote><p>yum install readline-devel  libyaml-devel gdbm-devel  ncurses-devel  redis openssl-devel zlib-devel gcc gcc-c++ make autoconf readline-devel curl-devel expat-devel gettext-devel  tk-devel  libxml2-devel libffi-devel libxslt-devel libicu-devel httpd httpd-devel gitolite git-all python-devel python-pip sqlite-devel sendmail vim mysql-devel</p></blockquote>
<p><strong>Step 2: Install Ruby 1.9.3</strong></p>
<p>wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz</p>
<p>tar xzvf ruby-1.9.3-p0.tar.gz</p>
<p>cd ruby-1.9.3-p0</p>
<p>./configure</p>
<p>make</p>
<p>make install</p>
<p><strong>Step 3: Install gitolite</strong></p>
<p>Create gitolite-admin user</p>
<blockquote><p>    useradd -d /home/gitolite-admin gitolite-admin</p></blockquote>
<p>generate RSA key pair for gitolite-admin user</p>
<blockquote><p>su gitolite-admin<br />
ssh-keygen<br />
exit</p></blockquote>
<p>Move generate public key to gitolite home dir</p>
<blockquote><p>cp /home/gitolite-admin/.ssh/id_rsa.pub /var/lib/gitolite/id_rsa_gitolite_admin.pub<br />
chown gitolite:gitolite /var/lib/gitolite/id_rsa_gitolite_admin.pub</p></blockquote>
<p>complete gitolite and gitolite-admin users pairing</p>
<blockquote><p>su gitolite<br />
gl-setup /var/lib/gitolite/id_rsa_gitolite_admin.pub</p></blockquote>
<p>a editor will opened changue repo permissions to 0007</p>
<blockquote><p>$REPO_UMASK to 0007<br />
exit<br />
su gitolite-admin<br />
cd<br />
git clone gitolite@localhost:gitolite-admin</p></blockquote>
<p>in the last command you clone the gitolite-admin repo on gitolite-admin’s home. Gitolite-admin repo is gitolite config</p>
<p>before continue we need configure gitolite-admin git profile</p>
<blockquote><p>git config &#8211;global user.email “gitolite-admin@localhost”<br />
git config &#8211;global user.name “gitolite-admin”<br />
exit</p></blockquote>
<p>add gitolite-admin to gitolite group</p>
<blockquote><p>usermod -a -G gitolite gitolite-admin</p></blockquote>
<p>changue gitolite-admin password</p>
<blockquote><p>passwd gitolite-admin</p></blockquote>
<p><strong>Step 6 Launch Redis</strong></p>
<blockquote><p>chkconfig redis on</p>
<p>/etc/init.d/redis start</p></blockquote>
<p><strong>Step 7 GitLab</strong></p>
<p>Clone GitLab sourcecode</p>
<blockquote><p>cd /var/www</p>
<p>git clone git://github.com/gitlabhq/gitlabhq.git</p>
<p>chown -R gitolite-admin:gitolite-admin gitlabhq/</p>
<p>cd gitlabhq/</p></blockquote>
<p>Install phython dependencies</p>
<blockquote><p>pip-python install pygments</p></blockquote>
<p>Install required gems</p>
<blockquote><p>gem install bundler</p>
<p>bundle install</p>
<p>su gitolite-admin</p>
<p>bundle install</p></blockquote>
<p>Prepare config files</p>
<p>cp config/database.yml.example config/database.yml</p>
<p>cp config/gitlab.yml.example config/gitlab.yml</p>
<p>Prepare production enviroment</p>
<blockquote><p>RAILS_ENV=production rake db:setup<br />
RAILS_ENV=production rake db:seed_fu</p></blockquote>
<p>you will get these login data</p>
<p>login&#8230;&#8230;&#8230;admin@local.host<br />
password&#8230;&#8230;5iveL!fe</p>
<p>Config gitolite gitlab link</p>
<p>vim config/gitlab.yml</p>
<p>your  git_host: section must be like this</p>
<blockquote><p># Git Hosting congiguration<br />
git_host:<br />
system: gitolite<br />
admin_uri: gitolite@localhost:gitolite-admin<br />
base_path: /var/lib/gitolite/repositories/<br />
host: localhost<br />
git_user: gitolite<br />
# port: 22</p></blockquote>
<p>fix gitolite permissions</p>
<blockquote><p>chmod -R 770 /var/lib/gitolite/repositories/</p></blockquote>
<p>try your installation launching webrick</p>
<blockquote><p>bundle exec rails s -e production</p></blockquote>
<p>open a web broser, write  yourhost:3000 and check if everything is working if you get an error send me a comment</p>
<p><strong>Install passenger for Apache</strong></p>
<p>gem install passenger<br />
passenger-install-apache2-module</p>
<p>follow screen instructions</p>
<p>edit apache config file</p>
<p>vim /etc/httpd/conf/httpd.conf</p>
<p>and append these lines at the end</p>
<p>LoadModule passenger_module /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.11/ext/apache2/mod_passenger.so<br />
PassengerRoot /usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.11<br />
PassengerRuby /usr/local/bin/ruby</p>
<p>enable apache service</p>
<p>/etc/init.d/httpd start</p>
<p>chkconfig httpd on</p>
<p>Sources</p>
<p><a title="install GitLab on Fedora" href="http://wasil.org/en/gitlab-installation-on-fedora-16-with-gitolite" target="_blank">http://wasil.org/en/gitlab-installation-on-fedora-16-with-gitolite</a></p>
<p><a title="Gitolite Install" href="http://rickfoosusa.blogspot.com/2011/08/gitolite-tutorial-senawario.html">http://rickfoosusa.blogspot.com/2011/08/gitolite-tutorial-senawario.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://luzem.dyndns.org/2012/03/12/installing-gitlab-2-1-on-centos-6/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
	</channel>
</rss>
