How to create database on postgres ?

in terminal:

sudo su

sudo -i -u postgres

createdb dbname

Advertisements