https://docs.timescale.com/latest/getting-started/installation/ami/installation-ubuntu-ami
- SSH in:
ssh -i ~/.ssh/KEY-PAIR.pem ubuntu@HOSTNAME
- Switch to the
postgres
user:sudo -u postgres -s
- The config directory is
/etc/postgresql/12/main/
.- in
postgresql.conf
, changelisten_addresses = '*'
- in
pg_hba.conf
, addhost all all YOUR-IP-ADDRESS/32 md5
- Run
psql
thenALTER USER postgres PASSWORD 'newPassword';
to set a password.
- in