Python - Virtualenv - Modwsgi - Django on Rackspace cloud server running Ubuntu 10

Install Virtualenv:

$ apt-get install python-virtualenv

Install Apache mod_wsgi:

$ apt-get install libapache2-mod-wsgi

Create a folder called pythonenv under /usr/local/, then go to it:

$ mkdir /usr/local/pythonenv cd /usr/local/pythonenv

Create the virtrual env:

$ virtualenv --no-site-packages

Download and Install Django, and copy it to your virtual environment:

$ apt-get install python-django cp /usr/lib/pymodules/python2.6/django -r /usr/local/pythonenv//lib/python2.6/site-packages

Install MySQL for Python:

$ apt-get install python-mysqldb
< / >