Primeiro,
é preciso alterar a senha do postgres, para isso;
$ sudo su postgres
$ psql
# ALTER USER postgres WITH PASSWORD ‘postgres’; \q
Crie
o banco de dados
# createdb -E UTF8 i3geosaude
# createlang -d i3geosaude plpgsql
# psql -d i3geosaude -f /usr/share/postgresql/9.1/contrib/postgis-1.5/postgis.sql
# psql -d i3geosaude -f /usr/share/postgresql/9.1/contrib/postgis-1.5/spatial_ref_ss.sql
# psql -d i3geosaude -c "GRANT ALL ON geometry_columns TO PUBLIC;"
# psql -d i3geosaude -c "GRANT ALL ON geography_columns TO PUBLIC;"
# psql -d i3geosaude -c "GRANT ALL ON spatial_ref_sys TO PUBLIC;"
# /usr/bin/pg_restore --host localhost --port 5432 --username "postgres" --dbname "i3geosaude" --no-password --list "/var/www/databasei3geosaude.backup"
No seu navegador de preferência digite: http://localhost/ e
comece a trabalhar!!!