Install postgres and pgadmin

Hi, I installed both postgres and PgAdmin, but I can’t use it.

1º sudo su postgres -l
$ initdb – locale $LANG -E UTF8 -D ‘/var/lib/postgres/data/’

→ “initdb: error: directory “/var/lib/postgres/data” exists but is not empty If you want to create a new database system, remove or empty the directory “/var/lib/postgres/data” or run initdb with an argument instead of “/var/lib/postgres/data”.”

2º What is the default Postgres password?

3º pgadmin4 → “Failed to open the system default web browser. Is one installed?.”

Thank you very much

Only putting this here.

Did all the googling for you :wink:

fixed title typos