Donate to support Ukraine's independence.

18 Mar'11

Django nginx Debian

How to make a simple install of django onto small Debian-6 VPS.
I’ll stick with flup, which enables python to serve fastcgi and some
other protocols.
I use it in conjunction with nginx, which in turn is used save memory.

Literature:

http://library.linode.com/using-linux/administration-basics#system_diagnostics
http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/

http://www.mindinmotion.ru/post/django-postgresql-nginx-on-debian-server

1 upgrade the system

apt-get upgrade

2 install required dependencies

apt-get install nginx-light postgresql python-django python-psycopg2 python-flup python-imaging

3 configure nginx

you may want to use emacs, vim, or nano. in case of last - you should …

Continue reading