Install postgresql-9.1 ubuntu 12.04

view story

http://askubuntu.com – i have installed the postgre via apt-get install postgresql, but have a error, dont make the folder /etc/postgresql/9.1 the error on 'psql': psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? (HowTos)