<?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; Servers</title>
	<atom:link href="http://thatsamguy.com/category/tech/servers/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>Upgrade to Sphinx and PBXT for ZuFeed.com</title>
		<link>http://thatsamguy.com/2011/09/upgrade-sphinx-pbxt-zufeed-com/</link>
		<comments>http://thatsamguy.com/2011/09/upgrade-sphinx-pbxt-zufeed-com/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 08:03:23 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[ZuFeed]]></category>
		<category><![CDATA[fulltext]]></category>
		<category><![CDATA[myisam]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[pbxt]]></category>
		<category><![CDATA[sphinx]]></category>

		<guid isPermaLink="false">http://thatsamguy.com/?p=244</guid>
		<description><![CDATA[Although ZuFeed has been up and running for almost 2 years now, those who use it regularly (especially me) will have noticed that sometimes searches and collections time out and not load at all. Other times a collection may take 30 seconds to load. Never fear! A solution is at hand! What went wrong The [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://zufeed.com"><img class="alignright" title="ZuFeed" src="http://zufeed.com/logo50.png" alt="ZuFeed" width="196" height="80" /></a>Although <a title="ZuFeed - Latest news, updates and information from all over the world " href="http://zufeed.com">ZuFeed</a> has been up and running for almost 2 years now, those who use it regularly (especially me) will have noticed that sometimes searches and collections time out and not load at all. Other times a collection may take 30 seconds to load.</p>
<p>Never fear! A solution is at hand!</p>
<p><span id="more-244"></span></p>
<h3>
What went wrong</h3>
<p>The cause of these problems has been the architecture running behind ZuFeed. Although I designed much of the backend to scale greatly, history now shows that one major decision was incorrect&#8230; well at least is now incorrect for a site holding more than 3.3 million articles.</p>
<p>As ZuFeed uses MySQL as a backend, and fulltext searching is required, the original decision was to hold all the data in <a title="MyISAM - wikipedia entry" href="http://en.wikipedia.org/wiki/Myisam" target="_blank">MyISAM</a> tables and search using the built-in fulltext search indexes. As ZuFeed has grown searches have become a lot slower and new articles are added only seconds apart. This is due to two issues with using MyISAM and one coding error on my part.</p>
<ol>
<li>Poor scaling of MyISAM fulltext searching (for a database of 7GB+ in size)</li>
<li>Constant MyISAM table level locking for each new article entry</li>
<li>A missing index for the top searches</li>
</ol>
<h3>The Solution</h3>
<p><a href="http://primebase.org"><img class="alignright" title="PBXT" src="http://www.primebase.net/images/pbt_logo.jpg" alt="PrimeBase XT (PBST)" width="213" height="69" /></a>The third problem was easily solved by identifying the needed index and adding it to the database. Result? The search summary page now shows up without delays.</p>
<p>Solving the second problem required changing the storage engine to one that used row-level locking instead of table-level locking. The easiest options available were <a title="InnoDB wikipedia entry" href="http://en.wikipedia.org/wiki/InnoDB" target="_blank">InnoDB</a> and <a title="PBXT - PrimeBase XT" href="http://primebase.org/" target="_blank">PBXT</a>. Unlike InnoDB, PBXT is not included by default in MySQL installations and is instead available as a plugin. <a title="MariaDB - A drop in replacement for MySQL" href="http://mariadb.org/" target="_blank">MariaDB</a> (a fork of MySQL) however does include PBXT.</p>
<p>Both InnoDB and PBXT are robust, tranactional and ACID compliant storage engines. However PBXT is also log based, which allows for fast speed in a large variety of scenarios. As I have been using PBXT for a while now in another project, I decided to switch the tables to PBXT.</p>
<p>Since PBXT (and InnoDB) for that matter do not include fulltext searching, I needed a replacement search engine. I decided to use another open source project with a simple setup and very fast search speeds and easy integration with MySQL and php &#8211; <a title="Sphinx Fulltext Search Engine" href="http://sphinxsearch.com/about/sphinx/" target="_blank">Sphinx</a>.</p>
<h3>The Implementation</h3>
<p>I attempted to have as little down time as possible with the testing and then implementation of the new systems. Overall it went something like this:</p>
<p><strong><a href="http://sphinxsearch.com"><img class="alignright" title="Sphinx" src="http://sphinxsearch.com/images/sphinx.jpg" alt="Sphinx - Open Source Search Server" width="200" height="51" /></a>Part 1 &#8211; Sphinx Search Engine</strong></p>
<ul>
<li>Add a new auto incremented unique id of type integer to the databases (as required for Sphinx)</li>
<li>Set up Sphinx to use two indexes &#8211; one main and one delta for updates to allow shorter <a title="Sphinx Manual on Live Updates" href="http://sphinxsearch.com/docs/manual-0.9.8.html#live-updates" target="_blank">re-indexing</a> times (although not quite realtime)</li>
<li>Schedule delta index re-indexing every 60 seconds via a cron job.</li>
<li>Run initial indexing of article database &#8211; Warning! This can take long time!</li>
<li>Test Sphinx vs MySQL fulltext results via php.</li>
</ul>
<p>The results showed significantly faster searches using Sphinx over the MySQL in-built fulltext search. Sphinx also allowed more information to be searched. I was now able to include summary, author and permalink url fields to the search without penalty.</p>
<p><strong>Part 2 &#8211; Integrate Sphinx into ZuFeed</strong></p>
<ul>
<li>Change php classes to use Sphinx instead of MySQL fulltext searching</li>
<li>Add unique id conversion functions between new and old id&#8217;s</li>
<li>Maintain the same API to avoid changing other code</li>
<li>Test to make sure searching still works in ZuFeed</li>
</ul>
<p><strong>Part 3 &#8211; MyISAM to PBXT Conversion</strong></p>
<ul>
<li>Remove fulltext indexes from each table</li>
<li>Convert each table to use PBXT</li>
</ul>
<p>When converting a table from one storage engine to another, keep in mind that ALL data has to be copied to a new temporary table first, then renamed to remove the original. As such this takes a long time for multi-gigabytes tables.</p>
<h3>Conclusion</h3>
<p>And there you have it.</p>
<p><a title="ZuFeed - Latest news, updates and information from all over the world" href="http://zufeed.com/">ZuFeed</a> is now quicker at searching, responds to new requests faster, no longer times out on loading, and also produces more relevant results.</p>
]]></content:encoded>
			<wfw:commentRss>http://thatsamguy.com/2011/09/upgrade-sphinx-pbxt-zufeed-com/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mageia or Mandriva? Review, decision &amp; migration.</title>
		<link>http://thatsamguy.com/2011/08/mageia-1-migration-and-review/</link>
		<comments>http://thatsamguy.com/2011/08/mageia-1-migration-and-review/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 12:04:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mageia]]></category>
		<category><![CDATA[Mandriva]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.cyprix.com.au/?p=143</guid>
		<description><![CDATA[Those who follow the Linux news will know that part of the team at Mandriva forked the distribution and started Mageia. At the announcement of the forking in Sep 2010, I was quite worried as to where this would leave me. As I have many servers, desktops, and laptops spread between many friends, family and [...]]]></description>
			<content:encoded><![CDATA[<p>Those who follow the Linux news will know that part of the team at <a href="http://mandriva.com">Mandriva</a> forked the distribution and started <a href="http://mageia.org">Mageia</a>. At the <a title="Mageia fork annoucement" href="http://www.mageia.org/en/about/2010-sept-announcement.html" target="_blank">announcement</a> of the forking in Sep 2010, I was quite worried as to where this would leave me. As I have many servers, desktops, and laptops spread between many friends, family and clients using Mandriva Linux and as such I knew that the path I followed from here would impact many people.</p>
<p>What follows from here is my look at the Mandriva vs. Mageia battle for supremacy on my machines. I&#8217;ve been using Mandriva for a long time (since the 8.2 days) and many of the reasons I chose it initially such as ease of use, active community, constant innovation, stability, common server/desktop and amazing configuration tools (DrakX), have remained the same and stopped tempting migrations to Fedora, Ubuntu or Suse. However some things change. Mandriva&#8217;s commercial stability has been lacking for a long time, which produced the laying off of a large group of developers &#8211; the same developers who decided they&#8217;d had enough and created Mageia.</p>
<p>Mageia being a fork of Mandriva has allowed it to keep many of the features as above, and the time has come for a decision: stay with Mandriva, move to Mageia or consider something else entirely.</p>
<p><span id="more-143"></span>Please note that I prefer to keep all installations that I manage the same, including servers and desktops, which does remove many other excellent distributions from consideration and also is why Mageia is my first port of call.</p>
<h3>Mandriva vs. Mageia &#8211; Summary</h3>
<p>I have followed the development of both distributions since the announcement with eagerness and interest. Here is my summary of the current status and paths of each:</p>
<h4>Mandriva</h4>
<ul>
<li>Heavy development of new UI tools for easier use (some describe as &#8216;Mac&#8217; like)</li>
<li>New investment in the company with Russian money (ROSA Labs)</li>
<li>Attempting to make a huge jump in lots of new software at once &#8211; including RPM5 and systemd</li>
<li>Delays due to reduced personnel and the huge amount of changes.</li>
<li>Changeable focus and release schedules</li>
<li>Upgradeable from previous versions but with some difficulty (due major software changes)</li>
</ul>
<h4>Mageia</h4>
<ul>
<li>Started with Mandriva 2010.1 but with all packages cleaned and upgraded to the latest versions</li>
<li>Very, very stable pre-releases (as well as the first release <a title="Mageia 1" href="http://mageia.org/en/1/">Mageia 1</a>)</li>
<li>No major changes to the implementation</li>
<li>Very active new community and good work being done with other distributions</li>
<li>Allows the community to define the direction, development and core ideas in theory and especially in practice</li>
<li>Upgradeable from Mandriva 2010.1 officially &#8211; see the <a title="Mandriva to Mageia 1 Upgrade Guide" href="http://mageia.org/en/1/migrate/" target="_blank">upgrade guide</a></li>
</ul>
<h3>Mageia Review<a title="Mageia" href="http://mageia.org" target="_blank"><img class="size-full wp-image-207 alignright" title="Mageia" src="http://thatsamguy.com/wp-content/uploads/2011/08/logo_ln_1.png" alt="" width="186" height="61" /></a></h3>
<p>The team at Mageia have taken their time to set up their systems and process for long term success and survivability. These considerations molded what the first release Mageia 1 was going to be like.</p>
<p>The stated focus was:</p>
<ul>
<li>Building the Build System</li>
<li>Start from Mandriva 2010.1, clean, review and rebuild everything</li>
<li>No major changes &#8211; just software updates</li>
<li>Only include packages as requested</li>
</ul>
<p>All of this resulted in Mageia 1&#8242;s pre-releases (Alpha, Betas, RC) and final release all being exceptionally stable, matching all the features from the best Mandriva release 2010.1 and creating a very clean base to build from. There were no huge failures post release, no obvious beta software included and no <a title="Sir Humphrey on Courageous" href="http://en.wikiquote.org/wiki/Yes,_Minister#Episode_Six:_The_Right_to_Know" target="_blank">controversial or courageous decisions</a>. Just a very solid a capable release.</p>
<p>I won&#8217;t rehash other full reviews of Mageia 1. It truly is just a very updated Mandriva 2010.1.</p>
<h4>New packages, missing packages</h4>
<p>All package in Mageia are cleaned and updated. As such it includes: Linux Kernel 2.6.38, KDE 4.6.3, Gnome 2.32, XFCE 4.8.1, Firefox 4, LibreOffice 3.3.2 and VirtualBox 4.0.6. See the <a title="Mageia 1 Release Notes" href="http://www.mageia.org/en/1/notes/" target="_blank">Release Notes</a> for further information.</p>
<p>However if no-one was found to maintain a package, clean and rebuild it, it wasn&#8217;t included. As such Mageia 1 ships with much less available software than Mandriva 2010.1, but everything works, most packages people want are there and many more a being added post release.</p>
<h4>Repositories and naming</h4>
<p>During development of Mageia 1 there was a large (somewhat epic) discussion on how to manage the repositories, names for each and what they should hold. The rolling development release is called Cauldron and works much like Mandriva&#8217;s Cooker.</p>
<p>The repositories are:</p>
<ul>
<li>Core &#8211; free open source packages. The default repository for most packages.</li>
<li>Non-free &#8211; free of charge but not open source packages. E.g. Nvidia and AMD graphics drivers</li>
<li>Tainted &#8211; packages that might infringe on patents in some countries. A la PLF for Mandriva or RPM Fusion for Fedora.</li>
</ul>
<h4>Desktop Look and Feel</h4>
<p>Mageia stripped out the icons, wallpaper and theme from Mandriva and started again. The dotted wallpaper is nice and basic in my opinion, but is easily changed to many other nicer ones.</p>
<div id="attachment_198" class="wp-caption alignright" style="width: 310px"><a href="http://thatsamguy.com/wp-content/uploads/2011/08/mageia_mcc.png"><img class="size-medium wp-image-198 " title="Mageia 1 - Mageia Control Center (MCC)" src="http://thatsamguy.com/wp-content/uploads/2011/08/mageia_mcc-300x235.png" alt="" width="300" height="235" /></a><p class="wp-caption-text">Mageia Control Center (MCC)</p></div>
<p>I much prefer the new icons in the KDE system tray and Mageia Control Center (MCC) as shown.</p>
<div id="attachment_199" class="wp-caption alignnone" style="width: 148px"><a href="http://thatsamguy.com/wp-content/uploads/2011/08/mageia_kde_systemtray.png"><img class="size-full wp-image-199 " title="Mageia KDE System Tray" src="http://thatsamguy.com/wp-content/uploads/2011/08/mageia_kde_systemtray.png" alt="" width="138" height="34" /></a><p class="wp-caption-text">Mageia KDE System Tray</p></div>
<p>However the main point of difference on the desktop, and the only point of controversy is the look of the fonts. That&#8217;s right, not the fonts themselves but the way they look. Mageia has decided to enable autohinting which produces cleaner, slimmer fonts. Some say it looks ugly (<a title="Mageia Bug Report 175" href="https://bugs.mageia.org/show_bug.cgi?id=175" target="_blank">Bug 175</a>), others like it. Now, I used to be in the &#8220;ugly&#8221; camp and made sure that my Mandriva installations disabled the PLF version of the fonts which had this effect. However I&#8217;ve changed my mind after trying them out for a while and quite like them.</p>
<p>One other change is that KDE seems a lot more stable than previously &#8211; including that using the nepomuk file search from within dolphin actually works, in real time and doesn&#8217;t drastically slow the machine in the background. Though this is due not so much the Mageia team but to the new KDE version and the great work of the KDE team &#8211; so all distributions should also be enjoying the benefits.</p>
<h4>Release schedule</h4>
<p>Both Mandriva and Mageia are departing from the 6 month release schedule of the Mandriva 2010 series. Mandriva is moving to yearly release whilst after much discussion Mageia is moving to a <a title="Mageia Release Cycle" href="http://blog.mageia.org/en/2011/07/17/mageia-2-release-cycle-support-and-planning/" target="_blank">9 monthly</a> release cycle. Mageia&#8217;s next release is scheduled for 4th April 2012.</p>
<h3>The Decision</h3>
<p>Mageia continues to do everything I wanted from Mandriva and adds excellent stability, transparency and has shown a great willingness to take greater input and direction from the community. The 9 month release schedule allows for up to date software, but allows enough time to make sure all is stable before release without manic last minute bugs being left.</p>
<p>I have decided to migrate all my Mandriva installations to Mageia and to hopefully participate more as part of the Mageia community.</p>
<h3>The migration story so far&#8230;</h3>
<p>For each machine I&#8217;ve moved so far to Mageia I&#8217;ve listed the machine specs, previous Mandriva version if any, install type, Mageia edition and a few comments from the install.</p>
<h4>Machine 1: Laptop</h4>
<ul>
<li>Specs: Toshiba Satellite A100 &#8211; Intel Core Duo T2300, 1GB RAM, GeForce Go 7300</li>
<li>Previously: Mandriva 2010.1 32bit Powerpack</li>
<li>Currently: Mageia 1 32bit KDE via fresh install<br />
My first install of Mageia was to my own laptop to get a feel of things. I tested the Beta 1 (fresh install), Beta 2 (upgrade),  RC (upgrade) and final (fresh install) and found amazing stability &#8211; no crashes or major hiccups at all. It has also certainly also felt quite a bit faster than the previous Mandriva 2010.2. As the Skype packages for Mandriva don&#8217;t work anymore, I installed Skype using the notes as <a title="Install Skype in Mageia" href="http://blog.linux4us.org/2011/06/04/install-skype-in-mageia/" target="_blank">shown here</a>.</li>
</ul>
<h4>Machine 2: Desktop</h4>
<ul>
<li>Specs: AMD Phenom II X4 965BE, 8GB RAM, ATI Radeon 4770</li>
<li>Previously: Mandriva 2010.2 64bit Powerpack (with many backports)</li>
<li>Currently: Mageia 1 64bit KDE via upgrade<br />
Upgraded via the command line with urpmi as per the Mageia upgrade guide. No settings went awry and all worked well. Left over packages from Mandriva that had no Mageia equivalent continue to work correctly. Feels slightly faster.</li>
</ul>
<h4>Machine 3: MythTV HDTV Media Center</h4>
<ul>
<li>Specs: AMD Athlon X2 6000+, 4G Ram, ATI Radeon X1250 (690G), Dvico FusionHDTV card</li>
<li>Previously: Mandriva 2010.2 64bit Powerpack</li>
<li>Currently: Mageia 1 64bit LXDE via upgrade<br />
Upgraded via the command line using urpmi cleanly but ssh remote connection. TV card continued to work without issues. Still running Mandriva PLF MythTV packages for the moment &#8211; I didn&#8217;t want to risk that upgrade not working yet. Stopped mythtv services to ensure mysql clean upgrade before restarting for the new kernel.</li>
</ul>
<h4>Machine 4: Laptop</h4>
<ul>
<li>Specs: Toshiba Portege M800 in Pink &#8211; Intel Core 2 Duo P7350, 2GB RAM, Intel Mobile 4 Graphics</li>
<li>Previously: Mandriva 2010.1 64bit Powerpack</li>
<li>Currently: Mageia 1 64bit KDE via upgrade<br />
Most risky upgrade &#8211; my wife&#8217;s laptop. Upgraded safely with no lost settings or files. Main difference was the font look change as mentioned above. Microphone continues the same habit of not working as seen under Mandriva. Overall a great success!</li>
</ul>
<h4>Machine 5: Production Web and Database Server</h4>
<ul>
<li>Specs: Intel Xeon 3.0Ghz (P4 based with HT), 2GB Ram, 2x80GB HDD in Raid 1 (mdadm)</li>
<li>Previously: Mandriva 2009.0/2009.1 Hybrid 64bit</li>
<li>Currently: Mageia 1 64bit via online upgrade<br />
This server has been constantly upgraded from Mandriva 2007.1 onwards. As only upgrades from 2010.1 are officially supported I felt this was a bit risky, but worth a try. I allocated enough time to rebuild from scratch if needed, however it was not necessary. To reduce the risk I ran urpmi with the extra &#8211;test option to make sure all packages were available for install first. All services came up successfully to my pleasant surprise. I did spend a couple of hours slowly removing leftover packages that had slowly built up over time &#8211; including 14 obsolete kernels.</li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://thatsamguy.com/2011/08/mageia-1-migration-and-review/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RoundCube Webmail Upgrade</title>
		<link>http://thatsamguy.com/2011/01/roundcube-webmail-upgrade/</link>
		<comments>http://thatsamguy.com/2011/01/roundcube-webmail-upgrade/#comments</comments>
		<pubDate>Thu, 13 Jan 2011 02:17:24 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Cyprix]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[roundcube]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.cyprix.com.au/?p=106</guid>
		<description><![CDATA[I&#8217;d got a bit behind with my RoundCube updates recently and had been stuck on the 0.3 series goodness. It was running so well I didn&#8217;t want to change it. However the time has come to start work on some new plugins, and that requires the newer editions. So over the past week we&#8217;ve moved from [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d got a bit behind with my RoundCube updates recently and had been stuck on the 0.3 series goodness. It was running so well I didn&#8217;t want to change it. However the time has come to start work on some new plugins, and that requires the newer editions.</p>
<p>So over the past week we&#8217;ve moved from 0.3.x to 0.4.2 and now to the newly released <a title="Download the latest RoundCube here" href="http://roundcube.net/download" target="_blank">RoundCube</a> version 0.5.</p>
<p>I hope everyone enjoys the update (and that no data was lost *crosses fingers*).</p>
]]></content:encoded>
			<wfw:commentRss>http://thatsamguy.com/2011/01/roundcube-webmail-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
		<item>
		<title>Upgrade to Mandriva 2008.0</title>
		<link>http://thatsamguy.com/2007/10/upgrade-to-mandriva-20080/</link>
		<comments>http://thatsamguy.com/2007/10/upgrade-to-mandriva-20080/#comments</comments>
		<pubDate>Thu, 25 Oct 2007 00:37:50 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Mandriva]]></category>

		<guid isPermaLink="false">http://blog.cyprix.com.au/?p=20</guid>
		<description><![CDATA[Just a quick note for everyone. Mandriva Linux 2008.0 is out and going strong. Keeping that in mind, I have now updated this server to run 2008.0 with very few problems (via urpmi &#8211;auto-select). This is a first for me with any Mandriva server. Well done guys! I&#8217;ve also installed the Powerpack on my Toshiba [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick note for everyone.</p>
<p>Mandriva Linux 2008.0 is out and going strong. Keeping that in mind, I have now updated this server to run 2008.0 with very few problems (via urpmi &#8211;auto-select). This is a first for me with any Mandriva server. Well done guys!</p>
<p>I&#8217;ve also installed the Powerpack on my Toshiba Satellite 2410 laptop with no real issues, but with great new fonts and features (like automount ntfs-3g) all around.</p>
]]></content:encoded>
			<wfw:commentRss>http://thatsamguy.com/2007/10/upgrade-to-mandriva-20080/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Virtual Mail Server Howto</title>
		<link>http://thatsamguy.com/2006/12/virtual-mail-server-howto/</link>
		<comments>http://thatsamguy.com/2006/12/virtual-mail-server-howto/#comments</comments>
		<pubDate>Thu, 30 Nov 2006 14:06:58 +0000</pubDate>
		<dc:creator>Sam</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://blog.cyprix.com.au/?p=13</guid>
		<description><![CDATA[Well, I know it&#8217;s been a while since I&#8217;ve posted something new, but then again as my regular readers only count in single figures (i.e. me) I don&#8217;t think that will be a problem. I&#8217;ve finally finished stage one of my Cyprix Mail Server Howto! The howto is a very much step-by-step method of setting [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I know it&#8217;s been a while since I&#8217;ve posted something new, but then again as my regular readers only count in single figures (i.e. me) I don&#8217;t think that will be a problem.</p>
<p>I&#8217;ve finally finished stage one of my <a title="Cyprix Mail Howto" target="_blank" href="http://wiki.cyprix.com.au/wiki/CyprixMailHowto">Cyprix Mail Server Howto</a>!</p>
<p>The howto is a very much step-by-step method of setting up a virtual domain, virtual user mail server using:</p>
<ul>
<li>Postfix</li>
<li>MySQL</li>
<li>Courier-IMAP (and POP3)</li>
<li><a title="RoundCube Webmail" target="_blank" href="http://www.roundcube.net/">RoundCube Webmail</a> (PHP/AJAX)</li>
</ul>
<p>Currently the howto is based on <a title="Mandriva Linux" target="_blank" href="http://www.mandriva.com/">Mandriva Linux</a>, however with minor changes it can be applied to most Linux/Unix based distributions.<br />
<span id="more-13"></span></p>
<p>As I mentioned before this system uses virtual domains and users (and aliases) in a MySQL database. Hence it is highly expandable, and can host as many users and different domain names as you wish (well as much as your hardware will allow).</p>
<p>For those who peruse the <a target="_blank" title="Mandriva Club Forums" href="http://forum.mandrivaclub.com/">Mandriva Club Forums</a>, you will have seen this howto appear before, however it has now been updated &amp; tested to work with Mandriva Linux 2007. (see my release candidate review <a target="_blank" title="MDV 2007 rc2 Review" href="http://blog.cyprix.com.au/?p=8">here</a>)</p>
<p>I&#8217;m looking for others to increase the scope and functionality of the howto so feel free to register on the wiki and translate the document or add other modules such as spamassasin, clamav etc.</p>
<p>The whole basis of this system is to be highly flexible, and as such I am developing an AJAX/PHP web application for managing this setup. Simply enough it&#8217;s called <a title="CyprixMail" target="_blank" href="http://wiki.cyprix.com.au/wiki/CyprixMail">CyprixMail</a>.</p>
<p>If anyone is interested in helping with development of CyprixMail, comment here or send an email to cyprixmail[at]cyprix[dot]com[dot]au. Hopefully the first alpha release will be open to the public soonish. License will be <a title="GNU GPL version 2" target="_blank" href="http://www.gnu.org/licenses/gpl.txt">GPLv2</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://thatsamguy.com/2006/12/virtual-mail-server-howto/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

