uWSGI is not "apt-getable" for several reasons which are not really in the scope of this group. However, it is simple enough to download, make, and install. ;)
>From my experience with Cherokee, it is extremely efficient in handling multiple platforms and quite easy to configure. I have not personally done any ruby work, but Cherokee has great benchmarks and the true results to match. Additionally, it is constantly being improved and there are many wizards. What more can a host ask for? :) - Evan Gray On Feb 23, 7:04 pm, Thadeus Burgess <[email protected]> wrote: > Thank you for this. IsuWSGInot available to apt-get ? > > Any idea on howcherokeeperforms serving both python and ruby applications? > > In my apache/mod_wsgi setup, web2py was happily running at 35MB. Then > I installed mod_passenger to serve the ruby app and apache memory > usage spiked to ~250 just for the ruby process. > > -Thadeus > > On Tue, Feb 23, 2010 at 2:56 PM, GrayMatterComputing > > <[email protected]> wrote: > > web2py withCherokeeviauWSGI: a simple, easy guide > > (written specifically for Ubuntu, but applicable to all systems) > > By: Evan Gray - GrayMatterComputing > > > 1) web2py > > a) Download web2py (found at web2py.com) > > i) Install python, if not present: sudo apt-get install python > > b) Unzip (to /var/web2py) > > c) Run: sudo python /var/web2py/web2py.py -a desiredpassword > > d) Verify that it functions properly (by visiting localhost:8000), > > then close the server (Ctrl+C in terminal) > > e) Allow server permission to web2py: sudo chown -hR www-data\: /var/ > > web2py > > i) Where "www-data" isCherokee'seffective user (www-data is the > > default) > > > 2)uWSGI > > a) DownloaduWSGI(found at projects.unbit.it/uwsgi/) > > b) Unpackage wherever and cd into folder > > i) Install dependencies for make, if not present: sudo apt-get > > install python-dev libxml2-dev > > c) Makeuwsgi: sudo make -f Makefile.Py26 > > d) Install: sudo cp uwsgi26 /usr/local/bin/uwsgi > > e) Create config.xml: sudo cat > /var/web2py/config.xml > > <uwsgi> > > <pythonpath>/var/web2py/</pythonpath> > > <app mountpoint="/"> > > <script>wsgihandler</script> > > </app> > > </uwsgi> > > [PRESS ENTER] > > [PRESS CTRL+D] > > > 3)Cherokee > > a) InstallCherokee(follow the instructions atcherokee-project.org) > > i) Note: I highly recommend using the PPA method so you can be sure > > to have the latest version and no issues! > > b) Runcherokee-admin: sudocherokee-admin > > c) Visit admin console (via browser, password is shown in terminal): > > localhost:9090 > > d) Go to Virtual Servers, click Wizards, click Platforms, clickuWSGI > > i) New Host Name: web2py > > ii) Document Root: /var/web2py > > iii) Configuration File: /var/web2py/config.xml > > iv) Same logs as vserver: default(combined) > > v) Submit > > e) Go to Virtual Servers, click default > > i) Under "Basics", Virtual Server Nickname: original > > f) Go to Virtual Servers, click web2py > > i) Under "Basics", Virtual Server Nickname: default > > ii) Under "Logging", verify all logging is correct (matches > > original) > > g) Go to Virtual Servers > > i) Set original Active to OFF > > > 4) Visit localhost (or your.ip.add.ress from another computer) to view > > your web2py site! :D > > > -- > > You received this message because you are subscribed to the Google Groups > > "web2py-users" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/web2py?hl=en. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

