how to set up sql and postgres in ubuntu machine code example
Example 1: ubuntu install and configure postgres server
sudo apt update
sudo apt install postgresql postgresql-contrib
Example 2: install postgresql ubuntu
sudo apt install postgresql postgresql-contrib