(hdn@buddha) (11-03-02 10:16) (P:0 L:1) [0] ~ $ sudo apt-get install postgresql [sudo] password for hdn: Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: xmcc Use 'apt-get autoremove' to remove them. The following extra packages will be installed: postgresql-8.4 postgresql-client-8.4 postgresql-client-common postgresql-common Suggested packages: oidentd ident-server postgresql-doc-8.4 The following NEW packages will be installed: postgresql postgresql-8.4 postgresql-client-8.4 postgresql-client-common postgresql-common 0 upgraded, 5 newly installed, 0 to remove and 82 not upgraded. Need to get 4.853kB of archives. After this operation, 19,8MB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql-client-common 106ubuntu1 [52,4kB] Get:2 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql-client-8.4 8.4.7-0ubuntu0.10.04 [786kB] Get:3 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql-common 106ubuntu1 [88,2kB] Get:4 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql-8.4 8.4.7-0ubuntu0.10.04 [3.906kB] Get:5 http://dk.archive.ubuntu.com/ubuntu/ lucid-updates/main postgresql 8.4.7-0ubuntu0.10.04 [20,1kB] Fetched 4.853kB in 1s (2.608kB/s) Preconfiguring packages ... Selecting previously deselected package postgresql-client-common. (Reading database ... 390340 files and directories currently installed.) Unpacking postgresql-client-common (from .../postgresql-client-common_106ubuntu1_all.deb) ... Selecting previously deselected package postgresql-client-8.4. Unpacking postgresql-client-8.4 (from .../postgresql-client-8.4_8.4.7-0ubuntu0.10.04_i386.deb) ... Selecting previously deselected package postgresql-common. Unpacking postgresql-common (from .../postgresql-common_106ubuntu1_all.deb) ... Selecting previously deselected package postgresql-8.4. Unpacking postgresql-8.4 (from .../postgresql-8.4_8.4.7-0ubuntu0.10.04_i386.deb) ... Selecting previously deselected package postgresql. Unpacking postgresql (from .../postgresql_8.4.7-0ubuntu0.10.04_all.deb) ... Processing triggers for man-db ... Processing triggers for ureadahead ... ureadahead will be reprofiled on next reboot Setting up postgresql-client-common (106ubuntu1) ... Setting up postgresql-client-8.4 (8.4.7-0ubuntu0.10.04) ... update-alternatives: using /usr/share/postgresql/8.4/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode. Setting up postgresql-common (106ubuntu1) ... Building PostgreSQL dictionaries from installed myspell/hunspell packages... da_dk en_au en_ca en_gb en_us en_za Setting up postgresql-8.4 (8.4.7-0ubuntu0.10.04) ... Creating new cluster (configuration: /etc/postgresql/8.4/main, data: /var/lib/postgresql/8.4/main)... Moving configuration file /var/lib/postgresql/8.4/main/postgresql.conf to /etc/postgresql/8.4/main... Moving configuration file /var/lib/postgresql/8.4/main/pg_hba.conf to /etc/postgresql/8.4/main... Moving configuration file /var/lib/postgresql/8.4/main/pg_ident.conf to /etc/postgresql/8.4/main... Configuring postgresql.conf to use port 5432... update-alternatives: using /usr/share/postgresql/8.4/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode. * Starting PostgreSQL 8.4 database server [ OK ] Setting up postgresql (8.4.7-0ubuntu0.10.04) ... (hdn@buddha) (11-03-02 10:18) (P:0 L:1) [0] ~ $ sudo su - postgres No directory, logging in with HOME=/ (postgres@buddha) (11-03-02 10:23) (P:0 L:1) [0] / $ pwd [pts/0 - 1H 0J 0R - 2011-03-02 10:23:48 - 0+03:17 - 0.44 0.56 0.47] / (postgres@buddha) (11-03-02 10:24) (P:0 L:1) [0] / $