| Private Hosting Questions about VPS, dedicated servers and colocation. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread |
|
|
#1 (permalink) |
|
after g, before i
Super #1
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). |
|
|
|
|
|
#3 (permalink) |
|
after g, before i
Super #1
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 |
|
|
|
|
|
#4 (permalink) |
|
after g, before i
Super #1
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).
|
|
|
|
|
|
#6 (permalink) | |
|
﴾͡๏̯͡๏﴿...tweet
Super #1
Joined in Dec 2005
5,521 posts
Gave thanks: 137
Thanked 146 times
|
Quote:
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
|
|
|
|
|