![]() PostgreSQL Roles and Databases Authentication Methods Output $ sudo -u postgres psql -c "SELECT version() " ![]() Use this command: sudo -u postgres psql -c "SELECT version() " Next, let’s erify the installation by connecting to the PostgreSQL database server and checking its version. Main PID: 4788 (code=exited, status=0/SUCCESS) Process: 4788 ExecStart=/bin/true (code=exited, status=0/SUCCESS) Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (exited) since Mon 04:33:26 UTC 33s ago Use this command to check the service status: $ sudo systemctl status postgresql Then we upgrade the packages in our system with this: Let’s refresh your server’s local package index using this command: sudo apt update Ensure that your system packages are up to date
0 Comments
Leave a Reply. |