# Rails/Radiant Installation

**URL:** <https://www.ruby-forum.com/t/rails-radiant-installation/73931>\
**Category:** Radiant CMS\
**Created:** [October 28, 2006, 3:34am UTC](https://www.ruby-forum.com/t/rails-radiant-installation/73931 "2006-10-28T03:34:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![roa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/8e7dd6/32.png) [@roa](https://www.ruby-forum.com/u/roa)\
**Post date:** [October 28, 2006, 3:34am UTC](https://www.ruby-forum.com/t/rails-radiant-installation/73931/1 "2006-10-28T03:34:51Z")

</div>

Hey guys,

Just wondering if anyone can give me some recommendations + pointers  
on the best way to get Rails and Radiant running on a clients new  
webserver. I’m fairly new to the rails stuff, this Radiant site is the  
first thing I’ve done with rails, so I’m a bit of a noob when it  
comes to installing rails, etc.

I have been developing their site locally on my iMac using Locomotive

- Lighttpd + MySQL, but their server is a Dell running a recent Fedora  
Core. I know it has Apache+PHP+MySQL on it, but they have given me  
access to install whatever I need. The server will probably only be  
running the one Rails/Radiant site.

What I need to know is, what is the best setup to go with as far as  
webservers, eg i have seen tutorials on getting Fedora running with  
Apache2+FastCGI, or with Lighttpd. I have seen more recent articles  
that say Mongrel is better than Lighttpd, but i haven’t seen tutorials  
on getting Mongrel running on Fedora…

Any suggestions/technical information on the best way to approach  
this? I realise this may be better directed at a more general Rails  
list, but if there is a configuration that works good with Radiant,  
that would be appreciated…

Also, once i get it running, what will be the best way to transfer my  
development site to the new server?

Cheers, and thanks for any help…

Michael

---

<div class="post-metadata">

**Author:** ![roa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/8e7dd6/32.png) [@roa](https://www.ruby-forum.com/u/roa)\
**Post date:** [October 28, 2006, 7:31pm UTC](https://www.ruby-forum.com/t/rails-radiant-installation/73931/2 "2006-10-28T19:31:43Z")

</div>

On Sat, 28 Oct 2006 09:34:22 +0800  
“Michael R.” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Core. I know it has Apache+PHP+MySQL on it, but they have given me  
> access to install whatever I need. The server will probably only be  
> running the one Rails/Radiant site.

```
I really recommend the use of lighttpd and FastCGI. It's almost 

```

trivial to set up.

```
I use the spawn-fcgi program to start the rails app with the user's 

```

permissions, then just point lighttpd to the socket file I create. The  
user that lighttpd runs under will need wr access to that socket.

```
If you want, I can send you the little ruby script I use to spawn the 

```

fcgi process and a snippet of my lighttpd config. This is the only  
configuration I have been happy with.

–TimH

---

<div class="post-metadata">

**Author:** ![roa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/8e7dd6/32.png) [@roa](https://www.ruby-forum.com/u/roa)\
**Post date:** [October 28, 2006, 11:44pm UTC](https://www.ruby-forum.com/t/rails-radiant-installation/73931/3 "2006-10-28T23:44:02Z")

</div>

Depending on the size of the site I’ve had pretty good  
success just using mod\_proxy with Apache. You just add  
a few ProxyPass lines to the httpd.conf file to proxy  
requests to your rails (Radiant) application running  
Mongrel on another port (3000 for example). Works  
pretty easy.

[http://mongrel.rubyforge.org/docs/apache.html](http://mongrel.rubyforge.org/docs/apache.html)

To transfer the development site to the production  
server, I usually just FTP the contents to my  
production server, run rake db:migrate to setup the  
tables and then just mysqldump the data from the  
development DB to the production one.

— Michael R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> comes to installing rails, etc.
> 
> Any suggestions/technical information on the best
> 
> Cheers, and thanks for any help…
> 
> Michael
> 
> * * *
> 
> Radiant mailing list  
> Post: removed\_email\_address@domain.invalid  
> Search: [http://radiantcms.org/mailing-list/search/](http://radiantcms.org/mailing-list/search/)  
> Site:  
> [http://lists.radiantcms.org/mailman/listinfo/radiant](http://lists.radiantcms.org/mailman/listinfo/radiant)

* * *

Want to start your own business? Learn how on Yahoo! Small Business  
([http://smallbusiness.yahoo.com](http://smallbusiness.yahoo.com))

---

<div class="post-metadata">

**Author:** ![roa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/8e7dd6/32.png) [@roa](https://www.ruby-forum.com/u/roa)\
**Post date:** [October 29, 2006, 11:58pm UTC](https://www.ruby-forum.com/t/rails-radiant-installation/73931/4 "2006-10-29T23:58:04Z")

</div>

On 10/28/06, Michael R. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have been developing their site locally on my iMac using Locomotive
> 
> - Lighttpd + MySQL, but their server is a Dell running a recent Fedora  
> Core. I know it has Apache+PHP+MySQL on it, but they have given me  
> access to install whatever I need. The server will probably only be  
> running the one Rails/Radiant site.

Add my name to the list of happy mongrel users with an Apache  
front-end using mod\_proxy/mod\_rewrite.
