Django, Linux, Postgres, Python

Installing Django 1.2.3 on Ubuntu 10.04 & PostgreSQL

Installing Postgres and Django

 sudo apt-get install postgresql pgadmin3 python-psycopg2
apt-get install python-setuptools
easy_install django 

Configuring Postgres

sudo su
passwd postgres
su postgres
psql template1

The last instruction should open the psql shell, where you can run the following:

ALTER USER postgres WITH ENCRYPTED PASSWORD 'mypassword';
Standard

2 thoughts on “Installing Django 1.2.3 on Ubuntu 10.04 & PostgreSQL

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s