Install PostGIS and GeoServer on Ubuntu 13.04 PostGIS installation Postgresql Install the server: sudo apt-get install postgresql-9.1 postgresql-contrib-9.1 pgadmin3 Execute the psql command under user postgres (sudo -u postgres) and connect to database postgres (psql postgres):