<?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>Jeff Galper &#187; server</title>
	<atom:link href="http://jeffgalper.com/blog/tag/server/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeffgalper.com/blog</link>
	<description>Not as bad as rabies.</description>
	<lastBuildDate>Fri, 26 Aug 2011 05:17:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>AWStats</title>
		<link>http://jeffgalper.com/blog/2009/08/07/awstats/</link>
		<comments>http://jeffgalper.com/blog/2009/08/07/awstats/#comments</comments>
		<pubDate>Sat, 08 Aug 2009 04:14:46 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://jeffgalper.com/blog/?p=9</guid>
		<description><![CDATA[Some interesting links to help when setting up AWStats on Ubuntu: Installation Guide Turn off logging selectively For example, my server doesn&#8217;t log any requests to my blog&#8217;s admin pages. This means the stats don&#8217;t contain hits for any work I&#8217;m doing on the site.]]></description>
			<content:encoded><![CDATA[<p>Some interesting links to help when setting up AWStats on Ubuntu:</p>
<ul>
<li><a title="Awstats installation guide" href="http://ubuntu-tutorials.com/2008/01/16/configuring-awstats-on-ubuntu-server/">Installation Guide</a></li>
<li><a title="Configure Apache's Logging" href="http://www.howtoforge.com/setenvif_apache2">Turn off logging selectively</a></li>
</ul>
<p>For example, my server doesn&#8217;t log any requests to my blog&#8217;s admin pages.  This means the stats don&#8217;t contain hits for any work I&#8217;m doing on the site.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffgalper.com/blog/2009/08/07/awstats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails Memory Usage</title>
		<link>http://jeffgalper.com/blog/2009/07/09/ruby-on-rails-memory-usage/</link>
		<comments>http://jeffgalper.com/blog/2009/07/09/ruby-on-rails-memory-usage/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 07:15:34 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://jeffgalper.com/blog/?p=7</guid>
		<description><![CDATA[Mongrels used way too much ram. My little underpowered VPS couldn&#8217;t handle running a cluster of mongrels in addition to everything else I&#8217;ve got going on. Enter mod_rails and Ruby Enterprise Edition.  These two free products of Phusion provide a nice, easy to setup alternative to standard Ruby and Mongrel.  I was able to remove [...]]]></description>
			<content:encoded><![CDATA[<p>Mongrels used way too much ram.  My little underpowered VPS couldn&#8217;t handle running a cluster of mongrels in addition to everything else I&#8217;ve got going on.  Enter <a title="mod_rails" href="http://www.modrails.com/" target="_blank">mod_rails</a> and <a title="Ruby Enterprise Edition" href="http://www.rubyenterpriseedition.com/" target="_blank">Ruby Enterprise Edition</a>.  These two free products of <a title="Phusion" href="http://www.phusion.nl/about.html" target="_blank">Phusion</a> provide a nice, easy to setup alternative to standard Ruby and Mongrel.  I was able to remove Mongrel from my startup and use an Apache2 module for running RoR.  The only hickup I ran into was needing to reinstall a specific version of rails.  The Ruby Enterprise Edition installed seemed to pick up the newest version (2.3.2), but apparently I had a dependency on 2.2.2.  Once I got that straightened out I was able to reclaim precious megabytes of RAM.  I once again have enough breathing room that I can focus on something other than optimizations.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;">
<h2 class="first_content_element">Phusion</h2>
</div>
]]></content:encoded>
			<wfw:commentRss>http://jeffgalper.com/blog/2009/07/09/ruby-on-rails-memory-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Host Setup</title>
		<link>http://jeffgalper.com/blog/2009/07/08/host-setup/</link>
		<comments>http://jeffgalper.com/blog/2009/07/08/host-setup/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 14:39:41 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://jeffgalper.com/blog/?p=6</guid>
		<description><![CDATA[I&#8217;ve nearly completed the setup of my new host.  I&#8217;ve managed to set up the following services/programs: Nginx as a reverse proxy Apache2 for heavy duty needs Django Php Postgresql (to use when possible) MySQL (to use when necessary &#8212; WordPress) Mercurial Ruby on Rails / Mongrel Cluster It&#8217;s been a long journey and I&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve nearly completed the setup of my new host.  I&#8217;ve managed to set up the following services/programs:</p>
<ul>
<li>Nginx as a reverse proxy</li>
<li>Apache2 for heavy duty needs</li>
<li>Django</li>
<li>Php</li>
<li>Postgresql (to use when possible)</li>
<li>MySQL (to use when necessary &#8212; WordPress)</li>
<li>Mercurial</li>
<li>Ruby on Rails / Mongrel Cluster</li>
</ul>
<p>It&#8217;s been a long journey and I&#8217;ve used several resources.  I&#8217;ll briefly list them for anybody else working on a similar project.</p>
<ul>
<li><a title="Django" href="http://lethain.com/entry/2009/feb/13/the-django-and-ubuntu-intrepid-almanac/" target="_blank">Django, Nginx, Apache2, Postgresql</a> &#8212; This was the foundation of my setup.  I even wrote a script to automate most of the process for any future site I create.</li>
<li><a title="Redmine Setup Guide" href="http://www.drinkingbird.net/blog/articles/2008/02/27/setting-up-a-redmine-site-on-ubuntu" target="_blank">Several</a> <a title="Redmine Setup Guide" href="http://www.naumann.cc/?p=85" target="_blank">Redmine</a> <a title="Redmine Setup Guide" href="http://ubuntuforums.org/showthread.php?t=674598" target="_blank">guides</a> and a page on Postgresql&#8217;s <a title="pg_hba.conf" href="http://developer.postgresql.org/pgdocs/postgres/auth-pg-hba-conf.html" target="_blank">pg_hba.conf</a> that helped me out with a rake problem.  A few notes about setting up Redmine: you need to install libopenssl-ruby, and the pg_hba.conf file needs an entry for 127.0.0.1/32.  The latter wouldn&#8217;t normally be an issue, but the first guide I linked recommends commenting that out.</li>
<li>A page on <a title="Redmine with Nginx" href="http://pelletiermaxime.info/2009/02/23/Redmine-On-Nginx.html" target="_blank">setting up Redmine (or any mongrel cluster) with Nginx</a>.</li>
<li>The <a title="Nginx Wiki" href="http://pelletiermaxime.info/2009/02/23/Redmine-On-Nginx.html" target="_blank">Nginx wiki</a>.</li>
<li>and several others I&#8217;ve forgotten&#8230;</li>
</ul>
<p>Finally, I had a problem with mongrel_cluster not starting automatically.  This turned out to be due to PATH issues with the rubygem binaries.  I fixed this with this command:</p>
<pre class="brush:bash">for file in 'ls'
do
sudo ln -s `pwd`/$file /bin/
done</pre>
<p>That will create a symbolic link from /bin to each file in the current directory.  For rubygems this would need to be run in</p>
<pre>/var/lib/gems/1.8/bin</pre>
<p>And finally, everything is working!</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffgalper.com/blog/2009/07/08/host-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

