Changes between Initial Version and Version 1 of Postgres_Training


Ignore:
Timestamp:
Dec 3, 2010, 2:32:03 PM (9 years ago)
Author:
Daniel Kahn Gillmor
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Postgres_Training

    v1 v1  
     1= Installing postgres =
     2
     3{{{
     4root# aptitude install postgresql
     5}}}
     6
     7= Setting up a user and a database =
     8
     9{{{
     10root# adduser --disabled-password --gecos='Master Chef,,,,' masterchef
     11root# su - postgres
     12postgres$ createuser -S -D -R masterchef
     13postgres$ createdb -O masterchef dinnerparty
     14}}}
     15
     16= connecting to the database =
     17
     18{{{
     19masterchef$ psql dinnerparty
     20}}}
     21