<?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>antoniolorusso.com &#187; Linux</title>
	<atom:link href="http://antoniolorusso.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://antoniolorusso.com</link>
	<description>About me and what I do :)</description>
	<lastBuildDate>Mon, 21 Jun 2010 22:17:54 +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>PHP-FPM on Ubuntu Lucid Lynx</title>
		<link>http://antoniolorusso.com/2010/05/11/php-fpm-on-ubuntu-lucid-lynx/</link>
		<comments>http://antoniolorusso.com/2010/05/11/php-fpm-on-ubuntu-lucid-lynx/#comments</comments>
		<pubDate>Mon, 10 May 2010 23:47:53 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[php-fpm]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/05/11/php-fpm-on-ubuntu-lucid-lynx/</guid>
		<description><![CDATA[I have been using the dotdeb repository on karmic for a while, but today, when I installed the new Lucid Lynx, it just became a mess so I decided to keep all the original ubuntu packages (Lucid ships php 5.3.2) and find an alternative repo for php-fpm which I use on my dev machine. Here [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using the dotdeb repository on karmic for a while, but today, when I installed the new Lucid Lynx, it just became a mess so I decided to keep all the original ubuntu packages (Lucid ships php 5.3.2) and find an alternative repo for php-fpm which I use on my dev machine. <br />Here it is:<a href="https://launchpad.net/%7Ebrianmercer/+archive/php/">Brian&#8217;s php5-fpm : Brian Mercer</a></p>
<p>Happy 10.04! <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/05/11/php-fpm-on-ubuntu-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>upstream sent too big header while reading response header from upstream</title>
		<link>http://antoniolorusso.com/2010/03/10/upstream-sent-too-big-header-while-reading-response-header-from-upstream/</link>
		<comments>http://antoniolorusso.com/2010/03/10/upstream-sent-too-big-header-while-reading-response-header-from-upstream/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 17:21:46 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[buffer]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[php-fpm]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/03/10/upstream-sent-too-big-header-while-reading-response-header-from-upstream/</guid>
		<description><![CDATA[if you have this error from nginx with php-fpm and output_buffers = On in your php.ini then try to increment the buffer size in nginx:fastcgi_buffers 8 16k;fastcgi_buffer_size 32k;]]></description>
			<content:encoded><![CDATA[<p>if you have this error from nginx with php-fpm and output_buffers = On in your php.ini then try to increment the buffer size in nginx:<br /><code><br />fastcgi_buffers 8 16k;<br />fastcgi_buffer_size 32k;<br /></code></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=17e62287-9b5f-808e-aa5e-5f8b6e6450ee" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/03/10/upstream-sent-too-big-header-while-reading-response-header-from-upstream/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>disable Pure-ftpd logging on syslog</title>
		<link>http://antoniolorusso.com/2010/02/06/disable-pure-ftpd-logging-on-syslog/</link>
		<comments>http://antoniolorusso.com/2010/02/06/disable-pure-ftpd-logging-on-syslog/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 14:33:04 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[pure-ftpd]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/?p=322</guid>
		<description><![CDATA[Pure-ftpd is a bit tricky to configure because do not handle the configuration like any other daemon in Linux so you will not find any /etc/pure-ftpd.conf. According to the pure-ftpd documentation, you should start the daemon already with the options you need. The default Ubuntu installation, use the files in /etc/pure-ftpd/conf/ to set the options [...]]]></description>
			<content:encoded><![CDATA[<p>Pure-ftpd is a bit tricky to configure because do not handle the configuration like any other daemon in Linux so you will not find any /etc/pure-ftpd.conf.</p>
<p>According to the pure-ftpd documentation, you should start the daemon already with the options you need. The default Ubuntu installation, use the files in /etc/pure-ftpd/conf/ to set the options for the startup script of pure-ftpd so, to disable the logging, execute the following command in your shell and restart the daemon<br />
<code>$ echo "none" &gt; /etc/pure-ftpd/conf/SyslogFacility<br />
$ /etc/init.d/pure-ftpd-mysql restart</code></p>
<p> <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/02/06/disable-pure-ftpd-logging-on-syslog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3.6 stable on Karmic</title>
		<link>http://antoniolorusso.com/2010/02/02/firefox-3-6-stable-on-karmic/</link>
		<comments>http://antoniolorusso.com/2010/02/02/firefox-3-6-stable-on-karmic/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 18:41:13 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/02/02/firefox-3-6-stable-on-karmic/</guid>
		<description><![CDATA[I&#8217;ll just paste here the usual simple steps to install the latest firefox 3.6 on your ubuntu:sudo add-apt-repository ppa:mozillateam/firefox-stablesudo apt-get updatesudo apt-get install firefox-3.6 Have fun]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll just paste here the usual simple steps to install the latest firefox 3.6 on your ubuntu:<br /><code><br />sudo add-apt-repository ppa:mozillateam/firefox-stable<br />sudo apt-get update<br />sudo apt-get install firefox-3.6<br /></code></p>
<p>Have fun <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=60939a37-973c-8d13-aaf9-d3ef7dd3dc86" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/02/02/firefox-3-6-stable-on-karmic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PulseAudio Equalizer</title>
		<link>http://antoniolorusso.com/2009/11/24/pulseaudio-equalizer/</link>
		<comments>http://antoniolorusso.com/2009/11/24/pulseaudio-equalizer/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 17:00:59 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/11/24/pulseaudio-equalizer/</guid>
		<description><![CDATA[I&#8217;ve always thought the the linux community is made by brilliant minds and here is one: psyke83 from the ubuntu forum. Here is his script that finally brings an always wanted equalizer in our Ubuntu desktops : http://ubuntuforums.org/showpost.php?p=8210866&#38;postcount=1I&#8217;ve installed it on my machine and my ears are happy now]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve always thought the the linux community is made by brilliant minds and here is one: <a class="bigusername" href="http://ubuntuforums.org/member.php?u=50843">psyke83</a> from the ubuntu forum. Here is his script that finally brings an always wanted equalizer in our Ubuntu desktops : <a target="_blank" href="http://ubuntuforums.org/showpost.php?p=8210866&amp;postcount=1">http://ubuntuforums.org/showpost.php?p=8210866&amp;postcount=1</a><br />I&#8217;ve installed it on my machine and my ears are happy now <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div style="text-align: center;"><img style="max-width: 800px;" src="http://antoniolorusso.com/wp-content/uploads/2009/11/Screenshot.jpg" /></div>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/11/24/pulseaudio-equalizer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tech Talk: Linus Torvalds on git</title>
		<link>http://antoniolorusso.com/2009/06/22/219/</link>
		<comments>http://antoniolorusso.com/2009/06/22/219/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 22:20:30 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[GIT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linus]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/06/22/219/</guid>
		<description><![CDATA[Git explained by his the creator. I&#8217;m more convinced than ever!]]></description>
			<content:encoded><![CDATA[<p>Git explained by his the creator. I&#8217;m more convinced than ever!<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="350" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://youtube.com/v/4XpnKHJAok8" /><embed type="application/x-shockwave-flash" width="425" height="350" src="http://youtube.com/v/4XpnKHJAok8"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/06/22/219/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>the correct procedure for compiling subversion 1.6.2</title>
		<link>http://antoniolorusso.com/2009/06/22/the-correct-procedure-for-compiling-subversion-1-6-2/</link>
		<comments>http://antoniolorusso.com/2009/06/22/the-correct-procedure-for-compiling-subversion-1-6-2/#comments</comments>
		<pubDate>Mon, 22 Jun 2009 09:44:35 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/06/22/the-correct-procedure-for-compiling-subversion-1-6-2/</guid>
		<description><![CDATA[Not sure if this is the complete way of doing it (I&#8217;m not telling you which .deb to install), but it worked for me: Remove some waste from eventual previous compilations:$ rm -rf /usr/loca/lib/libsvn*$ rm -rf /usr/local/lib/libapr*$ rm -rf /usr/local/lib/libexpat*$ rm -rf /usr/local/lib/libneon*Run autogen$ ./autogen.sh&#160;&#160; Configure and install (it is important to follow the order)$ [...]]]></description>
			<content:encoded><![CDATA[<p>Not sure if this is the complete way of doing it (I&#8217;m not telling you which .deb to install), but it worked for me:</p>
<p>Remove some waste from eventual previous compilations:<br /><code><br />$ rm -rf /usr/loca/lib/libsvn*<br />$ rm -rf /usr/local/lib/libapr*<br />$ rm -rf /usr/local/lib/libexpat*<br />$ rm -rf /usr/local/lib/libneon*<br /></code><br />Run autogen<br /><code><br />$ ./autogen.sh&nbsp;&nbsp; <br /></code><br />Configure and install (it is important to follow the order)<br /><code><br />$ ./configure<br />$ make -j external-all<br />$ make -j local-all<br />$ sudo make install<br /></code><br />That&#8217;s it. Hope to have helped someone as usual.</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/06/22/the-correct-procedure-for-compiling-subversion-1-6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash: mv files with a specific date to another directory</title>
		<link>http://antoniolorusso.com/2009/06/06/bash-mv-files-with-a-specific-date-to-another-directory/</link>
		<comments>http://antoniolorusso.com/2009/06/06/bash-mv-files-with-a-specific-date-to-another-directory/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 14:13:33 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2009/06/06/bash-mv-files-with-a-specific-date-to-another-directory/</guid>
		<description><![CDATA[I was searching for a bash command to move files and directories from a folder to another with modified in a specific date for ages on google until I gave up and decided to write it myself: ls -l &#124; awk '$6 == "2009-06-04" { print $8 }' &#124; xargs -t -i mv {} /destination/folder [...]]]></description>
			<content:encoded><![CDATA[<p>I was searching for a bash command to move files and directories from a folder to another with modified in a specific date for ages on google until I gave up and decided to write it myself:<br />
<code> ls -l | awk '$6 == "2009-06-04" { print $8 }' | xargs -t -i mv {} /destination/folder</code><br />
To understand what this line does, you need to know a bit about <a href="http://www.gnu.org/software/gawk/manual/gawk.html" target="_blank"><span style="font-weight: bold;">awk</span></a> and <span style="font-weight: bold;">xargs</span> (try &#8220;man xargs&#8221; in your shell)</p>
<p>Explaination:<br />
<span style="font-weight: bold;"><br />
ls -l</span> : directory listing<br />
<span style="font-weight: bold;">awk &#8216;$6 == &#8220;2009-06-04&#8243; { print $8 }</span> : take the files and dir with date 2009-06-04 and print the list<br />
<span style="font-weight: bold;">xargs -t -i mv {} /destination/folder</span> : execute the mv command. {} is the result from the previous command.</p>
<p>I would like to explain you more, but I&#8217;m quite lazy and I leave you with google to undestand better the commands I&#8217;ve used.</p>
<p>Have fun! <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2009/06/06/bash-mv-files-with-a-specific-date-to-another-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LightTPD nightmare</title>
		<link>http://antoniolorusso.com/2008/11/13/lighttpd-nightmare/</link>
		<comments>http://antoniolorusso.com/2008/11/13/lighttpd-nightmare/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 12:08:56 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Altro]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[2tls]]></category>
		<category><![CDATA[domain]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[subdomain]]></category>
		<category><![CDATA[tld]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[if are trying to use mod_evhost in lighttpd in a more advanced way like using deep subdomains or with particulars tld like &#8220;co.uk&#8221; aka 2tls, you should know that $HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)$"{ evhost.path-pattern = "/web/%5/%6/assets" } will NEVER WORK but $HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)"{ evhost.path-pattern = "/web/%5/%6/assets/" } WILL WORK. compare the two pieces of code [...]]]></description>
			<content:encoded><![CDATA[<p>if are trying to use mod_evhost in lighttpd in a more advanced way like using deep subdomains or with particulars tld like &#8220;co.uk&#8221; aka 2tls, you should know that<br />
<code><br />
$HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)$"{<br />
evhost.path-pattern = "/web/%5/%6/assets"<br />
}<br />
</code><br />
will NEVER WORK but<br />
<code><br />
$HTTP["host"] =~ "^([^.]+)\.([^.]+)\.babelclient\.photobox\.([^.]+)\.([^.]+)"{<br />
evhost.path-pattern = "/web/%5/%6/assets/"<br />
}<br />
</code><br />
WILL WORK.</p>
<p>compare the two pieces of code and start screaming like a mad!</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2008/11/13/lighttpd-nightmare/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.bashrc not executed</title>
		<link>http://antoniolorusso.com/2008/10/20/bashrc-not-executed/</link>
		<comments>http://antoniolorusso.com/2008/10/20/bashrc-not-executed/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 09:25:34 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2008/10/20/bashrc-not-executed/</guid>
		<description><![CDATA[Me and my friend Antonello, are going to start an experimental testing server to improve our skills in Ruby, PHP and start with Python as well. After the installation, Antonello provided me an access created with webmin but, after the login I noticed that bashrc, actually bash, was not executed! Editing /etc/passwd file, I was [...]]]></description>
			<content:encoded><![CDATA[<p>Me and my friend Antonello, are going to start an experimental testing server to improve our skills in Ruby, PHP and start with Python as well.<br />
After the installation, Antonello provided me an access created with webmin but, after the login I noticed that bashrc, actually bash, was not executed!<br />
Editing /etc/passwd file, I was able to re-enable bash at login instead of sh:<br />
your user line should look like<br />
<code>loginname:x:1001:1001::/home/antonio:/bin/bash</code><br />
and not<br />
<code>loginname:x:1001:1001::/home/antonio:/bin/sh</code></p>
<p> <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2008/10/20/bashrc-not-executed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
