Skip to content

Instantly share code, notes, and snippets.

@gabrielfern
Last active March 5, 2018 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabrielfern/6ce5d2855418caaa090ae1b7e965cea7 to your computer and use it in GitHub Desktop.
Save gabrielfern/6ce5d2855418caaa090ae1b7e965cea7 to your computer and use it in GitHub Desktop.
Configuração do postgresql no ubuntu/linuxmint
  1. Instale o postgresql

sudo apt install postgresql

  1. Acesse a interface de comando psql

sudo -u postgres psql

  1. Mude a senha do user postgres para 'postgres'

alter user postgres password 'postgres';

  1. Crie o banco de dados estoquefacildb

create database estoquefacildb;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment