how to install postgresql and pgadmin in ubuntu 16.04 digitalocean code example Example: ubuntu connect to postgres sudo su - postgres