sudo apt update && sudo apt install -y postgresql postgresql-contrib
sudo systemctl enable --now postgresql
sudo -u postgres psqlCreate a database and role using CREATE DATABASE mydb; and CREATE USER myuser WITH ENCRYPTED PASSWORD 'pass';.
sudo apt update && sudo apt install -y postgresql postgresql-contrib
sudo systemctl enable --now postgresql
sudo -u postgres psqlCreate a database and role using CREATE DATABASE mydb; and CREATE USER myuser WITH ENCRYPTED PASSWORD 'pass';.