<?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>Il Blog di Papini Sascha</title>
	<atom:link href="http://www.papinisascha.it/feed" rel="self" type="application/rss+xml" />
	<link>http://www.papinisascha.it</link>
	<description>Follow the white rabbit ...</description>
	<lastBuildDate>Thu, 16 Feb 2012 19:12:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Debian/Ubuntu aggiungere delle rotte statiche allo startup</title>
		<link>http://www.papinisascha.it/2012/02/16/debianubuntu-aggiungere-delle-rotte-statiche-allo-startup.html</link>
		<comments>http://www.papinisascha.it/2012/02/16/debianubuntu-aggiungere-delle-rotte-statiche-allo-startup.html#comments</comments>
		<pubDate>Thu, 16 Feb 2012 19:12:17 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[rotte statiche]]></category>
		<category><![CDATA[static route]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=330</guid>
		<description><![CDATA[Per aggiungere delle rotte statiche allo startup occorre andare a modificare il file /etc/network/interfaces Ed aggiungere le direttive post-up e post-down alla direttiva iface ethX. Ecco un esempio: auto eth0 iface eth0 inet static address 10.9.38.76 netmask 255.255.255.240 network 10.9.38.64 broadcast 10.9.38.79         ### static routing ###         post-up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.9.38.65         pre-down route del -net 10.0.0.0 netmask 255.0.0.0 gw 10.9.38.65]]></description>
			<content:encoded><![CDATA[<p>Per aggiungere delle rotte statiche allo startup occorre andare a modificare il file</p>
<blockquote><p>/etc/network/interfaces</p></blockquote>
<p>Ed aggiungere le direttive <span style="color: #ff0000;">post-up</span> e <span style="color: #ff0000;">post-down</span> alla direttiva iface ethX. Ecco un esempio:</p>
<blockquote><p>auto eth0<br />
iface eth0 inet static<br />
address 10.9.38.76<br />
netmask 255.255.255.240<br />
network 10.9.38.64<br />
broadcast 10.9.38.79<br />
<span style="color: #ff0000;">        ### static routing ###</span><br />
<span style="color: #ff0000;">        post-up route add -net 10.0.0.0 netmask 255.0.0.0 gw 10.9.38.65</span><br />
<span style="color: #ff0000;">        pre-down route del -net 10.0.0.0 netmask 255.0.0.0 gw 10.9.38.65</span></p></blockquote>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2012/02/16/debianubuntu-aggiungere-delle-rotte-statiche-allo-startup.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installare PostgreSQL 9.1 in Ubuntu 10.04</title>
		<link>http://www.papinisascha.it/2012/02/16/installare-postgresql-9-1-in-ubuntu-10-04.html</link>
		<comments>http://www.papinisascha.it/2012/02/16/installare-postgresql-9-1-in-ubuntu-10-04.html#comments</comments>
		<pubDate>Thu, 16 Feb 2012 13:56:20 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[postgresql server]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=328</guid>
		<description><![CDATA[Per prima cosa installare il pacchetto python-software-properties : sudo apt-get install python-software-properties Poi aggiungere il repository backports ed aggiornare apt sudo add-apt-repository ppa:pitti/postgresql sudo apt-get update Poi installare PostgreSQL Server 9.1 sudo apt-get install postgresql-9.1 libpq-dev]]></description>
			<content:encoded><![CDATA[<p>Per prima cosa installare il pacchetto <strong><code>python-software-properties</code></strong> :</p>
<blockquote><p><code>sudo apt-get install python-software-properties</code></p></blockquote>
<p>Poi aggiungere il repository backports ed aggiornare apt</p>
<blockquote><p><code>sudo add-apt-repository ppa:pitti/postgresql<br />
sudo apt-get update</code></p></blockquote>
<p>Poi installare PostgreSQL Server 9.1</p>
<blockquote><p><code>sudo apt-get install postgresql-9.1 libpq-dev</code></p></blockquote>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2012/02/16/installare-postgresql-9-1-in-ubuntu-10-04.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux visualizzare la dimensione delle cartelle/file</title>
		<link>http://www.papinisascha.it/2012/02/11/linux-visualizzare-la-dimensione-delle-cartellefile.html</link>
		<comments>http://www.papinisascha.it/2012/02/11/linux-visualizzare-la-dimensione-delle-cartellefile.html#comments</comments>
		<pubDate>Sat, 11 Feb 2012 14:44:56 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[comandi linux]]></category>
		<category><![CDATA[du]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=326</guid>
		<description><![CDATA[Un comando molto comodo in linux per visualizzare lo spazio occupato delle cartelle e/o file è il seguente du -h &#8211;max-dept=1]]></description>
			<content:encoded><![CDATA[<p>Un comando molto comodo in linux per visualizzare lo spazio occupato delle cartelle e/o file è il seguente</p>
<blockquote><p>du -h &#8211;max-dept=1</p></blockquote>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2012/02/11/linux-visualizzare-la-dimensione-delle-cartellefile.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabilitare o abilitare il firewall in HYPER-V 2008 e Windows Server 2008 dalla riga di comando</title>
		<link>http://www.papinisascha.it/2012/01/19/disabilitare-o-abilitare-il-firewall-in-hyper-v-2008-e-windows-server-2008-dalla-riga-di-comando.html</link>
		<comments>http://www.papinisascha.it/2012/01/19/disabilitare-o-abilitare-il-firewall-in-hyper-v-2008-e-windows-server-2008-dalla-riga-di-comando.html#comments</comments>
		<pubDate>Thu, 19 Jan 2012 12:43:42 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[Microsoft Windows]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[windows server 2008]]></category>
		<category><![CDATA[windows server 2008 R2]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=315</guid>
		<description><![CDATA[A volte capita di dover abilitare/disabilitare il firewall dalla riga di comando in HYPER-V o Windows Server 2008. Ecco i comandi Per disabilitarlo netsh advfirewall set currentprofile state off Per abilitarlo netsh advfirewall set currentprofile state on]]></description>
			<content:encoded><![CDATA[<p>A volte capita di dover abilitare/disabilitare il firewall dalla riga di comando in HYPER-V o Windows Server 2008. Ecco i comandi</p>
<p>Per disabilitarlo</p>
<blockquote><p>netsh advfirewall set currentprofile state off</p></blockquote>
<p>Per abilitarlo</p>
<blockquote><p>netsh advfirewall set currentprofile state on</p></blockquote>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2012/01/19/disabilitare-o-abilitare-il-firewall-in-hyper-v-2008-e-windows-server-2008-dalla-riga-di-comando.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian iptables startup script</title>
		<link>http://www.papinisascha.it/2011/12/02/debian-iptables-startup-script.html</link>
		<comments>http://www.papinisascha.it/2011/12/02/debian-iptables-startup-script.html#comments</comments>
		<pubDate>Fri, 02 Dec 2011 14:05:53 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[startup]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=313</guid>
		<description><![CDATA[Per prima cosa occorre salvare la configurazione del firewall con il comando iptables-save &#62; /etc/firewall.conf Poi occorre andare creare un file in /etc/network/if-up.d cd /etc/network/if-up.d touch iptables chmod 755 iptables e al suo interno occorre scrivere #!/bin/sh iptables-restore &#60; /etc/firewall.conf]]></description>
			<content:encoded><![CDATA[<p>Per prima cosa occorre salvare la configurazione del firewall con il comando</p>
<blockquote><p>iptables-save &gt; /etc/firewall.conf</p></blockquote>
<p>Poi occorre andare creare un file in /etc/network/if-up.d</p>
<blockquote><p>cd /etc/network/if-up.d</p>
<p>touch iptables</p>
<p>chmod 755 iptables</p></blockquote>
<p>e al suo interno occorre scrivere</p>
<blockquote><p>#!/bin/sh<br />
iptables-restore &lt; /etc/firewall.conf</p></blockquote>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2011/12/02/debian-iptables-startup-script.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian pre-requisti per installare VMware Tools</title>
		<link>http://www.papinisascha.it/2011/11/27/debian-pre-requisti-per-installare-vmware-tools.html</link>
		<comments>http://www.papinisascha.it/2011/11/27/debian-pre-requisti-per-installare-vmware-tools.html#comments</comments>
		<pubDate>Sun, 27 Nov 2011 21:02:44 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[ESX & ESXi]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=310</guid>
		<description><![CDATA[Basta lanciare il comando apt-get install binutils gcc make linux-headers-$(uname -r)]]></description>
			<content:encoded><![CDATA[<p>Basta lanciare il comando</p>
<blockquote><p>apt-get install binutils gcc make linux-headers-$(uname -r)</p></blockquote>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2011/11/27/debian-pre-requisti-per-installare-vmware-tools.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installare un server Rsync in debian</title>
		<link>http://www.papinisascha.it/2011/09/17/installare-un-server-rsync-in-debian.html</link>
		<comments>http://www.papinisascha.it/2011/09/17/installare-un-server-rsync-in-debian.html#comments</comments>
		<pubDate>Sat, 17 Sep 2011 13:03:55 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Server e servizi]]></category>
		<category><![CDATA[rsync server]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=305</guid>
		<description><![CDATA[Per prima cosa installiamo i pacchetti necessari apt-get install rsync openbsd-inetd Poi creiamo il file /etc/rsyncd.conf (in questo esempio andremo a sincronizzare l cartella /home/prova per l&#8217;utente pippo) max connections = 10 log file = /var/log/rsync.log timeout = 300 pid file=/var/run/rsyncd.pid [prova] comment = Rsync prova path = /home/prova read only = no list = yes uid = pippo gid = root auth users=pippo list = yes hosts allow =...]]></description>
			<content:encoded><![CDATA[<p>Per prima cosa installiamo i pacchetti necessari</p>
<blockquote><p>apt-get install rsync openbsd-inetd</p></blockquote>
<p>Poi creiamo il file <strong>/etc/rsyncd.conf</strong> (in questo esempio andremo a sincronizzare l cartella /home/prova per l&#8217;utente pippo)</p>
<blockquote><p>max connections = 10<br />
log file = /var/log/rsync.log<br />
timeout = 300<br />
pid file=/var/run/rsyncd.pid</p>
<p>[prova]<br />
comment = Rsync prova<br />
path = /home/prova<br />
read only = no<br />
list = yes<br />
uid = pippo<br />
gid = root<br />
auth users=pippo<br />
list = yes<br />
hosts allow = x.x.x.x<br />
secrets file = /etc/rsyncd.secrets</p></blockquote>
<p>Poi andiamo a creare il file<strong> /etc/rsyncd.secret</strong> dove al suo interno mettere le  credenziali di accesso nel seguente formato</p>
<blockquote><p>pippo:password_utente_pippo</p></blockquote>
<p>ricordiamo di dare il corretto permesso al file</p>
<blockquote><p>chmod 600 /etc/rsyncd.secret</p></blockquote>
<p>Poi andiamo a modificare il file /etc/inetd.conf inserendo la seguente riga</p>
<blockquote><p>rsync stream tcp nowait root /usr/bin/rsync rsync &#8211;daemon</p></blockquote>
<p>Riavviamo inetd</p>
<blockquote><p>/etc/init.d/openbsd-inetd restart</p></blockquote>
<p>il gioco è fatto !</p>
<p>&nbsp;</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2011/09/17/installare-un-server-rsync-in-debian.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS 6 network install</title>
		<link>http://www.papinisascha.it/2011/07/14/centos-6-network-install.html</link>
		<comments>http://www.papinisascha.it/2011/07/14/centos-6-network-install.html#comments</comments>
		<pubDate>Thu, 14 Jul 2011 07:41:01 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[network install]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=297</guid>
		<description><![CDATA[Per prima cosa occorre scaricare il cd &#8220;network install&#8221; da: http://isoredirect.centos.org/centos/6/isos/ Poi occorre mettere il mirror in base alla versione scelta (32 bit o 64 bit): 32 bit: http://mirror.centos.org/centos/6/os/i386/ 64 bit: http://mirror.centos.org/centos/6/os/x86_64/]]></description>
			<content:encoded><![CDATA[<p>Per prima cosa occorre scaricare il cd &#8220;network install&#8221; da:</p>
<blockquote><p>http://isoredirect.centos.org/centos/6/isos/</p></blockquote>
<p>Poi occorre mettere il mirror in base alla versione scelta (32 bit o 64 bit):</p>
<blockquote><p>32 bit: http://mirror.centos.org/centos/6/os/i386/<br />
64 bit: http://mirror.centos.org/centos/6/os/x86_64/</p></blockquote>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2011/07/14/centos-6-network-install.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Funzione in PHP per creare un permalink</title>
		<link>http://www.papinisascha.it/2011/06/28/funzione-in-php-per-creare-un-permalink.html</link>
		<comments>http://www.papinisascha.it/2011/06/28/funzione-in-php-per-creare-un-permalink.html#comments</comments>
		<pubDate>Tue, 28 Jun 2011 12:44:23 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[funzione php]]></category>
		<category><![CDATA[permalink]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=292</guid>
		<description><![CDATA[Vi segnalo questa funzione che ho scritto. Crea in automatico un permalink da una stringa. function creaPermalink($str) { $str = strtolower($str); $str = preg_replace("/[^0-9A-Za-z ]/", "", $str); $str = str_replace(" ", "-", $str); while (strstr($str, "--")) { $str = preg_replace("/--/", "-", $str); } return($str); }]]></description>
			<content:encoded><![CDATA[<p>Vi segnalo questa funzione che ho scritto. Crea in automatico un permalink da una stringa.</p>
<pre><code>function creaPermalink($str) {
   $str = strtolower($str);
   $str = preg_replace("/[^0-9A-Za-z ]/", "", $str);
   $str = str_replace(" ", "-", $str);
   while (strstr($str, "--")) {
      $str = preg_replace("/--/", "-", $str);
   }
   return($str);
}</code>
</pre>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2011/06/28/funzione-in-php-per-creare-un-permalink.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Statistiche in tempo reale con Clicky</title>
		<link>http://www.papinisascha.it/2011/06/27/statistiche-in-tempo-reale-con-clicky.html</link>
		<comments>http://www.papinisascha.it/2011/06/27/statistiche-in-tempo-reale-con-clicky.html#comments</comments>
		<pubDate>Mon, 27 Jun 2011 11:00:51 +0000</pubDate>
		<dc:creator>Sascha Papini</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[clicky]]></category>
		<category><![CDATA[statistiche in tempo reale]]></category>

		<guid isPermaLink="false">http://www.papinisascha.it/?p=289</guid>
		<description><![CDATA[Oggi vi voglio segnalare questo ottimo servizio: Clicky ( http://getclicky.com/ ). E&#8217; un ottimo strumento per avere le statistiche del proprio sito web o blog in tempo reale ! Io lo uso su questo Blog e devo dire che è un ottimo coltellino svizzero per i webmaster !]]></description>
			<content:encoded><![CDATA[<p>Oggi vi voglio segnalare questo ottimo servizio: Clicky ( <a title="Get Clicky" href="http://getclicky.com/" target="_blank">http://getclicky.com/</a> ). E&#8217; un ottimo strumento per avere le statistiche del proprio sito web o blog in tempo reale ! Io lo uso su questo Blog e devo dire che è un ottimo coltellino svizzero per i webmaster !</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://www.papinisascha.it/2011/06/27/statistiche-in-tempo-reale-con-clicky.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- This Quick Cache file was built for (  www.papinisascha.it/feed ) in 0.34130 seconds, on Feb 23rd, 2012 at 3:51 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 23rd, 2012 at 4:51 am UTC -->
