Really really quick postgres install on ubuntu 16.04

sudo apt-get install postgresql postgresql-contrib
sudo -u postgres psql
ALTER USER postgres PASSWORD '123456';
\q