install postgresql on ubuntu server 18.04 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