DATA_FOLDER=.data mkdir myproject cd myproject initdb -D $DATA_FOLDER #TODO DONT DO THIS IN PRODUCTION sudo chmod -R a+wr /run/postgresql/ postgres -D $DATA_FOLDER >logfile 2>&1 & createdb mydb
The blog of Sebastián Gurin about software development. "A place to store those little things that time will erase if not written...."
lunes, 18 de enero de 2016
first steps with postgresql for inpatients
The following is a bash script that show easy steps for getting started with postgresql and verified in a arch linux distribution. There are also some comments for explaining, ideal for inpatients:
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario