Advertisement
mud_dauber

Postgresql installation on Ubuntu (prep for RoR)

Jun 2nd, 2013
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. $ sudo apt-get install postgresql-9.1 (OK)
  2. $ sudo apt-get install libpq-dev (upgraded libpq-dev, libpq5) (OK)
  3. $ sudo apt-get autoremove (frees up space) (OK)
  4.  
  5. Set up a user that is the same as my Ubuntu log-in
  6. $ sudo su postgres -c psql
  7. postgres=# CREATE ROLE <username> SUPERUSER LOGIN;
  8. postgres=# \q
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement