Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Jan 01, 2012 4:06 pm 
Offline
Newbie

Joined: Sun Jan 01, 2012 3:55 pm
Posts: 2
Hi,

I would like to run multiple web frameworks alongside each other to host a few small low traffic sites as well as to play with some new stuff.

I would like to run mono, php, rails, sinatra, django and node for example as well as a db like Postgres.

Does anyone have any suggestions or advice on how I should go about this? Apache vs nginx? Apache modules vs Fast CGI?

As I mentioned the live sites and any play projects that become live will be low traffic so performance is not a major consideration although I will be initially going for the smallest linode so maybe memory will be tight? I guess simplicity of set up / configuration is a bigger priority for me right now.

Thanks in advance for any help!
Simon


Top
   
 Post subject:
PostPosted: Fri Jan 06, 2012 1:17 pm 
Offline
Senior Newbie

Joined: Thu Jun 23, 2011 12:57 pm
Posts: 19
Personally I host Django and various PHP sites including Word Press.

I use uWSGI for Django which I manage with pip. My Django sites are kept in multiple Virtual environments which I recommend you become familiar with.

I use Dotdeb to manage cutting edge installs of everything else I use such as Redis, MySQL, PHP-FPM, etcetera. I also swear by Nginx and use dotdeb to manage this.

I host roughly 7 sites a couple of which are high traffic. The software I have chosen keeps my memory down. The only package I am unhappy with is MySQL. However it is easier for me to keep it for the Word Press sites I host.

I probably have 340-380 memory free on a Linode 512. Soon I will be running my IRSSI through it as well and it may take up a bit more.

I would recommend using virtual machines to play with any new software. Do not do this on the production server.


Top
   
 Post subject:
PostPosted: Mon Jan 09, 2012 11:41 am 
Offline
Junior Member

Joined: Sun Jun 26, 2011 6:42 pm
Posts: 32
Why are you unhappy with MySQL? What database software would you prefer?


Top
   
 Post subject:
PostPosted: Wed Jan 11, 2012 5:54 pm 
Offline
Newbie

Joined: Sun Jan 01, 2012 3:55 pm
Posts: 2
mjruschak,

Thanks for your reply. I have gone for NginX as you suggested and have successfully got mono and node running side by side.

Next step Django!

Thanks again.
Simon


Top
   
 Post subject:
PostPosted: Thu Jan 12, 2012 7:29 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
firecube wrote:
Next step Django!


Django recommends mod_wsgi and Apache:

https://docs.djangoproject.com/en/dev/topics/install

Graham Dumpleton, inventor and maintainer of mod_wsgi, has some advice on nginx request blocking and mod_wsgi:

http://blog.dscpl.com.au/2009/05/blocki ... on-of.html

James


Top
   
 Post subject:
PostPosted: Thu Jan 26, 2012 9:30 pm 
Offline
Senior Newbie

Joined: Thu Jun 23, 2011 12:57 pm
Posts: 19
MySQL is just lagging behind it seems. I believe it will be a matter of time before one of the forked projects replaces it. PGSQL is a favorite of mine. However I don't use it in production for the reason I posted above.

Anyways I run my Django with uWSGI with success. Before this I was using Gunicorn on a VM. After lots of research uWSGI is your best alongside Nginx. I use the pip install. I would also recommend you look into virtualenv and virtualenvwrapper.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group