I follow a tutorial at https://www.digitalocean.com/community/tutorials/how-to-install-postgresql-on-ubuntu-22-04-quickstart . I buy a Virtual Private Server (VPC) what use Ubuntu 22.04 LTS , 4 GB RAM, 100 GB SSD disk, 2 cores. My commands:
sudo apt update
sudo apt install postgresql postgresql-contrib
sudo -i -u postgres
psql
In this case, How to set password postgres
for user postgres
on PostgreSQL 14.5 on Ubuntu 22.04.1 LTS?
postgres
. You are on the road to hell.