<?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>RayRay Is Forever &#187; Server Blog</title>
	<atom:link href="http://blog.rayrayisforever.com/tag/server-blog/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.rayrayisforever.com</link>
	<description>Boyfriends Are Temporary!</description>
	<lastBuildDate>Mon, 17 May 2010 19:21:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Maxmind GeoIP City now available for free!</title>
		<link>http://blog.rayrayisforever.com/2009/04/maxmind-geoip-city-now-available-for-free</link>
		<comments>http://blog.rayrayisforever.com/2009/04/maxmind-geoip-city-now-available-for-free#comments</comments>
		<pubDate>Sun, 05 Apr 2009 02:07:26 +0000</pubDate>
		<dc:creator>RayRay</dc:creator>
				<category><![CDATA[Server Blog]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[howto]]></category>

		<guid isPermaLink="false">http://www.hardcoredreamer.com/blog/?p=182</guid>
		<description><![CDATA[For those of you who like Awstats, Maxmind&#8217;s GeoIP City database is now available for free as GeoLite City. Geolite Country has been available for free as an alternative to the GeoIP::Free module that Awstats uses by default in Cpanel. Since the latest EDGE updates, the GeoIP::Free module has been throwing errors.
Use of uninitialized value [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who like Awstats, <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.maxmind.com/app/geolitecity"  >Maxmind&#8217;s GeoIP City</a></noindex> database is now available for free as GeoLite City. <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.maxmind.com/app/geoip_country"  >Geolite Country</a></noindex> has been available for free as an alternative to the GeoIP::Free module that Awstats uses by default in Cpanel. Since the latest EDGE updates, the GeoIP::Free module has been throwing errors.</p>
<p><pre><code>Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.8/Geo/IPfree.pm line 81.
Create/Update database for config &quot;/home/USERNAME/tmp/awstats/awstats.DOMAIN.com.conf&quot; by AWStats version 6.9 (build 1.925)</code></pre></p>
<p><noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.eth0.us/node/199"  >Eth0.us has a fix</a></noindex> &#8211; which is to downgrade to the older version. I decided I would try something new. Besides adding the by city information, the country database is much more up to date and new updates are available monthly from Maxmind as well as an API to use the databases. You can find all kinds of methods to make use of these from their <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.maxmind.com/app/api"  >API section</a></noindex>.</p>
<ol>Installing Maxmind GeoIPCountry &amp; GeoIPCity on your Cpanel server:</p>
<li>Install the <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.maxmind.com/app/c"  >GeoIP C API</a></noindex> (comes with the country database)</li>
<li>Install the <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.maxmind.com/app/per"  >Geo::IP Perl module</a></noindex> (Pureperl if you cannot do step 1)</li>
<li>Download the binary format <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.maxmind.com/app/geolitecity"  >Maxmind City lite database</a></noindex>. gunzip the .dat file and copy to <strong>/usr/local/share/GeoIP/</strong>, which is where the Country database will be if you performed step 1.</li>
</ol>
<p>For Cpanel users, you must run this command: <tt>cp /usr/local/cpanel/src/3rdparty/gpl/awstats-6.9/wwwroot/cgi-bin/plugins/geoip_city_maxmind.pm /usr/local/cpanel/3rdparty/bin/plugins/geoip_city_maxmind.pm</tt> This will make the module available for use by Awstats.<br />
For new accounts an Awstats configuration file is generated. To add Country and now City statistics in all new sites, edit <tt>/usr/local/cpanel/etc/awstats.conf</tt>. I&#8217;m not sure if cpup will overwrite this file, but it is possible.</p>
<p>You can comment out <tt>LoadPlugin="geoipfree"</tt>< so the end of the file looks like this:</p>
<p><pre><code>#LoadPlugin=&quot;geoipfree&quot;
LoadPlugin=&quot;geoip GEOIP_STANDARD /usr/local/share/GeoIP/GeoIP.dat&quot;
LoadPlugin=&quot;geoip_city_maxmind GEOIP_STANDARD /usr/local/share/GeoIP/GeoLiteCity.dat&quot;</code></pre></tt></p>
<p>In order to add this to any exsting sites with Awstats, you&#8217;ll need to edit the <tt>/homedir/username/tmp/awstats.domain.com.conf</tt> file and change the end. Make sure there that you comment out the old LoadPlugin lines.</p>
<p><u>Trying it out</u><br />
If you have in the Web Host Manager (WHM) : Tweak Settings the check box to allow users to update their Awstats, you can try this out. Run <code>tail /usr/local/cpanel/logs/stats_log </code> and watch for any errors from your attempted update. That is if they don&#8217;t pop out at your screen.</p>
<p>While I&#8217;m at it, I want to say kudos to Maxmind for releasing another free product (though read the licensee) and <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.eth0.us/"  >eth0.us</a></noindex> because it has been a very helpful blog in the past.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayrayisforever.com/2009/04/maxmind-geoip-city-now-available-for-free/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Help speed test the new server!</title>
		<link>http://blog.rayrayisforever.com/2009/03/help-speed-test-the-new-server</link>
		<comments>http://blog.rayrayisforever.com/2009/03/help-speed-test-the-new-server#comments</comments>
		<pubDate>Mon, 23 Mar 2009 14:48:07 +0000</pubDate>
		<dc:creator>RayRay</dc:creator>
				<category><![CDATA[Server Blog]]></category>

		<guid isPermaLink="false">http://www.hardcoredreamer.com/blog/?p=154</guid>
		<description><![CDATA[Speedtest my new server in Los Angeles http://moo.cyborgcow.net/speedtest
Compare with my old server in Texas http://new.cyborgcow.net/speedtest


Been working on tons of updates. I&#8217;ll begin moving sites tomorrow most likely.
]]></description>
			<content:encoded><![CDATA[<p>Speedtest my new server in Los Angeles <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://moo.cyborgcow.net/speedtest"  >http://moo.cyborgcow.net/speedtest</a></noindex></p>
<div id="FWIC5XZAC72" class="envelope"><span class="message">Compare with my old server in Texas <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://new.cyborgcow.net/speedtest"  >http://new.cyborgcow.net/speedtest</a></noindex></span></div>
<div class="envelope"><span class="message"><br />
</span></div>
<div class="envelope"><span class="message">Been working on tons of updates. I&#8217;ll begin moving sites tomorrow most likely.</span></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayrayisforever.com/2009/03/help-speed-test-the-new-server/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Server performance upgrades&#8230; Horay!</title>
		<link>http://blog.rayrayisforever.com/2009/02/server-performance-upgrades-horay</link>
		<comments>http://blog.rayrayisforever.com/2009/02/server-performance-upgrades-horay#comments</comments>
		<pubDate>Wed, 18 Feb 2009 07:58:37 +0000</pubDate>
		<dc:creator>RayRay</dc:creator>
				<category><![CDATA[Server Blog]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://www.hardcoredreamer.com/blog/?p=102</guid>
		<description><![CDATA[In the last day I set up a second MySQL installation with its own innodb RAM buffers for Firestats, and that alone increased the performance of the gallery tremendously. With the Firestats database reaching 300MB (compressed), it was eating up valuable RAM that the Gallery uses for its 1.5GB database. Thanks to V-nessa.net I was [...]]]></description>
			<content:encoded><![CDATA[<p>In the last day I set up a second MySQL installation with its own innodb RAM buffers for Firestats, and that alone increased the performance of the gallery tremendously. With the Firestats database reaching 300MB (compressed), it was eating up valuable RAM that the Gallery uses for its 1.5GB database. Thanks to <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.v-nessa.net/2008/01/28/how-to-add-services-to-chkservd"  title="How to configure chkservd"  target="_blank">V-nessa.net</a></noindex> I was able to discover how to configure chkservd to monitor the second mysql process. I used mysqld_safe&#8217;s version option to run a copy of mysqld named mysqld-2. Until this problem was fixed, if one MySQL daemon died such as the most important one that runs most of the sites on the server, since there was a second process in existance chkservd would consider it still running. The final piece of the puzzle was solved by this <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.cpanel.net/docs/seminar/adv-chksrvd.pdf"  title="Chkservd configuration information"  target="_blank">PDF</a></noindex> that let me know that the last two parameters are &#8220;process name&#8221; and &#8220;users who should be running the process.&#8221;</p>
<p>I will post in this or a related blog any helpful info so that someday it may help another person. For now I need to see how tuning certain parameters changes performance over about a week of time.</p>
<p>Lastly, I was able to automate my sitemaps thanks to a <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.dyasonhat.com/wordpress-plugins/split-large-xml-sitemaps-php-script/"  title="PHP Script to split sitemaps into smaller files"  target="_blank">PHP script that I found</a></noindex>. Google does not like it when there are more than 50,000 links in a sitemap, and my site has almost 200,000.</p>
<p>In the background, I&#8217;ve also recompiled Apache, PHP, all of its modules, and Cpanel&#8217;s PHP so everyone can enjoy faster speed on the server. I found some disk i/o enhancements that will also help.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayrayisforever.com/2009/02/server-performance-upgrades-horay/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installed Lighttpd for super fast uses!</title>
		<link>http://blog.rayrayisforever.com/2008/11/installed-lighttpd-for-super-fast-uses</link>
		<comments>http://blog.rayrayisforever.com/2008/11/installed-lighttpd-for-super-fast-uses#comments</comments>
		<pubDate>Sun, 02 Nov 2008 07:36:23 +0000</pubDate>
		<dc:creator>RayRay</dc:creator>
				<category><![CDATA[Gallery Features]]></category>
		<category><![CDATA[Server Blog]]></category>

		<guid isPermaLink="false">http://www.hardcoredreamer.com/blog/?p=74</guid>
		<description><![CDATA[
I adopted a cute lil&#8217; cow fetus
from Fetusmart! Hooray fetus! 
Wow! Its just amazing how little memory Lighttpd uses to serve out thousands of tiny .gif files. Apache would generate a memory intensive process for every request. I&#8217;ll be able to find creative uses for this in the future.
I&#8217;ve updated us to the SVN Gallery [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://fast.cyborgcow.net/fetusmart/henry29.gif" alt="henry29 Installed Lighttpd for super fast uses!" align="left" title="Installed Lighttpd for super fast uses!" /><a href="http://bunnysnoog.cyborgcow.net/index.html" onclick="pageTracker._trackPageview('/outgoing/bunnysnoog.cyborgcow.net/index.html?referer=');"><br />
I adopted a cute lil&#8217; cow fetus<br />
from Fetusmart! Hooray fetus! </a></p>
<p>Wow! Its just amazing how little memory Lighttpd uses to serve out thousands of tiny .gif files. Apache would generate a memory intensive process for every request. I&#8217;ll be able to find creative uses for this in the future.</p>
<p>I&#8217;ve updated us to the SVN Gallery 2 that has the Gallery Core at 2.3. It seems really fast. Firestats slows down the gallery, and I wish that it would use PostgreSQL as an option so that the database writes, even in innodb, don&#8217;t slow it down so much. I get great stats from Firestats for both Wordpress and Gallery 2, however its speed degradation is pretty enormous. I gave up trying mod_mem_cache once I realized that I could never speed it up to the degree that it runs without Firestats. One idea is to run a separate MySQL server, but this seems inelegant. I may just end up trying it out, or putting a Firestats database on a VPN.</p>
<p>I still would like to finish sorting and updating all of the pictures. I can add so many recent pictures that Gordon and Cubbie have taken, but work consumes my life at the moment.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayrayisforever.com/2008/11/installed-lighttpd-for-super-fast-uses/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Freesound proxy with Squid</title>
		<link>http://blog.rayrayisforever.com/2008/07/freesound-proxy-with-squid</link>
		<comments>http://blog.rayrayisforever.com/2008/07/freesound-proxy-with-squid#comments</comments>
		<pubDate>Sat, 26 Jul 2008 03:06:00 +0000</pubDate>
		<dc:creator>RayRay</dc:creator>
				<category><![CDATA[Server Blog]]></category>
		<category><![CDATA[creative commons]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[Squid]]></category>

		<guid isPermaLink="false">http://www.hardcoredreamer.com/blog/?p=44</guid>
		<description><![CDATA[
I wanted to help out the great site, The Free Sound Project, so I set up Squid proxy on our server. It is pretty amazing that we are now serving out twice as many bits of traffic, yet it has a negligible effect on our server load and other resources!
From their site:
The Freesound Project is [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://fast.cyborgcow.net/munin/new.cyborgcow.net-netstat-week.png" alt="new.cyborgcow.net netstat week Freesound proxy with Squid"  title="Freesound proxy with Squid" /></p>
<p>I wanted to help out the great site, <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.freesound.org/"   target="_blank">The Free Sound Project</a></noindex>, so I set up Squid proxy on our server. It is pretty amazing that we are now serving out twice as many bits of traffic, yet it has a negligible effect on our server load and other resources!</p>
<p>From their site:</p>
<blockquote><p>The Freesound Project is a collaborative database of <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.creativecommons.org/"  >Creative Commons</a></noindex> licensed sounds. Freesound focuses only on sound, not songs. This is what sets freesound apart from other splendid libraries like <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.ccmixter.org/"  >ccMixter</a></noindex>. 		New to this site? Read the <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.freesound.org/whatIsFreesound.php"  >What is Freesound</a></noindex> page to learn more!</p></blockquote>
<p>What I&#8217;ve gained is much experience using Squid, which gives me ideas on how to use it to get much more performance out of webservers in general. What I find cool about this is that the use of the <strong>http://freesound.cyborgcow.net </strong>proxy is invisible to you, when you are browsing the site. When you preview or download a sound, it actually grabs it from one of several mirrors.</p>
<p>I am always looking for ways to contribute to <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.opensource.org/docs/definition.php"   target="_self">Open Source</a></noindex> or <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://creativecommons.org/"   target="_blank">Creative Commons</a></noindex> projects. The Creative Commons liscense comes in several flavors, but a good example is the share and share alike license that <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://ghosts.nin.com/"   target="_blank">Nine Inch Nails released their Ghosts EPs</a></noindex>. That means you can legally download those songs for free! On top of that, you can remix the songs and release them. This spurs innovation.</p>
<p>By assisting a large collection of free, Creative Commons licensed audio files and samples, I hope to assist artists all over the world in creating new and amazing projects!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayrayisforever.com/2008/07/freesound-proxy-with-squid/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Server Upgrade coming soon!</title>
		<link>http://blog.rayrayisforever.com/2008/05/server-upgrade-coming-soon</link>
		<comments>http://blog.rayrayisforever.com/2008/05/server-upgrade-coming-soon#comments</comments>
		<pubDate>Sun, 18 May 2008 07:40:44 +0000</pubDate>
		<dc:creator>RayRay</dc:creator>
				<category><![CDATA[Server Blog]]></category>
		<category><![CDATA[dreaming]]></category>
		<category><![CDATA[updates]]></category>

		<guid isPermaLink="false">http://www.hardcoredreamer.com/blog/?p=6</guid>
		<description><![CDATA[I am going to be migrating all of us to a new Dual Xeon server within a week. Hardcoredreamer.com will be the first site to be moved, so I can make sure if anything is affected that it will be my site and nobody else&#8217;s. I&#8217;m hosting 153 domains right now, and take pride in [...]]]></description>
			<content:encoded><![CDATA[<p>I am going to be migrating all of us to a new Dual Xeon server within a week. Hardcoredreamer.com will be the first site to be moved, so I can make sure if anything is affected that it will be my site and nobody else&#8217;s. I&#8217;m hosting 153 domains right now, and take pride in everything running as smoothly as possible.</p>
<p>I am also going to get to post how-to guide for using your album in really fun ways- such as having random desktops on your computer, embedding into your Livejournal or Myspace, and how to get random pictures on your Facebook profile.</p>
<p>I am currently working on four websites getting them up and running, including my own, but things are going to get very fun! I have a lot to share that has been in the dreaming stage for far too long.</p>
<p>I am going to get together a Video gallery, which will be spearheaded by a documentary by <noindex><a rel="nofollow" href="http://blog.rayrayisforever.com/goto/http://www.m-pireclothing.com/"   target="_blank">M-Pire&#8217;s</a></noindex> Matt Lipinski. [<a href="http://www.hardcoredreamer.com/gallery/v/gallery/mpire/"   target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.hardcoredreamer.com/gallery/v/gallery/mpire/?referer=');">M-Pire Gallery</a>]</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rayrayisforever.com/2008/05/server-upgrade-coming-soon/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

