Open your browser to http://server:8080/ and the Confluence Setup should start:
Paste license key when prompted and click Custom Installation
Select PostgreSQL and click External Database >>
Click Direct JDBC >>
Enter a Driver Class Name of org.postgresql.Driver, a Database URL of jdbc:postgresql://localhost:5432/confluence as well as tomcat6 as the User Name and the password entered above, clicking Next >> when done