Tuesday 1 April 2014

python with apache wsgi_module


https://www.digitalocean.com/community/articles/installing-mod_wsgi-on-ubuntu-12-04

http://ubuntuforums.org/showthread.php?t=833766

https://www.digitalocean.com/community/articles/100

http://grok.zope.org/documentation/tutorial/installing-and-setting-up-grok-under-mod-wsgi/installing-and-configuring-mod-wsgi



sudo apt-get install apache2 apache2.2-common apache2-mpm-prefork apache2-utils libexpat1 ssl-cert

sudo apt-get install libapache2-mod-wsgi

sudo a2enmod mod-wsgi
ERROR: Module mod-wsgi does not exist!


####### For latest: from source code: ##########

mkdir ~/sources
cd ~/sources
wget http://modwsgi.googlecode.com/files/mod_wsgi-3.3.tar.gz
tar xvfz mod_wsgi-3.3.tar.gz


cd mod_wsgi-3.3
./configure
make
sudo make install


########## End ##################################

 sudo aptitude install python-dev apache2-prefork-dev  




No comments:

Post a Comment