## Checklist

[ ] sudo apt install postgresql - core only
      or
      sudo apt install postgresql postgresql-contrib - includes important components
[ ] nano /etc/postgresql/*/main/postgresql.conf
      Replace 'localhost' to '*'
      listen_addresses = '*'
[ ] sudo -u postgres psql template1
[ ] ALTER USER postgres with encrypted password 'your_password';
[ ] nano /etc/postgresql/*/main/pg_hba.conf
      IPv4 local connections:
      host all all 0.0.0.0/0 md5
[ ] sudo ufw allow 5432/tcp
[ ] sudo systemctl restart postgresql.service
[ ] Snapshot (PostgreS installed)
