I am having a very hard time... just installing PostGresSQL, getting the server running on AL2023, getting my Nest.js app to connect to it.
When I was on a mac everything just worked and seemed so simple. Is there a resource which is bullet proof?
Sorry but my experience on a Dell running AL2023 is awful.
When I tried:
psql --version
I get:
psql (PostgreSQL) 15.0
Then I tried postgresql-setup --initdb
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
FATAL: no db datadir (PGDATA) configured for 'postgresql.service' unit
please help!