IT Community - Software Programming, Web Development and Technical Support

setting up ruby on rails in Fedora core 6

This is a discussion on setting up ruby on rails in Fedora core 6 within the Ruby forums, part of the Web Development category; Installation of ruby on rails with Apache 2.2 and Mongrel on Fedora Core 6 Here is the step by ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Ruby

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 04-03-2007, 05:49 AM
rgm5 rgm5 is offline
D-Web Trainee
 
Join Date: Feb 2007
Posts: 7
rgm5 is on a distinguished road
Default setting up ruby on rails in Fedora core 6

Installation of ruby on rails with Apache 2.2 and Mongrel on Fedora Core 6


Here is the step by step installation of ruby on rails production environment in Fedora core 6

install Fedora 6 (with out apache / ruby / ruby gems /mysql)

download required packages from the appropriate sites (ie)

1.Apache 2.2.4 - Index of /apache/httpd

2.ruby language - RubyForge: Welcome

3.Mysql - MySQL AB :: Developer Zone

Apache installation

tar zxvf httpd-2.2.4.tar.gz

cd httpd-2.2.4

./configure --prefix=/usr/local/apache2 \
--enable-so --enable-modules=all \ --enable-mods-shared=all –enable-proxy

make

make install

cd ..

rm -rf httpd-2.2.3

rm httpd-2.2.3.tar.gz

Ruby Installation

tar xvfz rubygems-0.9.0.tgz

cd rubygems-0.9.0.tgz

ruby setup.rb

cd ..

rm -rf rubygems-0.9.0.tgz

rm rubygems-0.9.0.tgz

Installation of Mysql

yum install ruby-devel mysql mysql-devel mysql-server

service mysqld restart

mysqladmin -u root password '(passwd)'

Rails Installation

gem install rails --include-dependencies

gem update --system

Install Mongrel

gem install daemons gem_plugin mongrel mongrel_cluster

/usr/sbin/adduser -r mongrel

for testing mongrel type this in app root

mongrel_rails start

For configuring mongrel cluster type the command on the app root dir


mongrel_rails cluster::configure -e production -p 8000 -N 3 -c /var/www/$path -a 127.0.0.1 \
--user mongrel --group mongrel


Regards,

G.Murugan
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-18-2007, 12:42 AM
Karpagarajan Karpagarajan is offline
D-Web Analyst
 
Join Date: Mar 2007
Posts: 299
Karpagarajan is on a distinguished road
Thumbs up Re: setting up ruby on rails in Fedora core 6

What is the memory hit on the server for each additional Mongrel BalancerMember that you add? Do you have any numbers on memory usage with a setup like this? Or, do you have any numbers on how many hits a server with this configuration can handle?

thanks
__________________
Karpagarajan. R
Necessity is the mother of invention
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ruby on Rails prasannavigneshr Ruby 13 09-11-2008 01:16 AM
Core File Permission satheesh Operating Systems 3 03-19-2008 05:49 AM
Intel or AMD (dual core) ventyra Computer Hardware 2 12-25-2007 07:50 AM
Installing Ruby and Rails on Windows prasannavigneshr Ruby 2 10-03-2007 04:11 AM
Ruby on Rails server config vivekanandan Ruby 7 08-04-2007 05:02 AM


All times are GMT -7. The time now is 02:58 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0