PostgreSQL Installation
Basically, to install the latest version of PostgreSQL (9.3 as I write), you can follow the instructions in the PostgreSQL Wiki.Post-installation commands
Initialize
Here is a difference from the wiki: I customize the call to the PostgreSQL script initdb (adapt the paths if needed):