Changes between Initial Version and Version 1 of Postgres_Training
- Timestamp:
- Dec 3, 2010, 7:32:03 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Postgres_Training
v1 v1 1 = Installing postgres = 2 3 {{{ 4 root# aptitude install postgresql 5 }}} 6 7 = Setting up a user and a database = 8 9 {{{ 10 root# adduser --disabled-password --gecos='Master Chef,,,,' masterchef 11 root# su - postgres 12 postgres$ createuser -S -D -R masterchef 13 postgres$ createdb -O masterchef dinnerparty 14 }}} 15 16 = connecting to the database = 17 18 {{{ 19 masterchef$ psql dinnerparty 20 }}} 21