- Download Python version egg from http://pypi.python.org/pypi/setuptools
- Run it with sh setuptools-0.6c11-py2.???.egg
If the error zipimport.ZipImportError: can't decompress data; zlib not available happens, happily run apt-get install zlibc and rebuild Python. After that re-run steps 1 and 2 above.
mysql-python
- Run apt-get install libmysqlclient-dev
- pip install mysql-python
nginx
- Install the PCRE library with apt-get install libpcre3 libpcre3-dev
- Install the OpenSSL development package with apt-get install libssl-dev
- Ensure we have the zlib development package with apt-get install zlib1g-dev
- Configure with the flags --with-http_ssl_module
- make ; make install
- If no prefix juggling was performed, create a symlink for nginx into /usr/bin with ln -s /usr/local/nginx/sbin /usr/bin/nginx
- If no prefix juggling was performed, safely delete the /etc/nginx directory
- After step 7, create a symlink for the nginx directory to replace the above deleted one with ln -s /usr/local/nginx /etc/nginx