Skip to content

Instantly share code, notes, and snippets.

@Victoriapm
Created September 28, 2019 21:59
Show Gist options
  • Select an option

  • Save Victoriapm/c186513edce7bc4e772db0460f2d8f68 to your computer and use it in GitHub Desktop.

Select an option

Save Victoriapm/c186513edce7bc4e772db0460f2d8f68 to your computer and use it in GitHub Desktop.
sudo apt-get install postgresql-11
#log into postgres and create the user you'll use
sudo -i -u postgres
psql
CREATE USER vic WITH PASSWORD 'lala';
\q
exit
# Log with the created user
psql -U vic -d postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment