Created
May 14, 2012 20:03
-
-
Save stephenmckinney/2696283 to your computer and use it in GitHub Desktop.
Installing mod_wsgi 3.3 for Python 2.6 on Ubuntu Lucid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /etc/apache2/mods-enabled | |
sudo ln -s ../mods-available/headers.load headers.load | |
... | |
sudo vim /etc/apache2/sites-enabled/000-default | |
# Used for New Relic instrumentation | |
RequestHeader add X-Queue-Start "%t" | |
... | |
sudo /etc/init.d/apache2 stop | |
sudo /etc/init.d/apache2 start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://mirror.pnl.gov/ubuntu//pool/main/m/mod-wsgi/libapache2-mod-wsgi_3.3-2ubuntu2_amd64.deb | |
sudo dpkg -i libapache2-mod-wsgi_3.3-2ubuntu2_amd64.deb | |
sudo ln -fs /usr/lib/apache2/modules/mod_wsgi.so-2.6 /usr/lib/apache2/modules/mod_wsgi.so | |
sudo mv /etc/apache2/mods-available/wsgi.conf /etc/apache2/mods-available/wsgi.conf.old | |
sudo mv /etc/apache2/mods-available/wsgi.load /etc/apache2/mods-available/wsgi.load.old | |
sudo mv /etc/apache2/mods-available/wsgi.conf.dpkg-new /etc/apache2/mods-available/wsgi.conf | |
sudo mv /etc/apache2/mods-available/wsgi.load.dpkg-new /etc/apache2/mods-available/wsgi.load | |
sudo /etc/init.d/apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment