<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Zownir Enterprises</title>
	<atom:link href="http://zownir.net/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://zownir.net</link>
	<description></description>
	<lastBuildDate>Mon, 29 Jun 2009 00:19:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Ruby on Rails Stack on WebFaction by Andrew Perry</title>
		<link>http://zownir.net/ruby-on-rails-stack-on-webfaction/comment-page-1#comment-9</link>
		<dc:creator>Andrew Perry</dc:creator>
		<pubDate>Mon, 29 Jun 2009 00:19:16 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Great, thanks for the details, these will be really helpful in getting it going.</description>
		<content:encoded><![CDATA[<p>Great, thanks for the details, these will be really helpful in getting it going.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Stack on WebFaction by Ronnie Zownir</title>
		<link>http://zownir.net/ruby-on-rails-stack-on-webfaction/comment-page-1#comment-8</link>
		<dc:creator>Ronnie Zownir</dc:creator>
		<pubDate>Fri, 26 Jun 2009 16:27:19 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Andrew, extra.sh works as far as I can tell, except for the memcached gem, which is picky about the version of libmemcached. CouchDB requires a little bit of configuration. First of all, when starting couchdb, you may get a crash dump saying that libjs.so cannot be found. The fix is to add it to the load path. Start couchdb like so: &lt;code&gt;export LD_LIBRARY_PATH=$PREFIX/spidermonkey/lib &amp;&amp; couchdb&lt;/code&gt; or add the first part of the command to &lt;code&gt;.bashrc&lt;/code&gt;. Secondly, you have to edit &lt;code&gt;$PREFIX/etc/couchdb/local.ini&lt;/code&gt;. Under the &lt;code&gt;[httpd]&lt;/code&gt; heading, set &lt;code&gt;port&lt;/code&gt; to the port you want couchdb to be on. If you haven&#039;t done so already, create a new app in the WebFaction control panel (&quot;app listening on port&quot;). Next under &lt;code&gt;bind_address&lt;/code&gt; make it the ip address of the server. If the binding is 127.0.0.1, then couchdb will only be accessible locally (by the server itself). If you want couchdb to be publicly available (to your browser), couchdb must be bound to your server&#039;s ip address. If you choose to make couchdb publicly available, go to the &lt;code&gt;[admins]&lt;/code&gt; heading (remove the semicolon before it to  uncomment), and set up a privileged couchdb user. The plaintext password will be hashed and replaced by couchdb the next time you start it. I hope this helps.</description>
		<content:encoded><![CDATA[<p>Andrew, extra.sh works as far as I can tell, except for the memcached gem, which is picky about the version of libmemcached. CouchDB requires a little bit of configuration. First of all, when starting couchdb, you may get a crash dump saying that libjs.so cannot be found. The fix is to add it to the load path. Start couchdb like so: <code>export LD_LIBRARY_PATH=$PREFIX/spidermonkey/lib &#038;&#038; couchdb</code> or add the first part of the command to <code>.bashrc</code>. Secondly, you have to edit <code>$PREFIX/etc/couchdb/local.ini</code>. Under the <code>[httpd]</code> heading, set <code>port</code> to the port you want couchdb to be on. If you haven&#8217;t done so already, create a new app in the WebFaction control panel (&#8220;app listening on port&#8221;). Next under <code>bind_address</code> make it the ip address of the server. If the binding is 127.0.0.1, then couchdb will only be accessible locally (by the server itself). If you want couchdb to be publicly available (to your browser), couchdb must be bound to your server&#8217;s ip address. If you choose to make couchdb publicly available, go to the <code>[admins]</code> heading (remove the semicolon before it to  uncomment), and set up a privileged couchdb user. The plaintext password will be hashed and replaced by couchdb the next time you start it. I hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Stack on WebFaction by Andrew Perry</title>
		<link>http://zownir.net/ruby-on-rails-stack-on-webfaction/comment-page-1#comment-7</link>
		<dc:creator>Andrew Perry</dc:creator>
		<pubDate>Fri, 26 Jun 2009 04:32:06 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>I noticed you recently added some CouchDB setup stuff to your scripts. Does extra.sh actually work to compile &amp; install a functional CouchDB/Erlang setup etc on WebFaction ?

If so .. bravo ! I&#039;ve tried and failed to do it manually in the past - it would be great to hear that someone has got it working.</description>
		<content:encoded><![CDATA[<p>I noticed you recently added some CouchDB setup stuff to your scripts. Does extra.sh actually work to compile &#038; install a functional CouchDB/Erlang setup etc on WebFaction ?</p>
<p>If so .. bravo ! I&#8217;ve tried and failed to do it manually in the past &#8211; it would be great to hear that someone has got it working.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Stack on WebFaction by ramonrails</title>
		<link>http://zownir.net/ruby-on-rails-stack-on-webfaction/comment-page-1#comment-6</link>
		<dc:creator>ramonrails</dc:creator>
		<pubDate>Tue, 10 Feb 2009 07:06:27 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Thanks for the details. Very helpful.

I decided to use the mongrel configuration at webfaction for now. When I am ready for production, I will have them setup a VPS for me.

Thanks again for all the details.
Regards, Ram</description>
		<content:encoded><![CDATA[<p>Thanks for the details. Very helpful.</p>
<p>I decided to use the mongrel configuration at webfaction for now. When I am ready for production, I will have them setup a VPS for me.</p>
<p>Thanks again for all the details.<br />
Regards, Ram</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ruby on Rails Stack on WebFaction by Ronnie Zownir</title>
		<link>http://zownir.net/ruby-on-rails-stack-on-webfaction/comment-page-1#comment-5</link>
		<dc:creator>Ronnie Zownir</dc:creator>
		<pubDate>Mon, 12 Jan 2009 02:36:14 +0000</pubDate>
		<guid isPermaLink="false"></guid>
		<description>Ram,

As far as memory is concerned, you have to work within the constraints of rails&#039; overhead memory usage and the memory required by your particular application. Overhead is the amount of memory required per rails instance running a skeleton rails application. Memory usage permitting, you can certainly run multiple rails apps on &lt;a href=&quot;http://www.webfaction.com/?affiliate=rzownir&quot; rel=&quot;nofollow&quot;&gt;WebFaction&lt;/a&gt;. I&#039;d advise you to take a look at the memory usage on your development machine and choose your plan accordingly. My script sets up two thin instances for the sample app, but for your purposes you may only need one thin instance per app.

Regarding your first enumerated question, it&#039;s trivial to run multiple applications on &quot;the same nginx&quot;. You will have to duplicate the vhost configuration and make some small changes. For starters, you would create a &quot;new app listening on port&quot; from the &lt;a href=&quot;http://www.webfaction.com/?affiliate=rzownir&quot; rel=&quot;nofollow&quot;&gt;WebFaction&lt;/a&gt; control panel. Take note of the port assigned to you. Duplicate the vhost file provided by the script and change the listening port to the port just assigned to you. Change the application path to the path of the new application in the vhost config file. Change the upstream socket paths to correspond with the new rails application&#039;s thin sockets. You&#039;ll also have to duplicate the info in the monitrc file that defines the thin servers for the first app and make sensible changes to reflect your new app. The last thing to do is to reload the nginx configuration and reload the monit configuration. (The quick and easy way is to kill nginx and quit monit, then start monit.)

In response to your second enumerated question, you cannot (should not) use Passenger on &lt;a href=&quot;http://www.webfaction.com/?affiliate=rzownir&quot; rel=&quot;nofollow&quot;&gt;WebFaction&lt;/a&gt;. Technically you could, but you&#039;ll have to run your own instance of Apache, which negates the memory benefits of Passenger. The only enviable benefit of Passenger from my perspective is its ability to start up/tear down rails instances on demand. Although I&#039;ve tried Passenger on my development machine, there has been no compelling reason for me to make the switch.

After exhaustive research, I chose &lt;a href=&quot;http://www.webfaction.com/?affiliate=rzownir&quot; rel=&quot;nofollow&quot;&gt;WebFaction&lt;/a&gt; for production. The alternative choice was SliceHost VPS. Both companies are exceptional. The deciding factor was that I didn&#039;t want to maintain an entire Linux system. If you are passionate about Passenger, you might want to check out DreamHost. In my experience, the monit/nginx/thin stack is a good one.</description>
		<content:encoded><![CDATA[<p>Ram,</p>
<p>As far as memory is concerned, you have to work within the constraints of rails&#8217; overhead memory usage and the memory required by your particular application. Overhead is the amount of memory required per rails instance running a skeleton rails application. Memory usage permitting, you can certainly run multiple rails apps on <a href="http://www.webfaction.com/?affiliate=rzownir" rel="nofollow">WebFaction</a>. I&#8217;d advise you to take a look at the memory usage on your development machine and choose your plan accordingly. My script sets up two thin instances for the sample app, but for your purposes you may only need one thin instance per app.</p>
<p>Regarding your first enumerated question, it&#8217;s trivial to run multiple applications on &#8220;the same nginx&#8221;. You will have to duplicate the vhost configuration and make some small changes. For starters, you would create a &#8220;new app listening on port&#8221; from the <a href="http://www.webfaction.com/?affiliate=rzownir" rel="nofollow">WebFaction</a> control panel. Take note of the port assigned to you. Duplicate the vhost file provided by the script and change the listening port to the port just assigned to you. Change the application path to the path of the new application in the vhost config file. Change the upstream socket paths to correspond with the new rails application&#8217;s thin sockets. You&#8217;ll also have to duplicate the info in the monitrc file that defines the thin servers for the first app and make sensible changes to reflect your new app. The last thing to do is to reload the nginx configuration and reload the monit configuration. (The quick and easy way is to kill nginx and quit monit, then start monit.)</p>
<p>In response to your second enumerated question, you cannot (should not) use Passenger on <a href="http://www.webfaction.com/?affiliate=rzownir" rel="nofollow">WebFaction</a>. Technically you could, but you&#8217;ll have to run your own instance of Apache, which negates the memory benefits of Passenger. The only enviable benefit of Passenger from my perspective is its ability to start up/tear down rails instances on demand. Although I&#8217;ve tried Passenger on my development machine, there has been no compelling reason for me to make the switch.</p>
<p>After exhaustive research, I chose <a href="http://www.webfaction.com/?affiliate=rzownir" rel="nofollow">WebFaction</a> for production. The alternative choice was SliceHost VPS. Both companies are exceptional. The deciding factor was that I didn&#8217;t want to maintain an entire Linux system. If you are passionate about Passenger, you might want to check out DreamHost. In my experience, the monit/nginx/thin stack is a good one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

