Really really quick postgres install on ubuntu 16.04

linux db

sudo apt-get install postgresql postgresql-contrib

sudo -u postgres psql

ALTER USER postgres PASSWORD '123456';

\q