<?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>evcz.tk</title>
	<atom:link href="http://evcz.tk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://evcz.tk/blog</link>
	<description>my own pastebin :P</description>
	<lastBuildDate>Fri, 02 Jul 2010 23:20:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>HP PSC 2110 Windows 7 drivers how-to</title>
		<link>http://evcz.tk/blog/2010/01/23/hp-psc-2110-windows-7-drivers-how-to/</link>
		<comments>http://evcz.tk/blog/2010/01/23/hp-psc-2110-windows-7-drivers-how-to/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 16:02:28 +0000</pubDate>
		<dc:creator>EvolutionCrazy</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[seven]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://evcz.tk/blog/?p=80</guid>
		<description><![CDATA[&#8220;somehow&#8221; Microsoft (or Hewlett Packard?) dropped HP PSC 2100 series support in Windows 7&#8230; but you can still get it working&#8230; Why do I care about this very old printer?: I really like this printer, I would never exchange it with another one. I printed a shitload of paper using this piece of plastic&#8230; never [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;somehow&#8221; Microsoft (or Hewlett Packard?) dropped HP PSC 2100 series support in Windows 7&#8230;</p>
<p>but you can still get it working&#8230;<br />
<span id="more-80"></span></p>
<p><em>Why do I care about this very old printer?:  I really like this printer, I would never exchange it with another one.<br />
I printed a shitload of paper using this piece of plastic&#8230; never had a problem&#8230; and not only that: printing with this printer is so fucking cheap!<br />
(This printer support black &#038; white printing using ONLY the black cartridge&#8230; it even works without the color cartridge in place! )</p>
<p></em>Windows Vista fully supported it and the vista drivers works perfectly on windows 7 too&#8230;</p>
<p>This trick works with many other peripherals that were supported by Vista but dropped on Seven&#8230;</p>
<p><a target='_blank' href='http://img35.imageshack.us/img35/5133/01232010163131.png'><img src='http://img35.imageshack.us/img35/5133/01232010163131.th.png' border='0'/></a></p>
<p><strong>What you&#8217;ll need:</strong></p>
<ul>
<li>Windows vista dvd ISO (I used it_windows_vista_x64_dvd_X12-61200.iso)</li>
<li>7-zip ( <a href="http://www.7-zip.org/">http://www.7-zip.org/</a> )</li>
<li>1gb disk space</li>
</ul>
<p><strong>Ho to do it:</strong></p>
<ul>
<li>open the ISO with 7-zip</li>
<li>browse into the directory <strong>\sources\</strong></li>
<li>double click on the file <strong>install.wim</strong></li>
<li>browse into the <strong>\1\Windows\System32\</strong> directory</li>
<li>extract <strong>drivers </strong>and <strong>DriverStore</strong> directories somewhere</li>
<li>connect the printer, when windows asks about drivers: point it to the directory where you have previously extracted the vista drivers</li>
<li>done ^^</li>
</ul>
<p>At this point you will have your PSC 2110 working on windows 7 (both printing and scanning are perfectly working) <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PS: for even more cheap printing check out <a target="_blank" href="http://www.cartucceria.it/shop/ricerca-stampante-psc_2110.html">Cartucce HP PSC 2110</a> <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://evcz.tk/blog/2010/01/23/hp-psc-2110-windows-7-drivers-how-to/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My old projects</title>
		<link>http://evcz.tk/blog/2009/06/11/my-old-projects/</link>
		<comments>http://evcz.tk/blog/2009/06/11/my-old-projects/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 20:20:17 +0000</pubDate>
		<dc:creator>EvolutionCrazy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php2dns]]></category>
		<category><![CDATA[phpipblocker]]></category>

		<guid isPermaLink="false">http://evcz.tk/blog/?p=61</guid>
		<description><![CDATA[As I&#8217;m going to close down &#8220;evcz.altervista.org&#8221;, will archive here something from my past&#8230; phpipblocker (last version 0.99j) phpipblocker archive php2dns (last version 0.91beta) php2dns archive]]></description>
			<content:encoded><![CDATA[<p>As I&#8217;m going to close down &#8220;evcz.altervista.org&#8221;, will archive here something from my past&#8230;</p>
<p>phpipblocker (last version 0.99j)<br />
<a target="_blank" href="http://evcz.tk/archivio.files/varie/av/files/phpipblocker/">phpipblocker archive</a></p>
<p>php2dns (last version 0.91beta)<br />
<a target="_blank" href="http://evcz.tk/archivio.files/varie/av/files/php2dns/">php2dns archive</a></p>
]]></content:encoded>
			<wfw:commentRss>http://evcz.tk/blog/2009/06/11/my-old-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AVG sucks.</title>
		<link>http://evcz.tk/blog/2008/11/12/avg-suck/</link>
		<comments>http://evcz.tk/blog/2008/11/12/avg-suck/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 10:23:58 +0000</pubDate>
		<dc:creator>EvolutionCrazy</dc:creator>
				<category><![CDATA[news]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://evcz.tk/blog/?p=57</guid>
		<description><![CDATA[http://securityandthe.net/2008/11/10/avg-virus-scanner-removes-critical-windows-file/ nothing more, nothing less&#8230; Valid alternatives: http://free-av.com/]]></description>
			<content:encoded><![CDATA[<p><a href="http://securityandthe.net/2008/11/10/avg-virus-scanner-removes-critical-windows-file/" target="_blank">http://securityandthe.net/2008/11/10/avg-virus-scanner-removes-critical-windows-file/</a></p>
<p>nothing more, nothing less&#8230;</p>
<p>Valid alternatives: <a href="http://free-av.com/" target="_self">http://free-av.com/</a> <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://evcz.tk/blog/2008/11/12/avg-suck/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS import SSL certificate</title>
		<link>http://evcz.tk/blog/2008/10/24/centos-import-ssl-certificate/</link>
		<comments>http://evcz.tk/blog/2008/10/24/centos-import-ssl-certificate/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 11:18:00 +0000</pubDate>
		<dc:creator>EvolutionCrazy</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://evcz.tk/blog/?p=34</guid>
		<description><![CDATA[Sometimes for certain applications using ssl cert based verification/encryption it&#8217;s usefull to point them to a directory that contains all the certificates If that can be done directly with a bash script it&#8217;s better There&#8217;s a nice script to do it directly, it just need a little modification to run on CentOS: http://jenders.vox.com/library/post/rtorrent-and-ssl-certificates-under-gentoo-linux.html The first [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes for certain applications using ssl cert based verification/encryption it&#8217;s usefull to point them to a directory that contains all the certificates <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If that can be done directly with a bash script it&#8217;s better <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p><span id="more-34"></span><br />
There&#8217;s a nice script to do it directly, it just need a little modification to run on CentOS:<br />
<a href="http://jenders.vox.com/library/post/rtorrent-and-ssl-certificates-under-gentoo-linux.html">http://jenders.vox.com/library/post/rtorrent-and-ssl-certificates-under-gentoo-linux.html</a></p>
<p>The first thing we need is openssl perl package (the one that have c_rehash in it)&#8230; you can get it with the command:</p>

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

<p>and then, just create the script:</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: #660033;">-w</span> import.cert.sh</pre></div></div>


<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #007800;">SITE</span>=somesite.tld
&nbsp;
openssl s_client <span style="color: #660033;">-connect</span> <span style="color: #007800;">$SITE</span>:<span style="color: #000000;">443</span> <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000;">2</span><span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #660033;">-n</span> <span style="color: #ff0000;">'/BEGIN CERTIFICATE/,/END CERTIFICATE/p'</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>pki<span style="color: #000000; font-weight: bold;">/</span>tls<span style="color: #000000; font-weight: bold;">/</span>certs<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$SITE</span>.crt
openssl x509 <span style="color: #660033;">-in</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>pki<span style="color: #000000; font-weight: bold;">/</span>tls<span style="color: #000000; font-weight: bold;">/</span>certs<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$SITE</span>.crt <span style="color: #660033;">-out</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>pki<span style="color: #000000; font-weight: bold;">/</span>tls<span style="color: #000000; font-weight: bold;">/</span>certs<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$SITE</span>.der <span style="color: #660033;">-outform</span> DER
openssl x509 <span style="color: #660033;">-in</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>pki<span style="color: #000000; font-weight: bold;">/</span>tls<span style="color: #000000; font-weight: bold;">/</span>certs<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$SITE</span>.der <span style="color: #660033;">-inform</span> DER <span style="color: #660033;">-out</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>pki<span style="color: #000000; font-weight: bold;">/</span>tls<span style="color: #000000; font-weight: bold;">/</span>certs<span style="color: #000000; font-weight: bold;">/</span><span style="color: #007800;">$SITE</span>.pem <span style="color: #660033;">-outform</span> PEM
c_rehash
<span style="color: #7a0874; font-weight: bold;">unset</span> SITE</pre></td></tr></table></div>

<p>make it executable:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> +x import.cert.sh</pre></div></div>

<p>run it:</p>

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

<p>and you are done, now you can eventually point your application to that certificate repository in case your app didn&#8217;t find it itself <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>for example you should run curl in this way:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">curl <span style="color: #660033;">-I</span> <span style="color: #660033;">--capath</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>pki<span style="color: #000000; font-weight: bold;">/</span>tls<span style="color: #000000; font-weight: bold;">/</span>certs<span style="color: #000000; font-weight: bold;">/</span> https:<span style="color: #000000; font-weight: bold;">//</span>somesite.tld</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://evcz.tk/blog/2008/10/24/centos-import-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote CentOS 5 install with VNC</title>
		<link>http://evcz.tk/blog/2008/10/21/remote-centos-install/</link>
		<comments>http://evcz.tk/blog/2008/10/21/remote-centos-install/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 11:30:10 +0000</pubDate>
		<dc:creator>EvolutionCrazy</dc:creator>
				<category><![CDATA[howto]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://evcz.tk/blog/?p=3</guid>
		<description><![CDATA[There are some ISPs in the dedicated servers market that are offering crappy CentOS installs&#8230; With &#8220;crappy&#8221; I mean: broken/modifed images&#8230; The worst example I had the opportunity to try was OVH. OVH is in general a very good dedicated hosting provider offering very nice services at an impressive low price&#8230; but they have the [...]]]></description>
			<content:encoded><![CDATA[<p>There are some ISPs in the dedicated servers market that are offering <strong>crappy</strong> CentOS installs&#8230;</p>
<p>With &#8220;crappy&#8221; I mean: broken/modifed images&#8230;</p>
<p>The worst example I had the opportunity to try was <a href="http://www.ovh.it" target="_blank">OVH</a>.<br />
OVH is in general a very good dedicated hosting provider offering very nice services at an impressive low price&#8230; but they have the bad attitude to install custom operating systems that many times cannot be reverted back to the original kernels <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>One of them is their CentOS 5 install&#8230; Lucky for us it&#8217;s not a big problem as, most times, it&#8217;s possible to do a clean CentOS install <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><span id="more-3"></span></p>
<p>This is a simple procedure to do an official, <strong>clean</strong> install from the <em>genuine</em> CentOS disks <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<ol>
<li>Install CentOS from the OVH manager with the <strong>default partitioning</strong> proposed by OVH<br />
(this procedure will work with whatever operating system you want&#8230; i suggested centos so it will report &#8220;centos&#8221; also in the ovh manger <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  make sure you are able to get grub working on the os you want to use <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</li>
<li>once everything is done log into the box via ssh as root</li>
<li>issue these commands:

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>centos_install
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>centos_install
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>ftp.hosteurope.de<span style="color: #000000; font-weight: bold;">/</span>mirror<span style="color: #000000; font-weight: bold;">/</span>centos.org<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>os<span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span>images<span style="color: #000000; font-weight: bold;">/</span>pxeboot<span style="color: #000000; font-weight: bold;">/</span>initrd.img
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>ftp.hosteurope.de<span style="color: #000000; font-weight: bold;">/</span>mirror<span style="color: #000000; font-weight: bold;">/</span>centos.org<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>os<span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span>images<span style="color: #000000; font-weight: bold;">/</span>pxeboot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz
<span style="color: #c20cb9; font-weight: bold;">cp</span> vmlinuz <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz.cent.pxe
<span style="color: #c20cb9; font-weight: bold;">cp</span> initrd.img <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>initrd.img.cent.pxe</pre></td></tr></table></div>

</li>
<li>If you are <strong>not</strong> running grub (like all the OVH boxes) you need to install it:

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

</li>
<li>Add to/Edit the grub menu.lst entry to load the pxe kernel (note: if you were already using grub you do not need to type again the first 2 lines <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  )

<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: #660033;">-w</span> <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>grub<span style="color: #000000; font-weight: bold;">/</span>menu.lst</pre></div></div>

<p>in that file paste:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">default <span style="color: #000000;">0</span>
timeout <span style="color: #000000;">5</span>
title Centos Install <span style="color: #7a0874; font-weight: bold;">&#40;</span>PXE<span style="color: #7a0874; font-weight: bold;">&#41;</span>
root <span style="color: #7a0874; font-weight: bold;">&#40;</span>hd0,<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
kernel <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz.cent.pxe vnc <span style="color: #007800;">vncpassword</span>=YOURPSW headless <span style="color: #007800;">ip</span>=YOURIP <span style="color: #007800;">netmask</span>=255.255.255.0 <span style="color: #007800;">gateway</span>=GATEWAYIP <span style="color: #007800;">dns</span>=8.8.8.8 <span style="color: #007800;">ksdevice</span>=eth0 <span style="color: #007800;">method</span>=http:<span style="color: #000000; font-weight: bold;">//</span>ftp.hosteurope.de<span style="color: #000000; font-weight: bold;">/</span>mirror<span style="color: #000000; font-weight: bold;">/</span>centos.org<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>os<span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #007800;">lang</span>=en_US <span style="color: #007800;">keymap</span>=us
initrd <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>initrd.img.cent.pxe</pre></td></tr></table></div>

<p><strong><br />
replace</strong></p>
<ul>
<li>YOURPSW with the VNC password you want setup</li>
<li>YOURIP with the ip of the box&#8230;</li>
<li>GATEWAYIP with the gateway assigned to your box
<p>Hint: you can see the gateway ip by issuing</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">route <span style="color: #660033;">-n</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> UG</pre></div></div>

</li>
</ul>
<p>once you have done this, press ctrl +x, and save the file</li>
<li>again: this step should be done only if you were not previosly using grub!

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">grub-install <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda
grub-install <span style="color: #660033;">--recheck</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda</pre></td></tr></table></div>

<p>(adjust sda if you are booting on another device&#8230; all the OVH boxes I tried used SDA <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  )</li>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">reboot</pre></div></div>

</li>
</ol>
<p>After issuing the reboot ping the box (should take max 2minutes to take up the network)&#8230; 30seconds (or more&#8230; depending how fast your box is) after it starts replying to the ping open a vnc client (on windows i suggest ultravnc) and connect to</p>
<p>YOURIP:1</p>
<p>put as password the one you placed as YOURPSW &#8230;</p>
<p>install CentOS <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://evcz.tk/blog/wp-content/uploads/2008/10/20986211xq2.png"><img class="alignnone size-thumbnail wp-image-4" title="20986211xq2" src="http://evcz.tk/blog/wp-content/uploads/2008/10/20986211xq2-150x150.png" alt="" width="150" height="150" /></a></p>
<p><strong>Tested on</strong>:</p>
<p><span style="color: green;"><strong>Success</strong></span></p>
<ul>
<li>OVH kimsufi reloaded (Intel Celeron 220)</li>
<li>OVH kimsufi reloaded xl (Intel e2180, Asus P5VD2-VM)</li>
<li><a href="http://img386.imageshack.us/my.php?image=94391747nx8.png" target="_blank">OVH kimsufi reloaded xxl (Intel e7200, Intel DG31PR)</a></li>
<li>OVH SP BestOF (Intel e6750)</li>
<li>Keyweb KM 4400 DC (Intel e4500, Ati chipset IIRC)</li>
<li>Intel i5 / p55 / e1000e eth</li>
<li>OVH kimsufi Q-1T</li>
<li>OVH kimsufi i7-2T (pxe kernel modification required: <a href="http://kbase.redhat.com/faq/docs/DOC-17783">instructions</a>, needs the eth attansic module)</li>
<li>Dell R200</li>
<li>Dell R410</li>
</ul>
<p><strong>Known problems</strong></p>
<ul>
<li>If you didn&#8217;t follow exactly the how-to and did a custom partioning with /boot/ partition on it&#8217;s own you will have to take away the /boot/ path from the menu.lst &#8230;</li>
<li>OVH netboot kernels might no more be able to boot into your box (even without LVM&#8230; dunno&#8230; maybe I did a too &#8220;base&#8221; install&#8230;)</li>
<li>keep a vnc password short&#8230; most clients cannot auth with long passwords</li>
<li>some ISPs may block incoming vnc traffic in that case consider to use the <strong>vncconnect=host:port</strong> (instead of <strong>vnc</strong>) trigger to have the server connecting to your PC (documentation: <a href="http://dcantrel.fedorapeople.org/doc/vnc/VNC_Whitepaper-vnc-connect-mode.html">vncconnect</a> )</li>
<li>I had big trouble with certain servers not being able to run the CentOS 5.5 pxe install&#8230; on those I had to fall-back using the 5.4 install.. in case you want to use them you can find everything in here: <a href="http://vault.centos.org/5.4/">http://vault.centos.org/5.4/</a>: make sure to adjust also the mirror in the grub config file!</li>
</ul>
<p><strong>If not working</strong></p>
<ul>
<li>If the box do not come up (ping) after the reboot&#8230; do a reimage and try over&#8230; double check the settings&#8230; expecially network settings.</li>
<li>If the box does not works (not ping reply) and you are sure networking is set correctly try to boot vkvm to see if the PXE kernel is loaded properly to exclude any problem with the bootloader.</li>
</ul>
<p><strong>Random things</strong></p>
<ul>
<li><a href="http://dcantrel.fedorapeople.org/doc/vnc/VNC_Whitepaper-vnc-modes-in-anaconda.html">http://dcantrel.fedorapeople.org/doc/vnc/VNC_Whitepaper-vnc-modes-in-anaconda.html</a></li>
<li><a href="http://fedoraproject.org/wiki/Anaconda/Options">http://fedoraproject.org/wiki/Anaconda/Options</a></li>
<li>in this example I used the 32bit image&#8230; 64bit is exactly the same, just change the image you fetch at the beginning from the CentOS mirror and the mirror path into the grub config <img src='http://evcz.tk/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </li>
<li>if you are running grub2 (like ubuntu 9.10) this is an example on how to set it up:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>grub.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">40</span>_custom
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <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>grub.d<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">40</span>_custom</pre></div></div>

<p>place in there something like:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">menuentry <span style="color: #ff0000;">&quot;centos.pxe&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #000000; font-weight: bold;">set</span> <span style="color: #007800;">root</span>=<span style="color: #7a0874; font-weight: bold;">&#40;</span>md0<span style="color: #7a0874; font-weight: bold;">&#41;</span>
kernel <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>vmlinuz.cent.pxe vnc <span style="color: #007800;">vncpassword</span>=YOURPSW headless <span style="color: #007800;">ip</span>=YOURIP <span style="color: #007800;">netmask</span>=255.255.255.0 <span style="color: #007800;">gateway</span>=GATEWAYIP <span style="color: #007800;">dns</span>=8.8.8.8 <span style="color: #007800;">ksdevice</span>=eth0 <span style="color: #007800;">method</span>=http:<span style="color: #000000; font-weight: bold;">//</span>ftp.hosteurope.de<span style="color: #000000; font-weight: bold;">/</span>mirror<span style="color: #000000; font-weight: bold;">/</span>centos.org<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5</span><span style="color: #000000; font-weight: bold;">/</span>os<span style="color: #000000; font-weight: bold;">/</span>i386<span style="color: #000000; font-weight: bold;">/</span> <span style="color: #007800;">lang</span>=en_US <span style="color: #007800;">keymap</span>=us
initrd <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>initrd.img.cent.pxe
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<p>save and issue:</p>

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

</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://evcz.tk/blog/2008/10/21/remote-centos-install/feed/</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
	</channel>
</rss>
