<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Brainspl.at: The Perfect Lightweight Rails/Lighttpd/Debian install</title>
    <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Brainspl.at</description>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by JohnW</title>
      <description>Any chance you could provide the same tutorial but for nginx+mongrel cluster setup?</description>
      <pubDate>Wed, 18 Apr 2007 21:29:03 +0000</pubDate>
      <guid>urn:uuid:73def2d3-1f02-4543-ab87-03d49719f987</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-4147</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by ADNIK</title>
      <description>Ezra, Thank you SO MUCH. I'm moving over to RoR from an ASP.Net background, and I haven't used Linux for a few years. The idea of a VPS was way cool, but I was pretty freaked out about being an admin and a developer as well. Using your tutorial I was able to set up an old PC as a test/development server, and I'm going to do the same to get some clients running on rimuhosting. AND I was able to use Debian, which as you say helps to leave a lot more space for serving than using the other distros</description>
      <pubDate>Sat, 17 Mar 2007 18:36:09 +0000</pubDate>
      <guid>urn:uuid:d9e8abfe-5945-4a83-a734-e67c7f4807f9</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-4032</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by addiction</title>
      <description>&lt;p&gt;The gravity of addiction&lt;/p&gt;</description>
      <pubDate>Wed, 13 Sep 2006 20:06:44 +0000</pubDate>
      <guid>urn:uuid:c5fdc15a-8bff-4602-b79c-8c9cc2dbc645</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-3657</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by nieruchomości</title>
      <description>ogłoszenia nieruchomości, nieruchomości, nieruchomości warszawa, wynajem mieszkań warszawa, wynajmę mieszkanie</description>
      <pubDate>Mon, 11 Sep 2006 05:56:58 +0000</pubDate>
      <guid>urn:uuid:0e6dff01-4233-4768-8dbe-28c2244447a7</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-3620</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Kyle Kochis</title>
      <description>Thanks Ezra! I used your tutorial for setting up my rimu hosting VPS. There are some things that you may want to add/change now that I went through it: 
After you edit the .bashrc file you will either want to type ". ~/.bashrc" or logout and log back in so your changes take effect before you do anything else. many people will already know this but your tutorial is already detailed so why not add this in as well? Also, it may be a better idea to change the lighttpd install from 1.4.7 to 1.4.10+ (I used 1.4.11). I had trouble with 1.4.7 when trying to run script/server because it kept telling me that CWD was not defined for the lighttpd.conf file. when I upgraded it to 1.4.11 it all worked and stopped giving me that error.</description>
      <pubDate>Mon, 10 Jul 2006 18:28:33 +0000</pubDate>
      <guid>urn:uuid:d586c2be-7444-4d9f-a78b-7a3a80b6d522</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-3477</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Jed Hurt</title>
      <description>Well, sign me up for the beta book baby! </description>
      <pubDate>Thu, 06 Jul 2006 04:00:25 +0000</pubDate>
      <guid>urn:uuid:6ab5764c-fb62-4616-bb40-63ecfb5c2cac</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-3466</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Ezra</title>
      <description>My book for the pragmatic programmers called Agile Rails Deployment has a new version of the perfect stack that covers much more in detail stuff. I hope to make it the free sample chapter from my book when it goes beta this month.</description>
      <pubDate>Wed, 05 Jul 2006 21:53:28 +0000</pubDate>
      <guid>urn:uuid:9e18ba87-bd32-42f6-95b5-242c25a6596f</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-3464</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Jed Hurt</title>
      <description>Now that DHH did a write up on setting up Mongrel with Lighty using Pound, is FCGI still considered part of the perfect stack? Apparently 37 Signals thinks Mongrel has replaced FCGI for the ideal production server. What would you think about branching the guide to include instructions on a Debian/Lighttpd/Pound/Mongrel stack?

&lt;br /&gt;&lt;br /&gt;DHH's write-up on Riding Rails: http://weblog.rubyonrails.org/2006/7/3/pound-makes-lighty-and-mongrel-play-nice</description>
      <pubDate>Wed, 05 Jul 2006 19:19:42 +0000</pubDate>
      <guid>urn:uuid:c9a6d65b-f37a-437a-a422-da2ccd05d231</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-3450</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Roberto</title>
      <description>I folllowed this exellent tutorial and did the following changes to get ruby 1.8.4:

First I prepared for apt-pinning:
http://jaqque.sbih.org/kplug/apt-pinning.html

then I did this:

apt-get -t unstable   ...(all the ruby stuff)</description>
      <pubDate>Wed, 12 Apr 2006 14:01:18 +0000</pubDate>
      <guid>urn:uuid:e4a46fe4-7733-441c-80b3-2635c2d8b03c</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-363</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Jason</title>
      <description>Great stuff, my only recommendation is to update the version of Lighttpd (wget http://www.lighttpd.net/download/lighttpd-1.4.7.tar.gz =&gt; wget http://www.lighttpd.net/download/lighttpd-1.4.11.tar.gz) you compile.  I'm on Rails 1.1.  I ended up scratching my head for a couple of hours trying to figure why my application wouldn't work even though lighttpd was working fine.  Thanks again for putting the instructions together.</description>
      <pubDate>Mon, 10 Apr 2006 16:05:57 +0000</pubDate>
      <guid>urn:uuid:99e9a276-e54c-4a1b-a1e0-f8fa474364ec</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-346</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Barry</title>
      <description>I tried the full Debian 3.1 at Unixshell and Postfix was not happy.  I retried with Debin 3.1 minimal (followed the instructions more closely) and it worked as documented.

Thanks.</description>
      <pubDate>Tue, 31 Jan 2006 22:45:25 +0000</pubDate>
      <guid>urn:uuid:d6c66cfe-5bc0-4ec5-ab42-6ca444229d9b</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-174</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Barry</title>
      <description>I was able to follow your instructions on a unixshell VPS.  

I had to run apt-get update before starting.

The postfix install proceeded differently than in your writeup.

The config file did not have any of the smtpd or smtp lines :-(

At the end when I performed the telnet test I only got:
250-domain.tld
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250 8BITMIME
So I guess it failed.  

Possibly the unixshell debian 3.1 minimal is missing an important package.

The full install was only 638M.

Could you add preferred instructions for starting lighttpd automatically after a reboot?

</description>
      <pubDate>Tue, 24 Jan 2006 01:53:51 +0000</pubDate>
      <guid>urn:uuid:cc9da887-2070-4843-bac0-463308fe44d5</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-155</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Ezra Zygmuntowicz</title>
      <description>Those are the C mysql bindings that I install in the tutorial</description>
      <pubDate>Mon, 23 Jan 2006 00:42:47 +0000</pubDate>
      <guid>urn:uuid:17264f0f-a9e1-45e8-b330-0ac9db76651b</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-153</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Kelly</title>
      <description>Thanks very much. I used your instructions to set up a site on rimu.

What about the fast c mysql bindings? Seems like they are the prefered mysql rails drivers. Why are you using the ruby native bindings?

Thanks</description>
      <pubDate>Fri, 20 Jan 2006 16:19:15 +0000</pubDate>
      <guid>urn:uuid:53d01d34-1443-42f4-bab5-3ec1eea945e5</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-152</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Kian</title>
      <description>Thanks for your setup info. I've signed on at Rimu for one of my clients, and have just set them up, very close to this. Although we're using postgresql (you don't really use mysql do you?), and phppgadmin. Anyway, it screams. I'm using the new spinner/spawner/reaper processes. Like them a lot. Looking forward to your 'control panel'. Also want to give your where clause plugin a try -- that's a great idea to clean up the ugly :condition option. And can't wait for your book. Will you post some early versions of it for review and feedback?</description>
      <pubDate>Sun, 08 Jan 2006 06:37:08 +0000</pubDate>
      <guid>urn:uuid:6c2d4ec5-834e-4805-89d5-a86c629d83ab</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-131</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Foo</title>
      <description>&gt; I have tested it with .jpg, .gif, .png and .tiff files by resizing and converting between all those formats and it works perfectly.

But does it support .wmf vulnerabilities? :-)</description>
      <pubDate>Fri, 06 Jan 2006 17:24:46 +0000</pubDate>
      <guid>urn:uuid:3421cac3-6826-4c18-be8e-4cd3ff946443</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-130</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Dylan</title>
      <description>I did notice that Rimuhosting didn't have procmail installed on my Debian box by default... so had to apt-get that as well.  You may want to add that tidbit to your tutorial :)</description>
      <pubDate>Wed, 04 Jan 2006 22:01:51 +0000</pubDate>
      <guid>urn:uuid:68f0dd8b-2346-4e4c-82f1-581eac452f06</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-128</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Dylan</title>
      <description>Seriously Ezra... thank you MUCH !
This is an excellent setup process, and you've just setup a new rails customer at rimuhosting :)</description>
      <pubDate>Tue, 13 Dec 2005 22:06:27 +0000</pubDate>
      <guid>urn:uuid:931489bd-c517-4c96-8aa7-5c51785bdb3e</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-85</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by David Jeschke</title>
      <description>Thank you very much for this. I'm sure it saved me several days of work figuring all this stuff out. I followed your instructions and installed on a VMware virtual machine. A few things worth noting: the barebones Debian Sarge netinst doesn't have SSH so you have to install it with 'apt-get install ssh'. Also you need to add symlinks from gcc=&gt;gcc-3.4 and g++=&gt;g++-3.4 or the configuration steps for ruby-fcgi and PCRE will fail, respectively. And I used rubygems-0.8.11 instead of 0.8.10 and lighttpd-1.4.8 instead of 1.4.7 with no apparent problems. I'll play around with it for a while and if everything works out I'll probably sign up for some rimuhosting. You should get a commission!</description>
      <pubDate>Sat, 26 Nov 2005 08:30:05 +0000</pubDate>
      <guid>urn:uuid:049adf21-418b-410e-8a9d-6a0356974cd1</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-37</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Amr</title>
      <description>Ooops! shoulda waited. Nevermind, found it in the support/howto section at RimuHosting's site. 

Thx. -A</description>
      <pubDate>Tue, 22 Nov 2005 15:24:36 +0000</pubDate>
      <guid>urn:uuid:5283925f-69bc-4118-b580-8f905ecb8a7c</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-35</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Amr</title>
      <description>Hey Ezra, your instructions work great! thanks! Now a stupid question. Can you post some pointers on setting up the name resolution for the VPS server? or can that be done through the webmin that you mentioned towards the end? 


sorry, a born-again unix user here, any links to how-to's or a small writeup will be much appreciated!


Great job btw!</description>
      <pubDate>Tue, 22 Nov 2005 15:10:11 +0000</pubDate>
      <guid>urn:uuid:25e9b7c4-4ef3-459c-84aa-b1029f041015</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-34</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Ezra Zygmuntowicz</title>
      <description>Yeah keeo in mind that you can use these instructions with any debian server whether its with rimu or not.</description>
      <pubDate>Mon, 14 Nov 2005 23:37:40 +0000</pubDate>
      <guid>urn:uuid:74326065-4a9a-4cb6-85a4-12afb64613c3</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-27</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Amr</title>
      <description>That tutorial is seriously awesome!! Rimu should pay you for making their VPS server option so attractive (and easy to use) or at least throw in a free VPS server for you. I'm seriously thinking about it after reading the tutorial and I was gonna do exactly what Matt White has mentioned above (try it out on the ole box first) thanks :)

-A</description>
      <pubDate>Mon, 14 Nov 2005 20:47:09 +0000</pubDate>
      <guid>urn:uuid:d602c73f-6e8b-4e9f-a330-a555dcbb1639</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-25</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Matt White</title>
      <description>Ezra,

Thank you SO MUCH. I'm moving over to RoR from an ASP.Net background, and I haven't used Linux for a few years. The idea of a VPS was way cool, but I was pretty freaked out about being an admin and a developer as well. Using your tutorial I was able to set up an old PC as a test/development server, and I'm going to do the same to get some clients running on rimuhosting. AND I was able to use Debian, which as you say helps to leave a lot more space for serving than using the other distros.</description>
      <pubDate>Mon, 14 Nov 2005 19:48:57 +0000</pubDate>
      <guid>urn:uuid:fc336ad8-e00a-48e3-832d-b2d19385006a</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-23</link>
    </item>
    <item>
      <title>"The Perfect Lightweight Rails/Lighttpd/Debian install" by Ezra Zygmuntowicz</title>
      <description>Thanks Ryan-

Thats a good call. Do you have a link somewhere that I can use to install swig and friends? 

About the jpeg, png and gif libs. They are all installed when you use the commands in the tutorial. I tested it and I am able to resize and convert between .jpg, .png, .tiff and .gif without any problems.

Please let me know if anyone has anything else that they think should be added to the 'perfet rails' set up. I am very happy with the way these systems come out and perform. So anything I can add to make it even better is just frosting.</description>
      <pubDate>Sun, 13 Nov 2005 21:10:01 +0000</pubDate>
      <guid>urn:uuid:881d9eb0-384c-4cd2-a05e-04c1b198923b</guid>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install#comment-18</link>
    </item>
    <item>
      <title>The Perfect Lightweight Rails/Lighttpd/Debian install</title>
      <description>&lt;br /&gt;OK folks, I have finished my write up of an install of the perfect stack on a rimuhosting.com xen VPS. But keep in mind that you can use these instructions to install the rails stack on debian on a dedicated host or a box in your closet. It will work for wherever the box is. So without further ado, I present you with instructions for installing a stack of software as follows:
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;
Ruby
Gems
Rails
ImageMagick
Rmagick
mysql
mysql-ruby bindings
sshd
sftp
fastcgi-dev kit
fastcgi-ruby bindings
perl-compat-regex(for lighttpd)
lighttpd 1.4.7 with fastcgi
subversion client and server
postfix email server with
Webmin Control Panel set up with a bunch of modules for ssh 
and postfix as well as webmail.
Whatever else is needed 
along the way as dependencies
&lt;/pre&gt;
&lt;br /&gt;
Ed: I have reformatted the tutorial with the help of Sean Schertell. It's much better looking and easier to read now. I also want to make it clear that The Imagemagick and RMagick that get installed with my instructions are fully functional. I have tested it with .jpg, .gif, .png and .tiff files by resizing and converting between all those formats and it works perfectly.&lt;br /&gt;&lt;br /&gt;If anyone has suggestions for things to add to the setup to make it even better, please leave suggestions in the comments and I will try to add it to the tutorial.&lt;br /&gt;&lt;br /&gt;
&lt;a href="/rails_stack.html"&gt;The Perfect Rails VPS&lt;/a&gt;</description>
      <pubDate>Sun, 13 Nov 2005 07:31:00 +0000</pubDate>
      <guid>urn:uuid:8b4c5558-b05d-4264-96f5-2aecf1617adb</guid>
      <author>ezmobius</author>
      <link>http://brainspl.at/articles/2005/11/13/the-perfect-lightweight-rails-lighttpd-debian-install</link>
      <category>ruby</category>
      <category>rails</category>
      <category>debian</category>
      <category>linux</category>
      <trackback:ping>http://brainspl.at/articles/trackback/16</trackback:ping>
    </item>
  </channel>
</rss>

