<?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>that Sam guy &#187; nginx</title>
	<atom:link href="http://thatsamguy.com/tag/nginx/feed/" rel="self" type="application/rss+xml" />
	<link>http://thatsamguy.com</link>
	<description>Ramblings on tech and stuff</description>
	<lastBuildDate>Sat, 24 Sep 2011 08:07:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CyprixRPMS and Nginx upgrade</title>
		<link>http://thatsamguy.com/2010/11/cyprixrpms-and-nginx-upgrade/</link>
		<comments>http://thatsamguy.com/2010/11/cyprixrpms-and-nginx-upgrade/#comments</comments>
		<pubDate>Fri, 05 Nov 2010 00:19:49 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mageia]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[ZuFeed]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[rpm]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.cyprix.com.au/?p=95</guid>
		<description><![CDATA[It&#8217;s been a while (12 months) since nginx was last updated for Mandriva 2010.0 which has left my server running 0.8.17 for a long time. However since nginx is currently at 0.8.35 and the 0.8 branch has now gone stable along with many new features and bug fixes (see the changelog), I thought now was [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been a while (12 months) since nginx was last updated for Mandriva 2010.0 which has left my server running 0.8.17 for a long time. However since nginx is currently at 0.8.35 and the 0.8 branch has now gone stable along with many new features and bug fixes (see the <a title="Nginx Changelog" href="http://nginx.org/en/CHANGES" target="_blank">changelog</a>), I thought now was the time to upgrade.</p>
<p>I checked around for a more up-to-date rpm for Mandriva 2010.0 but none currently exists. There is 0.8.41 and 0.8.53 avaliable for 2010.1 and cooker. So&#8230;. one of three decisions to make.</p>
<ol>
<li>Upgrade the server to 2010.1</li>
<li>Use either the 2010.1 or cooker nginx package on my existing install</li>
<li>Request a backport for 2010.0</li>
<li>Backport the package myself</li>
</ol>
<p>Since this is a stable server an entire upgrade is a big risk and 2010.0 has a longer support timeframe, option 1 can be ignored. The same can be said about running packages not designed for the system. There goes option 2.</p>
<p>I decided to do both option 3 (<a title="Mandriva Bugzilla Report 61505" href="https://qa.mandriva.com/show_bug.cgi?id=61505" target="_blank">Mandriva Bug Report</a>) and 4.</p>
<p>I&#8217;ve never built an rpm before and thought that it was about time to learn, especially as I&#8217;d like to build up to being a maintainer/packager for the recently forked <a title="Mageia" href="http://mageia.org" target="_blank">Mageia</a>. So I set up a 2010.0 64bit build server and a 64bit test server and started using the <a title="Mandriva RPM Howto" href="http://wiki.mandriva.com/en/Mandriva_RPM_HOWTO" target="_blank">Mandriva RPM Howto</a>.</p>
<p>I downloaded the cooker source rpm for nginx 0.8.53 and rebuilt it for 2010.0.</p>
<p>Success! nginx-0.8.53-2mdv2010.0.x86_64.rpm</p>
<p>Since I now have the rpms (and along with my desire to do more packaging) I decided to use genhdlist2 and my rsync server to create my own repository &#8211; CyprixRPMS.</p>
<p>Using my own repo I upgraded my main server to 0.8.53 after basic testing on my 64bit test virtual machine.</p>
<p>You can add my repo with the command below as root (or sudo) for Mandriva 2010.0 64bit.</p>
<blockquote><p>urpmi.addmedia cyprixrpms rsync://proteus.cyprix.com.au::cyprixrpms/mandriva/2010.0/x86_64</p></blockquote>
<p>If you have any feedback on my rpms please <a href="/about" target="_self">email me</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://thatsamguy.com/2010/11/cyprixrpms-and-nginx-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New server (with photos)</title>
		<link>http://thatsamguy.com/2009/09/new-server-with-photos/</link>
		<comments>http://thatsamguy.com/2009/09/new-server-with-photos/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 12:47:09 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Cyprix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[ZuFeed]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[powerdns]]></category>
		<category><![CDATA[roundcube]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.cyprix.com.au/?p=82</guid>
		<description><![CDATA[As part of an overall upgrade for my systems, I&#8217;m moving to a brand new server. It&#8217;s my first rackmount server at 1U high and will be going into a colocation centre soonish. It will be running a variety of applications including: Mandriva Linux 2010.0 Web Serving: Nginx, Apache 2.2, PHP 5.3 Mail: Postfix, Dovecot, [...]]]></description>
			<content:encoded><![CDATA[<p>As part of an overall upgrade for my systems, I&#8217;m moving to a brand new server. It&#8217;s my first rackmount server at 1U high and will be going into a colocation centre soonish.</p>
<p>It will be running a variety of applications including:</p>
<ul>
<li>Mandriva Linux 2010.0</li>
<li>Web Serving: Nginx, Apache 2.2, PHP 5.3</li>
<li>Mail: Postfix, Dovecot, RoundCube</li>
<li>DNS: PowerDNS, Bind</li>
<li>Database: MySQL</li>
<li>Virtual Hosting: VirtualBox</li>
</ul>
<p>Server Specifications:</p>
<ul>
<li>Intel SR1530HSH with S3200SHVL Motherboard. 320w PSU, 3x Hot Swap SATA HDD, 2x Gb Nic</li>
<li><span style="text-decoration: line-through">Intel Q9550 Processor &#8211; 4x 2.83ghz, 12mb cache, e0 stepping</span></li>
<li>Intel Q9400 Processor &#8211; 4x 2.66ghz, 6mb cache, r0 stepping</li>
<li>4x 2gb (8gb total) Kingston DDR2 800Mhz Ram</li>
<li>2x 1Tb Seagate Hard Drives (in RAID 1)</li>
</ul>
<p><strong>Update:</strong> Unfortunately, the E0 stepping Q9550 is not supported for the bios of the s3200 motherboard, so I&#8217;ve had to switch down to the Q9400 with only 6mb cache <img src='http://thatsamguy.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> .</p>
<p>Photos:</p>
<div id="attachment_73" class="wp-caption alignleft" style="width: 260px"><img class="size-full wp-image-73" title="Intel SR1530HSH 1U Server - Front" src="http://blog.cyprix.com.au/wp-content/uploads/2009/09/23092009884th.jpg" alt="Intel SR1530HSH 1U Server - Front" width="250" height="188" /><p class="wp-caption-text">Intel SR1530HSH 1U Server - Front</p></div>
<div id="attachment_77" class="wp-caption alignleft" style="width: 260px"><img class="size-full wp-image-77" title="Intel SR1530HSH 1U Server - Rear" src="http://blog.cyprix.com.au/wp-content/uploads/2009/09/23092009887th.jpg" alt="Intel SR1530HSH 1U Server - Rear" width="250" height="188" /><p class="wp-caption-text">Intel SR1530HSH 1U Server - Rear</p></div>
<div id="attachment_79" class="wp-caption alignleft" style="width: 260px"><img class="size-full wp-image-79" title="Intel SR1530HSH 1U Server - Top" src="http://blog.cyprix.com.au/wp-content/uploads/2009/09/23092009888th.jpg" alt="Intel SR1530HSH 1U Server - Top" width="250" height="188" /><p class="wp-caption-text">Intel SR1530HSH 1U Server - Top</p></div>
<div id="attachment_81" class="wp-caption alignleft" style="width: 260px"><img class="size-full wp-image-81" title="Intel SR1530HSH 1U Server - Inside" src="http://blog.cyprix.com.au/wp-content/uploads/2009/09/23092009889th.jpg" alt="Intel SR1530HSH 1U Server - Inside" width="250" height="188" /><p class="wp-caption-text">Intel SR1530HSH 1U Server - Inside</p></div>
]]></content:encoded>
			<wfw:commentRss>http://thatsamguy.com/2009/09/new-server-with-photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Solved] WordPress automatic upgrade and nginx</title>
		<link>http://thatsamguy.com/2009/09/solved-wordpress-automatic-upgrade-and-nginx/</link>
		<comments>http://thatsamguy.com/2009/09/solved-wordpress-automatic-upgrade-and-nginx/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 12:19:53 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.cyprix.com.au/?p=61</guid>
		<description><![CDATA[With my slow move over to nginx I&#8217;ve been finding the odd niggle to solve. Today&#8217;s one was the inability for my wordpress installations to use the automatic upgrade facility whilst running on nginx. Instead it kept asking to fall back to ftp for upgrading. On apache, this can occur when your wordpress directory does [...]]]></description>
			<content:encoded><![CDATA[<p>With my slow move over to nginx I&#8217;ve been finding the odd niggle to solve. Today&#8217;s one was the inability for my wordpress installations to use the automatic upgrade facility whilst running on nginx. Instead it kept asking to fall back to ftp for upgrading.</p>
<p>On apache, this can occur when your wordpress directory does not have write permissions for the apache user. But I&#8217;d already checked that. So I got thinking&#8230;</p>
<p>Since nginx and php fastcgi are separate processes I checked the users they were running under &#8211; lo and behold the php-fcgi was running under root!!! Big oops! Solution: change php-fcgi to run as user nginx &amp; group nginx (same as the nginx server under Mandriva). As I currently use the spawn-fcgi program I changed by init.d file to use the user and group options as shown below.</p>
<p><code>/usr/local/bin/spawn-fcgi -u nginx -g nginx</code></p>
<p>All fixed <img src='http://thatsamguy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>At some stage I&#8217;ll post my init.d file for php-fcgi and my nginx configuration files once they become somewhat stable.</p>
]]></content:encoded>
			<wfw:commentRss>http://thatsamguy.com/2009/09/solved-wordpress-automatic-upgrade-and-nginx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating to nginx, php 5.3, mysql 5.1, mandriva 2010&#8230; and more</title>
		<link>http://thatsamguy.com/2009/09/migrating-to-nginx-php-5-3-mysql-5-1-mandriva-2010-and-more/</link>
		<comments>http://thatsamguy.com/2009/09/migrating-to-nginx-php-5-3-mysql-5-1-mandriva-2010-and-more/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 16:40:16 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.cyprix.com.au/?p=56</guid>
		<description><![CDATA[Lots going on at the moment. I&#8217;m migrating most of mine and my clients websites to nginx from apache in preparation for moving everything to a new server. First thoughts? Nginx is super fast, reasonably easy to configure (once you figure out the php issues) and saves a heap on memory. Downside? I&#8217;ve had the [...]]]></description>
			<content:encoded><![CDATA[<p>Lots going on at the moment. I&#8217;m migrating most of mine and my clients websites to <a href="http://wiki.nginx.org">nginx</a> from apache in preparation for moving everything to a new server.</p>
<p>First thoughts? Nginx is super fast, reasonably easy to configure (once you figure out the php issues) and saves a heap on memory. Downside? I&#8217;ve had the odd niggle with moving old sites across &#8211; especially since I&#8217;m moving to php 5.3 and MySQL 5.1 at the same time, otherwise all good.</p>
<p>The other major change is the look of this blog. The old K2 theme was becoming an issue to deal with (mainly because I didn&#8217;t update it enough) so I&#8217;ve now moved to this lovely theme: <a href="http://wordpress.org/extend/themes/inove">inove</a>. I&#8217;ve also done a fresh wordpress install of 2.8.4 and added pretty links &#8211; so anyone linking to the old structure might have the odd issue, but otherwise should be painless. Oh yeah &#8211; any images on the older posts (pre Aug 2009) are gone.</p>
<p>Anyway here is a list of upgrades currently underway:</p>
<ul>
<li>php 5.2.x to 5.3.0</li>
<li>mysql 5.0 to mysql-max 5.1</li>
<li>apache 2.2/mod_php to nginx 0.8.10/php-fcgi</li>
<li>athlon64 2ghz 1gb ram to athlon64 X2 2ghz 2gb ram</li>
<li>mandriva 2008.x/2009.x to 2010.0 (Cooker)</li>
<li>wordpress 2.x.x to 2.8.4</li>
<li>mediawiki 1.x to 1.15.1</li>
<li>bind 9 to powerdns 2.9.22</li>
<li>and a few more that i&#8217;ve forgotten about</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://thatsamguy.com/2009/09/migrating-to-nginx-php-5-3-mysql-5-1-mandriva-2010-and-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

