home > domains > 41as.com
sudo apt update sudo apt upgrade sudo apt install postgresql postgresql-contrib postgresql-client-common Start PostgreSQL service:
sudo systemctl start postgresql.service Setup Switch to postgres account; the installation of PostgreSQL automatically created a user account named “ postgres ”. Switch to this account for accessing the PostgreSQL database:
sudo -i -u postgres Create new role