<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Linux Showroom</title>
	
	<link>http://www.linux-showroom.com</link>
	<description>My daily dosis of linux usage</description>
	<pubDate>Fri, 03 Apr 2009 14:29:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/LinuxShowroom" type="application/rss+xml" /><feedburner:emailServiceId>LinuxShowroom</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://feeds.feedburner.com/LinuxShowroom" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><feedburner:feedFlare href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2FLinuxShowroom" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>How to find out user id on linux system</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/SnnpKR0VaUc/how-to-find-out-user-id-on-linux-system.html</link>
		<comments>http://www.linux-showroom.com/2009/04/03/how-to-find-out-user-id-on-linux-system.html#comments</comments>
		<pubDate>Fri, 03 Apr 2009 13:44:40 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[groups]]></category>

		<category><![CDATA[id]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[OpenSuSE]]></category>

		<category><![CDATA[shell]]></category>

		<category><![CDATA[system]]></category>

		<category><![CDATA[user]]></category>

		<category><![CDATA[user id]]></category>

		<category><![CDATA[Yast]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/?p=40</guid>
		<description><![CDATA[For a mount command I needed to find out what user id my user account had. There are several ways to find out. As root you could look into the passwd file (most likely /etc/passwd) or on OpenSuSE use the Yast user module. But I was looking for a way to find out my user [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>For a mount command I needed to find out what user id my user account had. There are several ways to find out. As root you could look into the passwd file (most likely /etc/passwd) or on OpenSuSE use the Yast user module. But I was looking for a way to find out my user id with my ordinary user account. The command I was looking for is <strong>id</strong>. Just open up a shell (konsole on KDE4) with your active user, type id and you get all the information about your user including groups and their ids. If you just want to know the user&#8217;s id, e.g. for a shell script use</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">id</span> <span style="color: #660033;">-u</span> USERNAME</pre></div></div>

<p>and you get back just the id of the user. Simple as that!</p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/LinuxShowroom?a=SnnpKR0VaUc:R51SP319UEo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/LinuxShowroom?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxShowroom?a=SnnpKR0VaUc:R51SP319UEo:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/LinuxShowroom?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxShowroom?a=SnnpKR0VaUc:R51SP319UEo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/LinuxShowroom?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/LinuxShowroom?a=SnnpKR0VaUc:R51SP319UEo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/LinuxShowroom?i=SnnpKR0VaUc:R51SP319UEo:V_sGLiPBpWU" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/SnnpKR0VaUc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2009/04/03/how-to-find-out-user-id-on-linux-system.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2009/04/03/how-to-find-out-user-id-on-linux-system.html</feedburner:origLink></item>
		<item>
		<title>System upgrade openSUSE 11.0 to openSUSE 11.1 with zypper</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/muPjxdVIhVM/system-upgrade-opensuse-110-to-opensuse-111-with-zypper.html</link>
		<comments>http://www.linux-showroom.com/2008/12/20/system-upgrade-opensuse-110-to-opensuse-111-with-zypper.html#comments</comments>
		<pubDate>Sat, 20 Dec 2008 16:47:45 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[OpenSuSE]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[administration]]></category>

		<category><![CDATA[command]]></category>

		<category><![CDATA[installation]]></category>

		<category><![CDATA[system]]></category>

		<category><![CDATA[upgrade]]></category>

		<category><![CDATA[zypper]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/?p=28</guid>
		<description><![CDATA[I had to set up a server. The hoster offers openSUSE 11.0 at the moment but no openSUSE 11.1 yet. As I like to go with the latest and greatest I decided to upgrade the system to openSUSE 11.1 after using the hoster&#8217;s installation image for openSUSE 11.0. I searched on the web how a [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>I had to set up a server. The hoster offers openSUSE 11.0 at the moment but no openSUSE 11.1 yet. As I like to go with the latest and greatest I decided to upgrade the system to openSUSE 11.1 after using the hoster&#8217;s installation image for openSUSE 11.0. I searched on the web how a system upgrade should be done this time. (It seems to differ all the time.) I found a zypper command chain. Change the installation reposotories in <em>/etc/zypp/repos.d</em> to the new version and type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">zypper refresh
zypper dist-upgrade</pre></div></div>

<p><script type="text/javascript"><!--
google_ad_client = "pub-7400231638705781";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "BA6600";
google_color_text = "3F3F3F";
google_color_url = "3F3F3F";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>I did excatly that. It did refresh a few packages but as I guessed immediately not enough. I tried over. It did not help. Here is the solution. Delete all subdirectories in /var/cache/zypper and execute the commands above again.</p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=voixI54N"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=FS8h1cXY"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=AkebsvPz"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=52" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=3aX4aEA4"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?i=3aX4aEA4" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/muPjxdVIhVM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2008/12/20/system-upgrade-opensuse-110-to-opensuse-111-with-zypper.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2008/12/20/system-upgrade-opensuse-110-to-opensuse-111-with-zypper.html</feedburner:origLink></item>
		<item>
		<title>New software packages bundled with OpenSuSE 11.1</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/rSZRg7BnKzI/new-software-packages-bundled-with-opensuse-111.html</link>
		<comments>http://www.linux-showroom.com/2008/12/18/new-software-packages-bundled-with-opensuse-111.html#comments</comments>
		<pubDate>Thu, 18 Dec 2008 19:15:14 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[OpenSuSE]]></category>

		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/?p=24</guid>
		<description><![CDATA[The newest version of OpenSuSE got released today. OpenSuSE 11.1 brings more than 230 new features the press release says. As I keep my systems up to date thanks to smart and all the repositories only a number of these new feature are missing on my OpenSuSE 11.0 installations. The most important reason I quickly [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>The newest version of <a href="http://news.opensuse.org/2008/12/18/opensuse-111-released/">OpenSuSE got released today</a>. OpenSuSE 11.1 brings more than 230 new features the press release says. As I keep my systems up to date thanks to smart and all the repositories only a number of these new feature are missing on my OpenSuSE 11.0 installations. The most important reason I quickly upgrade my desktop system is KDE. As I am still using KDE version 3 and the version that comes with OpenSuSE 11.1 is the same I have installed (KDE 3.5.10) this does not convince me to upgrade.</p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7400231638705781";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text";
google_ad_channel = "";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "BA6600";
google_color_text = "3F3F3F";
google_color_url = "3F3F3F";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>I did however <a href="http://en.opensuse.org/Featurelist_11.1">discover new software (packages) in OpenSuSE 11.1</a> I have not known before. These packages are Tasque, Tellico, Twinkle, Monsoon, PulseAudio and Derby. I googled these terms and came up with the following.</p>
<p><span id="more-24"></span></p>
<ul>
<li><strong>Tasque</strong> is a simple task management app (TODO list) for the Linux Desktop. The <a href="http://live.gnome.org/Tasque/Screenshots">screenshots</a> remind me of the todo app that comes with the KDE Kontact tool.</li>
<li><strong>Tellico</strong> is a KDE application for organizing your collections. Tellico allows you to enter your collection in a catalogue database.</li>
<li><strong>Twinkle</strong> is a free software/open source VoIP softphone application for Linux. It uses the SIP protocol. It also incorporates a GPL implementation of the ZRTP and SRTP security protocols and MD5 digest authentication.</li>
<li><strong>Monsoon</strong> is a fully featured bittorrent GUI supporting many advanced features such as selective downloading, automatic port forwarding via uPnP and RSS integration.</li>
<li><strong>PulseAudio</strong> is a sound server for POSIX and Win32 systems.</li>
<li><strong>Apache Derby</strong> is an open source relational database implemented entirely in Java.</li>
</ul>
<p>I&#8217;d like to say even before I tried it out openSUSE just got better!</p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=VEwWDxUG"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=mk6HYhXL"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=2R4U1SSo"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=52" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=GK7k3IPc"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?i=GK7k3IPc" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/rSZRg7BnKzI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2008/12/18/new-software-packages-bundled-with-opensuse-111.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2008/12/18/new-software-packages-bundled-with-opensuse-111.html</feedburner:origLink></item>
		<item>
		<title>The open source application stack for Windows</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/SIHesYsMms8/the-open-source-application-stack-for-windows.html</link>
		<comments>http://www.linux-showroom.com/2008/12/10/the-open-source-application-stack-for-windows.html#comments</comments>
		<pubDate>Wed, 10 Dec 2008 21:30:47 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[Firefox]]></category>

		<category><![CDATA[Inkscape]]></category>

		<category><![CDATA[Miro]]></category>

		<category><![CDATA[Mozilla]]></category>

		<category><![CDATA[OpenOffice]]></category>

		<category><![CDATA[Scribus]]></category>

		<category><![CDATA[Songbird]]></category>

		<category><![CDATA[The Gimp]]></category>

		<category><![CDATA[Thunderbird]]></category>

		<category><![CDATA[VLC]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/?p=21</guid>
		<description><![CDATA[The bad thing with most new computers is that they come with Windows &#8482; preinstalled. The good thing is those Windows &#8482; installations don&#8217;t bring much (useful) software along. Users have to actively use which software they want to use.

Today I had to run updates on a new laptop which is given away in my [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>The bad thing with most new computers is that they come with Windows &#8482; preinstalled. The good thing is those Windows &#8482; installations don&#8217;t bring much (useful) software along. Users have to actively use which software they want to use.</p>
<p><span id="more-21"></span></p>
<p>Today I had to run updates on a new laptop which is given away in my family this year as xmas present. Needless to say I decided to install some software. The presentee is still at a very influential age. I should have installed Ubuntu or OpenSuSE but I ran with Windows to not upset the father. For all the applications though I was luckily enough to find open source software.</p>
<p>I installed <a title="OpenOffice" href="http://www.openoffice.org/">OpenOffice</a> for office stuff, <a title="Scribus" href="http://www.scribus.net/">Scribus</a> for desktop publishing, <a title="Firefox" href="http://www.mozilla-europe.org/de/firefox/">Mozilla Firefox</a> for surfing, <a title="Thunderbird" href="http://www.mozilla-europe.org/de/products/thunderbird/">Thunderbird</a> for mails, <a title="Songbird" href="http://getsongbird.com/">Songbird</a> for music, <a title="Miro" href="http://www.getmiro.com/">Miro</a> and <a title="VLC" href="http://www.videolan.org/vlc/">VLC</a> for videos, <a title="The GIMP" href="http://www.gimp.org/">The Gimp</a> for pictures and painting and last but not least <a title="Inkscape" href="http://www.inkscape.org">Inkscape</a> for (vector) graphics.</p>
<p>The presentee will get a pretty powerful software package with no upfront cost and no hidden fees. As she is not settled with any programs this setup will open the whole world of open source software to her.</p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=vgqc8tXT"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=b7Zr7o2A"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=RNbM8XXk"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=52" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=4XUFxAjR"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?i=4XUFxAjR" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/SIHesYsMms8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2008/12/10/the-open-source-application-stack-for-windows.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2008/12/10/the-open-source-application-stack-for-windows.html</feedburner:origLink></item>
		<item>
		<title>ejabberd on GNU/Linux OpenSuSE 11.0</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/A-xySY7dGbY/ejabberd-on-gnulinux-opensuse-110.html</link>
		<comments>http://www.linux-showroom.com/2008/11/24/ejabberd-on-gnulinux-opensuse-110.html#comments</comments>
		<pubDate>Mon, 24 Nov 2008 13:41:39 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[administration]]></category>

		<category><![CDATA[ejabberd]]></category>

		<category><![CDATA[erlang]]></category>

		<category><![CDATA[jabber]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[OpenSuSE]]></category>

		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/?p=15</guid>
		<description><![CDATA[I heard about the successful usage of ejabberd from weblin&#8217;s CTO Heiner yesterday at lunch during BarCamp Hamburg 08. 
I was thinking of deploying jabber services for podcast.de for a while now but couldn&#8217;t decide which server to take. I checked the ejabberd website. The software looks promising. So I give it a try.

smart install [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>I heard about the successful usage of ejabberd from <a href="http://www.weblin.com">weblin</a>&#8217;s CTO Heiner yesterday at lunch during <a href="http://barcamphamburg2008.mixxt.de">BarCamp Hamburg 08</a>. </p>
<p>I was thinking of deploying jabber services for <a href="http://www.podcast.de">podcast.de</a> for a while now but couldn&#8217;t decide which server to take. I checked the <a href="http://www.ejabberd.im">ejabberd website</a>. The software looks promising. So I give it a try.</p>

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

<p>Could not find any results. So I check <a href="http://software.opensuse.org/search">OpenSuSE software search</a>. Luckily it lists a source which I add to my smart sources.</p>
<p><span id="more-15"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">smart channel <span style="color: #660033;">--edit</span></pre></div></div>

<p><!--adsense--></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>Cyberorg<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">type</span> = rpm-md
name = Cyberorg
baseurl = http:<span style="color: #000000; font-weight: bold;">//</span>download.opensuse.org<span style="color: #000000; font-weight: bold;">/</span>repositories<span style="color: #000000; font-weight: bold;">/</span>home:<span style="color: #000000; font-weight: bold;">/</span>cyberorg:<span style="color: #000000; font-weight: bold;">/</span>sugar<span style="color: #000000; font-weight: bold;">/</span>openSUSE_11.0<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>On to install the <strong>ejabberd</strong> package:</p>

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

<p>I get a report that I am still missing a package for <em>erlang</em> as ejabberd is written in <strong>erlang</strong>. I use the OpenSuSE software search again which lists the following source:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>NicoK<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">type</span> = rpm-md
name = NicoK
baseurl = http:<span style="color: #000000; font-weight: bold;">//</span>download.opensuse.org<span style="color: #000000; font-weight: bold;">/</span>repositories<span style="color: #000000; font-weight: bold;">/</span>home:<span style="color: #000000; font-weight: bold;">/</span>NicoK<span style="color: #000000; font-weight: bold;">/</span>openSUSE_11.0<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Now I can install ejabberd: ejabberd-2.0.0-2.11@x86_64<br />
I also need one more package: erlang-R12B4-18.11@x86_64</p>
<p>The beauty of installing pre-compiled RPMs on OpenSuSE. You almost always get a rc-file along with the RPM (for server software that is).</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rce -<span style="color: #000000; font-weight: bold;">&gt;</span> Tab -<span style="color: #000000; font-weight: bold;">&gt;</span> rcejabberd</pre></div></div>

<p>There it is. Great! Now I want to change the default configuration. I would expect a config file to sit in /etc/sysconfig but ejabberd brings its own directory under /etc/ejabberd where two config files reside: ejabberd.cfg and ejabberdctl.cfg.</p>
<p>I read before that ejabberd.cfg is the heart of ejabberd. So I edit this for local usage only ATM.</p>
<p><!--adsense--></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#123;</span>hosts, <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>ip, <span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #000000;">127</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">0</span>, <span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>.</pre></div></div>

<p>I give it a try:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rcejabberd start
Starting ejabberd    <span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>Looks like it started. Too bad checking <a href="http://127.0.0.1:5280/admin">http://127.0.0.1:5280/admin</a> does not work. I check for an error in the log dir <strong>/var/log/ejabberd/</strong> just to find out no files have been created. <em>ps aux</em> shows me some erlang stuff is running: <em>/usr/lib64/erlang/erts-5.6.4/bin/epmd -daemon</em> but no jabber process(es) which I would suspect.</p>
<p>I am increasing the loglevel to debug (5):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#123;</span>loglevel, <span style="color: #000000;">5</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>.</pre></div></div>

<p>No change. I remove <em>-detached</em> in the run script and try again. This time I get debug messages on the shell:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">rcejabberd start
Starting ejabberd Erlang <span style="color: #7a0874; font-weight: bold;">&#40;</span>BEAM<span style="color: #7a0874; font-weight: bold;">&#41;</span> emulator version 5.6.4 <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">source</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">64</span>-bit<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>smp:<span style="color: #000000;">2</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>async-threads:<span style="color: #000000;">0</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>hipe<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>kernel-poll:<span style="color: #c20cb9; font-weight: bold;">false</span><span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #7a0874; font-weight: bold;">&#123;</span><span style="color: #ff0000;">&quot;init terminating in do_boot&quot;</span>,<span style="color: #7a0874; font-weight: bold;">&#123;</span>undef,<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>ejabberd,start,<span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>,<span style="color: #7a0874; font-weight: bold;">&#123;</span>init,start_it,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>,<span style="color: #7a0874; font-weight: bold;">&#123;</span>init,start_em,<span style="color: #000000;">1</span><span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span><span style="color: #7a0874; font-weight: bold;">&#125;</span>
Crash dump was written to: erl_crash.dump init terminating <span style="color: #000000; font-weight: bold;">in</span> do_boot<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>    failed</pre></div></div>

<p>At this point I have to give up the experiment as I have no time to fiddle around with erlang problems.</p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=yCkk5h3C"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=rcyIGcM5"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=yy2Qd5Tx"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=52" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=G4KYFiOy"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?i=G4KYFiOy" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/A-xySY7dGbY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2008/11/24/ejabberd-on-gnulinux-opensuse-110.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2008/11/24/ejabberd-on-gnulinux-opensuse-110.html</feedburner:origLink></item>
		<item>
		<title>Free e-book shellprogramming</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/Twsal9y3C5M/free-e-book-shellprogramming.html</link>
		<comments>http://www.linux-showroom.com/2008/09/18/free-e-book-shellprogramming.html#comments</comments>
		<pubDate>Thu, 18 Sep 2008 14:36:18 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[e-book]]></category>

		<category><![CDATA[free]]></category>

		<category><![CDATA[linux]]></category>

		<category><![CDATA[Open Content]]></category>

		<category><![CDATA[shell]]></category>

		<category><![CDATA[shell command]]></category>

		<category><![CDATA[shell program]]></category>

		<category><![CDATA[Wikibooks]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/?p=13</guid>
		<description><![CDATA[I had to write a shell program. And I was looking for a how-to / manual covering my favorites shell command set. I found a nice e-book on Wikibooks: Linux-Kompendium: Shellprogrammierung which helped me a lot. Hence the link for other people.

This post originated from the Linux Showroom feed. Please check out Linux Showroom for [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>I had to write a shell program. And I was looking for a how-to / manual covering my favorites shell command set. I found a nice <a href="http://www.ebooks.vc">e-book</a> on Wikibooks: <a href="http://de.wikibooks.org/wiki/Linux-Kompendium:_Shellprogrammierung">Linux-Kompendium: Shellprogrammierung</a> which helped me a lot. Hence the link for other people.</p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=BWyZnRHR"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=g7BSy3JN"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=jqQToz43"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=52" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=BlP90aQ0"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?i=BlP90aQ0" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/Twsal9y3C5M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2008/09/18/free-e-book-shellprogramming.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2008/09/18/free-e-book-shellprogramming.html</feedburner:origLink></item>
		<item>
		<title>Apache and lighttpd replaced by nginx for PHP application</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/DSgWCavj3bA/apache-and-lighttpd-replaced-by-nginx-for-php-application.html</link>
		<comments>http://www.linux-showroom.com/2008/08/16/apache-and-lighttpd-replaced-by-nginx-for-php-application.html#comments</comments>
		<pubDate>Sat, 16 Aug 2008 19:29:00 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[administration]]></category>

		<category><![CDATA[apache]]></category>

		<category><![CDATA[backend]]></category>

		<category><![CDATA[HAproxy]]></category>

		<category><![CDATA[http]]></category>

		<category><![CDATA[lighttpd]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[nginx]]></category>

		<category><![CDATA[Performance]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[PHP-FPM]]></category>

		<category><![CDATA[Scalability]]></category>

		<category><![CDATA[Settings]]></category>

		<category><![CDATA[Squid]]></category>

		<category><![CDATA[stack]]></category>

		<category><![CDATA[Varnish]]></category>

		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/?p=9</guid>
		<description><![CDATA[A while back I wrote an article Switching from Apache HTTP Server to Lighttpd - Installing Lighttpd. Back then I migrated static stuff to lighttpd but left the dynamic stuff (PHP) with Apache.
I was never really satisfied with the speed of our system under load. I tried and tried. I optimized a lot of stuff [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>A while back I wrote an article <a href="http://www.linux-showroom.com/2007/11/19/switching-from-apache-http-server-to-lighttpd-installing-lighttpd.html">Switching from Apache HTTP Server to Lighttpd - Installing Lighttpd</a>. Back then I migrated static stuff to lighttpd but left the dynamic stuff (PHP) with Apache.</p>
<p>I was never really satisfied with the speed of our system under load. I tried and tried. I optimized a lot of stuff in the backend and with the database. Most of the time I found a switch to make the system just a bit faster. Read <a href="http://www.webcoder.de/2008/01/15/retrospective-on-three-years-of-seagull-development.html">Retrospective on three years of Seagull development</a> if you are interested in the whole story.</p>
<p><span id="more-9"></span></p>
<p><!--adsense--></p>
<p>In the last couple of weeks I ran out of ideas on where to improve next (without the need of rewriting too much code). I remembered using <a href="http://www.squid-cache.org/">Squid</a> years ago. I had a look at the newest version (3.0) and my interest in Squid stopped pretty soon after reading through the documentation. It was just not the software I needed.</p>
<p>I dived into spreading the load to multiple backends using <a href="http://haproxy.1wt.eu/">HAproxy</a> which by the way has a super active community. Check the mailinglist. The maintainer Willy is doing a great job. Learning about HAproxy I stumbled across the webserver <a href="http://wiki.codemongers.com/Main">nginx</a> (pronounced engine x) numerous times. Learning about nginx I stumbled across the reverse proxy <a href="http://varnish.projects.linpro.no/">Varnish</a> which is the proxy solution I hoped Squid would be. Furtherdown the line I ran into PHP-FPM - the PHP FastCGI Process Manager - which should not stay unmentioned.</p>
<p>So I read lots of blog posts, mails from mailinglists, documentation, articles, visited several forums and also learned many new things in a few wikis. So after getting the idea I had my stack together: Varnish -> HAproxy -> nginx -> PHP -> MySQL</p>
<p>Time to test it out! Varnish comes in a relatively uptodate package for my favorite distribution OpenSuSE (currently running 10.3 on 6 systems). HAproxy is available in a fresh version. nginx is theoretically available. It cannot install it though because of a package management conflict. So I downloaded the source for the newest stable version (0.6.3 as time of writing) and compiled it.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>sysoev.ru<span style="color: #000000; font-weight: bold;">/</span>nginx<span style="color: #000000; font-weight: bold;">/</span>nginx-0.6.32.tar.gz
.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>software<span style="color: #000000; font-weight: bold;">/</span>nginx-0.6.32 <span style="color: #660033;">--user</span>=nginx <span style="color: #660033;">--group</span>=nginx --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>I did not need to install any extra packages. Frankly spoken I do have all the packages for compilation of C/C++ installed.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>software
<span style="color: #c20cb9; font-weight: bold;">ln</span> <span style="color: #660033;">-s</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>software<span style="color: #000000; font-weight: bold;">/</span>nginx-0.6.32 nginx</pre></div></div>

<p>I always set a symlink to the currently used package. That way it is easy to replace the package when new versions come out. I can compile and install the new version and just switch the symlink.</p>
<p>Next thing I had to compile was a patched PHP version. So download the sources at <a href="http://www.php.net">php.net</a> and the patches at the <a href="http://php-fpm.anight.org/">PHP-FPM</a> site.</p>
<p>Unpack the PHP source:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> xjvf php-5.2.6.tar.bz2</pre></div></div>

<p>Patch the source:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">gzip</span> <span style="color: #660033;">-cd</span> php-5.2.6-fpm-0.5.8.diff.gz <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-d</span> php-5.2.6 <span style="color: #660033;">-p1</span></pre></div></div>

<p>Configure PHP (adjust your settings accordingly):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">LDFLAGS</span>=<span style="color: #ff0000;">&quot;-L/usr/lib64&quot;</span> .<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--with-curl</span> <span style="color: #660033;">--disable-debug</span> <span style="color: #660033;">--enable-libxml</span> <span style="color: #660033;">--enable-session</span> <span style="color: #660033;">--with-pcre-regex</span> <span style="color: #660033;">--enable-xml</span> <span style="color: #660033;">--with-bz2</span> <span style="color: #660033;">--with-zlib</span> <span style="color: #660033;">--enable-exif</span> <span style="color: #660033;">--enable-inline-optimization</span> <span style="color: #660033;">--enable-soap</span> <span style="color: #660033;">--enable-sockets</span> <span style="color: #660033;">--with-xmlrpc</span> <span style="color: #660033;">--without-pear</span> <span style="color: #660033;">--with-libdir</span>=lib64 <span style="color: #660033;">--with-mysql</span> <span style="color: #660033;">--with-mysqli</span> <span style="color: #660033;">--enable-mbstring</span> <span style="color: #660033;">--with-mcrypt</span> <span style="color: #660033;">--with-mhash</span> <span style="color: #660033;">--with-mime-magic</span> <span style="color: #660033;">--with-jpeg-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib64 <span style="color: #660033;">--with-png-dir</span>=<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib64 <span style="color: #660033;">--with-gd</span> <span style="color: #660033;">--enable-gd-native-ttf</span> <span style="color: #660033;">--with-ttf</span> <span style="color: #660033;">--with-freetype-dir</span> <span style="color: #660033;">--enable-ftp</span> <span style="color: #660033;">--enable-zend-multibyte</span> <span style="color: #660033;">--with-openssl</span> <span style="color: #660033;">--enable-force-cgi-redirect</span> <span style="color: #660033;">--with-pcre-regex</span> <span style="color: #660033;">--without-sqlite</span> <span style="color: #660033;">--without-mm</span> <span style="color: #660033;">--enable-fastcgi</span> <span style="color: #660033;">--enable-bcmath</span> <span style="color: #660033;">--enable-fpm</span> <span style="color: #660033;">--quiet</span> <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>software<span style="color: #000000; font-weight: bold;">/</span>php5.2.6-fpm</pre></div></div>

<p>Compile and install:</p>

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

<p>Adjust the PHP-FPM settings to fit your needs. You can find more info on this and related subjects in the <a href="http://php-fpm.anight.org/docs.html">PHP-FPM documentation</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vim</span> <span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>software<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>php-fpm.conf</pre></div></div>

<p>Start PHP-FPM:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>software<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>php-cgi <span style="color: #660033;">--fpm</span></pre></div></div>

<p>Have a look in the log files:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>opt<span style="color: #000000; font-weight: bold;">/</span>software<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>logs<span style="color: #000000; font-weight: bold;">/</span>php-fpm.log</pre></div></div>

<p>Now you can connect through your webserver to fast-cgi processes. I use nginx as webserver (see above). Advantages and disadvantes of fast-cgi vs. mod-based approaches et al have been covered elsewhere. For me this makes perfectly sense and works extremly well.</p>
<p><!--adsense--></p>
<p>After playing around with Varnish for a while I decided I do not need HAProxy ATM. Varnish can do all the decisions I need to make based on HTTP headers. I configured Varnish&#8217;s config file (here: vcl.conf) by reading lots of examples on the net and trial and error.</p>
<p>If I find more time and anyone is interested I post more details on the configuration of nginx and Varnish. But for now I want to publish this post as it has been sitting here for a while already.</p>
<p>PS: If people say content is king they are absolutely right. But never forget in the internet speed is Kaiser!</p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=wCK225cj"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=ubSsDhZ0"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=x2YOOaHj"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=52" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=sV4XurDI"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?i=sV4XurDI" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/DSgWCavj3bA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2008/08/16/apache-and-lighttpd-replaced-by-nginx-for-php-application.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2008/08/16/apache-and-lighttpd-replaced-by-nginx-for-php-application.html</feedburner:origLink></item>
		<item>
		<title>Solved: Miro won’t start - missing video directory</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/qfTaOwBYUW4/solved-miro-wont-start-missing-video-directory.html</link>
		<comments>http://www.linux-showroom.com/2008/03/31/solved-miro-wont-start-missing-video-directory.html#comments</comments>
		<pubDate>Sun, 30 Mar 2008 22:09:48 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[Miro]]></category>

		<category><![CDATA[Open Source]]></category>

		<category><![CDATA[Podcatcher]]></category>

		<category><![CDATA[Software]]></category>

		<category><![CDATA[TV]]></category>

		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/2008/03/31/solved-miro-wont-start-missing-video-directory.html</guid>
		<description><![CDATA[A couple of days ago a brand new version of Miro the open video podcatcher was released. I was eager to try it out. It is supposed to be faster than the previous release. I had to wait a few days for a rpm for my linux distribution to be released. Thanks to the great [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>A couple of days ago a brand new version of <a href="http://www.getmiro.com/">Miro</a> the open video podcatcher was released. I was eager to try it out. It is supposed to be faster than the previous release. I had to wait a few days for a rpm for my linux distribution to be released. Thanks to the <a href="http://packman.links2linux.de/">great work of the PackMan crew</a> this happended pretty soon after the release. Bummer! Miro won&#8217;t start. It seems I cleaned up to good after uninstalling the previous release. Miro complained that the <strong>video directory is missing</strong>. I checked the <a href="http://www.getmiro.com/forum/">Miro Forums</a> but could not find anything related to Linux. There were some tips for Mac OS X but nothing for linux. I checked the <a href="https://svn.participatoryculture.org/svn/dtv/">source</a>, followed strace, used Google Linux but nothing turned up. I thought the fix would be as easy as finding what directory Miro is looking for. Finding the directory was not easy. I was close to giving up before I tried the unittest switch for Miro.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">miro  <span style="color: #660033;">--unittest</span></pre></div></div>

<p>What shall I say? That did the trick! The unittest failed but it created the missing directory (structure):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">~<span style="color: #000000; font-weight: bold;">/</span>Movies<span style="color: #000000; font-weight: bold;">/</span>Democracy<span style="color: #000000; font-weight: bold;">/</span>Incomplete Downloads<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Now Miro starts. It still looks like it is not running properly but it is a start.</p>
<p>PS: I use OpenSuSE 10.3 and KDE3.</p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=OuiRpugZ"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=bI4Gt1yv"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=jcboGN8E"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=52" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=umy7HBjV"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?i=umy7HBjV" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/qfTaOwBYUW4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2008/03/31/solved-miro-wont-start-missing-video-directory.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2008/03/31/solved-miro-wont-start-missing-video-directory.html</feedburner:origLink></item>
		<item>
		<title>How to add a custom user-agent string to Konqueror</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/Iy03j7b1mWw/how-to-add-a-custom-user-agent-string-to-konqueror.html</link>
		<comments>http://www.linux-showroom.com/2008/03/29/how-to-add-a-custom-user-agent-string-to-konqueror.html#comments</comments>
		<pubDate>Sat, 29 Mar 2008 14:46:17 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[KDE]]></category>

		<category><![CDATA[Browser]]></category>

		<category><![CDATA[Konqueror]]></category>

		<category><![CDATA[Settings]]></category>

		<category><![CDATA[UA]]></category>

		<category><![CDATA[User-Agent]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/2008/03/29/how-to-add-a-custom-user-agent-string-to-konqueror.html</guid>
		<description><![CDATA[You can easily set a custom user-agent string for a specific site through a predefined list of user-agent strings. If you want to define your own custom user-agent string I did not find a gui for that. The solution I found is the following. Launch your favorite text editor and open the file
~/.kde/config/kio_httprc
Just add two [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>You can easily set a custom <a href="http://www.user-agents.com/2008/03/29/mobile-browser-user-agent-strings.html">user-agent string</a> for a specific site through a predefined list of user-agent strings. If you want to define your own custom user-agent string I did not find a gui for that. The solution I found is the following. Launch your favorite text editor and open the file</p>
<blockquote><p>~/.kde/config/kio_httprc</p></blockquote>
<p>Just add two lines to the file. Here is an example. I wanted Konqueror to identify as an iPhone for m.podcast.de. The original iPhone has the following user-agent string:</p>
<blockquote><p>Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3</p></blockquote>
<p>So I added  the following two lines to the file</p>
<blockquote><p>[m.podcast.de]</p>
<p>Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3</p></blockquote>
<p>That&#8217;s all. Save the file. Relaunch Konqueror and you are done!</p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=ngBsK2WB"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=dInWrgJ5"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=mfmtgOym"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=52" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=eavsFlCa"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?i=eavsFlCa" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/Iy03j7b1mWw" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2008/03/29/how-to-add-a-custom-user-agent-string-to-konqueror.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2008/03/29/how-to-add-a-custom-user-agent-string-to-konqueror.html</feedburner:origLink></item>
		<item>
		<title>DNS does not resolve www.google.com - quick fix</title>
		<link>http://feedproxy.google.com/~r/LinuxShowroom/~3/53Pg7EdM9ro/dns-does-not-resolve-wwwgooglecom-quick-fix.html</link>
		<comments>http://www.linux-showroom.com/2007/12/05/dns-does-not-resolve-wwwgooglecom-quick-fix.html#comments</comments>
		<pubDate>Wed, 05 Dec 2007 17:43:40 +0000</pubDate>
		<dc:creator>Fabio</dc:creator>
		
		<category><![CDATA[Howto]]></category>

		<category><![CDATA[dns]]></category>

		<category><![CDATA[hosts]]></category>

		<guid isPermaLink="false">http://www.linux-showroom.com/2007/12/05/dns-does-not-resolve-wwwgooglecom-quick-fix.html</guid>
		<description><![CDATA[Surfing the web today and already yesterday in some cases one website wouldn´t load: www.google.com. This makes it difficult to login to Google AdWords and impossible to login to AdSense. For searching I can use the localized version www.google.de. That works just fine. But I use my browser´s (Mozilla Firefox) integrated search box quiet frequently. [...]<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
]]></description>
			<content:encoded><![CDATA[<p>Surfing the web today and already yesterday in some cases one website wouldn´t load: www.google.com. This makes it difficult to login to Google AdWords and impossible to login to AdSense. For searching I can use the localized version www.google.de. That works just fine. But I use my browser´s (Mozilla Firefox) integrated search box quiet frequently. Using Google there leads to the .com version. www.google.com is working just fine (When did they have their last downtime? Did they ever have one?) so things with the DNS (Domain Name System) could be messed up. The system does not find an ip address for the url www.google.com anymore. The solution could be to set a fixed ip address for the url. This is also good for having local urls, e.g. my.system.</p>
<p>Would you need to do is edit the file <strong>/etc/hosts</strong> with an editor of your choice. As you need root rights you probably have to do this using a shell. Try vim, joe, emac or whatever you prefer.</p>
<p>Add a line</p>
<blockquote><p><strong>209.85.135.103  www.google.com</strong></p></blockquote>
<p>to your hosts file and you are ready to load Google in your browser again.</p>
<p><!--adsense--></p>
<p><br /><br />
This post originated from the <a href="http://www.linux-showroom.com/feed/">Linux Showroom feed</a>. Please check out <a href="http://www.linux-showroom.com">Linux Showroom</a> for more posts.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=J4s1EN1g"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=41" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=SQHKJEJ4"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=50" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=ynXOghEG"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?d=52" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/LinuxShowroom?a=G171RzY3"><img src="http://feeds.feedburner.com/~f/LinuxShowroom?i=G171RzY3" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/LinuxShowroom/~4/53Pg7EdM9ro" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.linux-showroom.com/2007/12/05/dns-does-not-resolve-wwwgooglecom-quick-fix.html/feed</wfw:commentRss>
		<feedburner:origLink>http://www.linux-showroom.com/2007/12/05/dns-does-not-resolve-wwwgooglecom-quick-fix.html</feedburner:origLink></item>
	</channel>
</rss>
