Joined October 2013
·

Kunwar Aditya Raghuwanshi

Software Engineer at VIOLETGREY
·
Los Angeles, CA
·
·
·

$ sudo apt-get install curl

$ \curl -sSL https://get.rvm.io | bash

$ source /home/vagrant/.rvm/scripts/rvm

Correct commands >

$ sudo mkdir -p /usr/local/pgsql/data

$ sudo chown postgres:postgres /usr/local/pgsql/data

$ sudo su postgres

$ /usr/lib/postgresql/9.1/bin/initdb -D /usr/local/pgsql/data

Also,
creatuser -s vagrant on Postgres 9.3

Achievements
88 Karma
0 Total ProTip Views