First install tomcat and jdk dependecies.


> sudo apt-get install default-jdk tomcat7

Download the PostgresSQL Studio tar from their website.
Extract the war file.

> tar -xvf pgstudio_1.0.tar.gz

Move the war file to the tomcat7 webroot. In my case.


> sudo mv pgstudio.war /var/lib/tomcat7/webapps/

Restart tomcat7


> sudo /etc/init.d/tomcat7

Open your web browser to: http://localhost:8080/pgstudio/