# Deployment help

**URL:** <https://www.ruby-forum.com/t/deployment-help/107027>\
**Category:** Deployment\
**Created:** [June 16, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/deployment-help/107027 "2007-06-16T20:50:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirkR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/2acd7d/32.png) [@kirkR](https://www.ruby-forum.com/u/kirkR)\
**Post date:** [June 16, 2007, 8:50pm UTC](https://www.ruby-forum.com/t/deployment-help/107027/1 "2007-06-16T20:50:28Z")

</div>

Hello all

I need some advice.

I am having problems deploying rails apps.

I have a site5 account. And I was able to get a few really small apps  
running but it was an awful process. And they ran slow, slow, slow.

I did some reading and it looked like a VPS would be the way to go.

So now I have a slicehost account.  
I followed this build process

> **[Installing Rails, Apache 2.2, and Mongrel on Ubuntu Dapper 64-bit](http://codeintensity.blogspot.com/2006/10/installing-rails-apache-22-and-mongrel.html)**
>
> I am setting up a system at SliceHost, on one of their Ubuntu Dapper slices. First, I'm not as familiar with Ubuntu as I am Fedora, but thi...

And I have everything installed. I also have php and mysql working.

But I don’t know anything about Apache2

I don’t know how to connect a rails app to Apache2.

A sym link?

I guess I have everything installed but have no idea how to make it  
work.

Oh well it is all one big process right

I don’t mind reading or buying books if anyone wants to recommend some  
resources…

But any help or a point in the right direction would be greatly  
appreciated.

Way over my head  
Kirk

---

<div class="post-metadata">

**Author:** ![kirkR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/2acd7d/32.png) [@kirkR](https://www.ruby-forum.com/u/kirkR)\
**Post date:** [June 18, 2007, 2:44pm UTC](https://www.ruby-forum.com/t/deployment-help/107027/2 "2007-06-18T14:44:01Z")

</div>

> But I don’t know anything about Apache2
> 
> I don’t know how to connect a rails app to Apache2.
> 
> A sym link?
> 
> I guess I have everything installed but have no idea how to make it  
> work.

Kirk,

You can either connect your app to Apache via FastCGI or Mongrel.  
Mongrel is the best. FastCGI sucks.

See  
[http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/](http://blog.codahale.com/2006/06/19/time-for-a-grown-up-server-rails-mongrel-apache-capistrano-and-you/)

Best of luck.

I’m itching to get my own slicehost account. Can’t wait.

Xin

---

<div class="post-metadata">

**Author:** ![kirkR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/2acd7d/32.png) [@kirkR](https://www.ruby-forum.com/u/kirkR)\
**Post date:** [June 18, 2007, 10:41pm UTC](https://www.ruby-forum.com/t/deployment-help/107027/3 "2007-06-18T22:41:21Z")

</div>

Kirk,

Yeh check out Coda’s post as it is a great resource. You might also  
find this article useful that I recently wrote up about using Debian  
Etch w/ Apache2 as a Rails app server:

[http://depixelate.com/2007/6/14/perfect-rails-stack-part-deux](http://depixelate.com/2007/6/14/perfect-rails-stack-part-deux)

Good luck.

–  
Zack C.  
[http://depixelate.com](http://depixelate.com)
