icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Private Hosting » H's Rails Setup

Private Hosting Questions about VPS, dedicated servers and colocation.

Reply
 
LinkBack Thread Tools Search this Thread
Old March 28th, 2008, 10:58 PM   #1 (permalink)
H
after g, before i
Super #1
 
H's Avatar
 
Joined in Jul 2004
Hosted on Gojira
7,903 posts
Gave thanks: 44
Thanked 127 times
H's Rails Setup

It's super simple.

I was going to go with a Mongrel/Apache VirtualHosts route, but I found it annoying to configure, and I really didn't feel like writing some scripts to do work for me. Instead I did some research to see what other people are using and what would work best for me.

I choose Litespeed. Benchmarks showed it was actually better than a Apache/Mongrel config, and it had a benefit of being super easy to configure (okay... it takes a bit of reading, but it's actually super once you figure it out).

Installing Litespeed is a matter of wget, tar, cd, ./install.sh .... Just make sure you follow the instructions carefully... they're really simple, but you'll want to pay attention. Oh and install Ruby/etc... through your OS's preferred method (yum, apt-get, etc...)

You might have a fun time setting up your first site. It's less than obvious... I'll post back later with a nice walkthrough (don't know why I started to write this as I was heading out the door).
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 29th, 2008, 3:13 AM   #2 (permalink)
CTO, Surpass Hosting
Super #1
 
Emmanuel's Avatar
 
Joined in Apr 2003
Lives in Florida
1,798 posts
Gave thanks: 9
Thanked 125 times
thanks for the info, very useful and always great to have it from someone so knowledgeable. A walk through would be appreciated
__________________
Emmanuel :: Surpass Hosting Network Admin
http://www.SurpassHosting.com
Emmanuel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 29th, 2008, 1:47 PM   #3 (permalink)
H
after g, before i
Super #1
 
H's Avatar
 
Joined in Jul 2004
Hosted on Gojira
7,903 posts
Gave thanks: 44
Thanked 127 times
Blah, I had it 90% done and did something stupid to lose it. I think I may do a screencast instead as it'll explain it so much better. I'll skip on the installing Ruby/MySQL/Rails bit... even install Litespeed (it's so damn easy). It's just Litespeed itself which has really poor interface design, so it can be confusing at first.

In the mean time, I found this: Web Development Blog: Web Development Insights, Best Practices, Tips & Techniques : Viget Labs
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 14th, 2008, 12:27 PM   #4 (permalink)
H
after g, before i
Super #1
 
H's Avatar
 
Joined in Jul 2004
Hosted on Gojira
7,903 posts
Gave thanks: 44
Thanked 127 times
Oops. I kind of forgot about this... Umm, I'm actually looking into mod_rails right now to see if it's a better solution. It'd be way easier for most people to implement, not to mention, for Surpass to implement (if they choose).
H is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 14th, 2008, 4:07 PM   #5 (permalink)
tealeaf
Surpass Staff
 
Joined in May 2003
Lives in Orlando
24,047 posts
Gave thanks: 908
Thanked 771 times
Wait.. wait.. wait. A screencast by H? That is exciting.
__________________
Follow Surpass on Twitter, Facebook and FriendFeed
Check out interesting finds on the Surpass Blog
Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 17th, 2008, 4:44 AM   #6 (permalink)
﴾͡๏̯͡๏﴿...tweet
Super #1
 
Joined in Dec 2005
5,521 posts
Gave thanks: 137
Thanked 146 times
Quote:
Originally Posted by H View Post
Oops. I kind of forgot about this... Umm, I'm actually looking into mod_rails right now to see if it's a better solution. It'd be way easier for most people to implement, not to mention, for Surpass to implement (if they choose).
H... have you tried using a public ami for ec2...? It literally takes about 3 minutes to launch...

I can show you how to spawn ec2 instances... it's actually really simple.

Anyways... here's the link to one of the more popular ror AMIs EC2 on Rails

btw... you would have to work with one of Amazon's configurations:

Available Amazon EC2 Instance Types

Small Instance (default) (1)

1.7 GB memory, 32-bit platform
1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit)
160 GB instance storage (150 GB plus 10 GB root partition)
Instance Type name: m1.small (used in EC2 APIs)
Price: $0.10 per instance hour

Large Instance

7.5 GB memory, 64-bit platform
4 EC2 Compute Units (2 virtual cores with 2 EC2 Compute Units each)
850 GB instance storage (2 x 420 GB plus 10 GB root partition)
Instance Type name: m1.large (used in EC2 APIs)
Price: $0.40 per instance hour

Extra Large Instance

15 GB memory, 64-bit platform
8 EC2 Compute Units (4 virtual cores with 2 EC2 Compute Units each)
1,690 GB instance storage (4 x 420 GB plus 10 GB root partition)
Instance Type name: m1.xlarge (used in EC2 APIs)
Price: $0.80 per instance hour
__________________
poof
Brandonnn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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