Blog for IT technical details

April 14, 2009

Simple Rails production server setup in Ubuntu Part 1

Filed under: Application Development Improvement — Tags: — admin @ 12:29 pm

I did some but little work on Ruby on Rails and I have no experience to deploy ruby on rails application in production envirnment. But I just follow the the steps I listed and I can successfully deploy ROR application without any problems. Beside the steps I us, I will show you how to solve the common problems you will encounter.

For the software used, please refer toSimple Rails production server setup in Ubuntu post.

First you need to set up Ubuntu server. You can get Ubuntu server edition. There is an excellent post showing you how to set up Ubuntu server. I will show you very simple way late when I have time.

Install the following packages.
MySQL database software; server application, client application, and client libraries
Apache web server v 2.0 or later
Ruby language interpreter v 1.8.6 or later, with mySQL support, Ruby on Rails libraries, and the Mongrel application server
Mail Transport Agent, such as Postfix or Sendmail
Cron scheduling daemon
SSHd server application for secure management.

Then put up the following third party plugins.
The ruby on rails application contains the following third party plugins.

sql_session_store
quickbooks_integration
BlueCloth-1.0.0
activeresource
uuidtools-1.0.3

Final set up production.

Stay tuned.

Powered by WordPress