Skip to content

Instantly share code, notes, and snippets.

@ekas
Forked from Bhomitkapoor/hadoop_spark_guide.md
Last active June 6, 2021 20:50
Show Gist options
  • Save ekas/42834ec6f5e37981deeb2adcebd86bbb to your computer and use it in GitHub Desktop.
Save ekas/42834ec6f5e37981deeb2adcebd86bbb to your computer and use it in GitHub Desktop.

Guide

CMD

Postgres

  • docker pull bitnami/postgresql
  • docker run --name postgresql-server -e POSTGRESQL_PASSWORD=pass bitnami/postgresql:latest

Docker Specific terminal

Postgres

  • docker exec -it 216f6bbce3ec bash
  • psql -U postgres & password -> pass
  • create database mydb;
  • create user lpkf with password 'mypass';
  • ALTER USER lpkf with superuser;
  • ALTER DATABASE mydb OWNER to lpkf;
  • grant all privileges on database mydb to lpkf;
  • pgAdmin -> password -> pass & 2403
  • Create a new ser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment