<?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>Wed, 02 May 2012 21:37:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>perl: warning: Setting locale failed.</title>
		<link>http://antoniolorusso.com/2012/04/01/409/</link>
		<comments>http://antoniolorusso.com/2012/04/01/409/#comments</comments>
		<pubDate>Sun, 01 Apr 2012 13:58:51 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[locale]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/?p=409</guid>
		<description><![CDATA[Tired of this: perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US:en", LC_ALL = (unset), LC_CTYPE = "en_GB.UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). locale: Cannot set LC_CTYPE to default locale: No such file or [...]]]></description>
			<content:encoded><![CDATA[<p>Tired of this:<br />
<code><br />
perl: warning: Setting locale failed.<br />
perl: warning: Please check that your locale settings:<br />
LANGUAGE = "en_US:en",<br />
LC_ALL = (unset),<br />
LC_CTYPE = "en_GB.UTF-8",<br />
LANG = "en_US.UTF-8"<br />
are supported and installed on your system.<br />
perl: warning: Falling back to the standard locale ("C").<br />
locale: Cannot set LC_CTYPE to default locale: No such file or directory<br />
locale: Cannot set LC_ALL to default locale: No such file or directory<br />
</code><br />
Do this:<br />
<code><br />
export LANGUAGE=en_US.UTF-8<br />
export LANG=en_US.UTF-8<br />
export LC_ALL=en_US.UTF-8<br />
sudo locale-gen en_US.UTF-8<br />
sudo dpkg-reconfigure locales<br />
</code></p>
<p>Be happy again <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2012/04/01/409/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIM and the clipboard on Ubuntu</title>
		<link>http://antoniolorusso.com/2010/12/07/vim-and-the-clipboard-on-ubuntu/</link>
		<comments>http://antoniolorusso.com/2010/12/07/vim-and-the-clipboard-on-ubuntu/#comments</comments>
		<pubDate>Tue, 07 Dec 2010 13:16:56 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/12/07/vim-and-the-clipboard-on-ubuntu/</guid>
		<description><![CDATA[If you want to copy and paste from Vim to the clipboard, install the package vim.gtk and enjoy the command &#8220;+y !]]></description>
			<content:encoded><![CDATA[<p>If you want to copy and paste from Vim to the clipboard, install the package vim.gtk and enjoy the command &#8220;+y !</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/12/07/vim-and-the-clipboard-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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[nginx]]></category>
		<category><![CDATA[PHP]]></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>3</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>1</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>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
