how to install postgresql in ubuntu server code example
Example: ubuntu install and configure postgres server
sudo apt update
sudo apt install postgresql postgresql-contrib
sudo apt update
sudo apt install postgresql postgresql-contrib