Skip to content

Instantly share code, notes, and snippets.

@moonwatcher
Created July 17, 2015 18:39
Show Gist options
  • Save moonwatcher/e30cd6d0aa438d1fa2fc to your computer and use it in GitHub Desktop.
Save moonwatcher/e30cd6d0aa438d1fa2fc to your computer and use it in GitHub Desktop.
package
-------
apt-get install \
mysql-client-5.6 \
mysql-client-core-5.6 \
mysql-common-5.6 \
mysql-server-5.6 \
mysql-server-core-5.6 \
git \
autoconf \
libtool \
pkg-config \
libmysqlclient-dev \
python-dev \
libapache2-mod-wsgi
python 2
--------
apt-get install python-pip
pip install --upgrade pip
pip install virtualenv
python 3
--------
apt-get install python3-pip
pip3 install --upgrade pip
pip3 install virtualenv
/etc/apache2/mods-enabled/wsgi.conf
-----------------------------------
WSGILazyInitialization On
WSGIRestrictEmbedded On
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment