postgres setup linux code example
Example 1: ubuntu install and configure postgres server
sudo apt update
sudo apt install postgresql postgresql-contrib
Example 2: how to run postgresql in linux
sudo service postgresql-9.3 start
Example 3: how to run postgresql in linux
sudo service postgresql-9.3 initdb