Postgresql bootstrapping

  1. Follow https://www.digitalocean.com/community/articles/how-to-create-remove-manage-tables-in-postgresql-on-a-cloud-server
  2. Add remote access: http://www.cyberciti.biz/tips/postgres-allow-remote-access-tcp-connection.html:     host    all             all             127.0.0.1/32           trust
  3. create a role and grant with priviledge http://www.cyberciti.biz/faq/howto-add-postgresql-user-account/
  4. createdb
  5. import csv into a table.
  6. create index
Advertisements
This entry was posted in postgres. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s