The following illustration describes how to install PostgreSQL8.3 In Ubuntu. First download postgresql-8.3.3-2-linux.binroot @ bai-desktop:/home/bai/liuy # lspostgresql-8.3.3-2-linux.binroot @ bai-desktop:/home/bai/liuy # chmodu + xpostgresql-8.3.3-2-li
The following illustration describes how to install PostgreSQL8.3 In Ubuntu.
First download postgresql-8.3.3-2-linux.bin
Root @ bai-desktop:/home/bai/liuy # ls
Postgresql-8.3.3-2-linux.bin
Root @ bai-desktop:/home/bai/liuy # chmod u + x postgresql-8.3.3-2-linux.bin
Root @ bai-desktop:/home/bai/liuy #./postgresql-8.3.3-2-linux.bin
Root @ bai-desktop:/home/bai # su-postgres
Install PostgreSQL8.3/In Ubuntu/
Install PostgreSQL8.3/In Ubuntu/
Install PostgreSQL8.3/In Ubuntu/
$ Switch bash to bash
Postgres @ bai-desktop :~ $/Opt/PostgreSQL/8.3/bin/pg_ctl start/opt/PostgreSQL/8.3/data/Note that the-D parameter is added.
Pg_ctl: too restart command-line arguments (first is "start ")
Try "pg_ctl -- help" for more information.
Postgres @ bai-desktop :~ $/Opt/PostgreSQL/8.3/bin/pg_ctl start-D/opt/PostgreSQL/8.3/data/Start Service
Server starting
Postgres @ bai-desktop :~ $./Pg_ctl stop-D/opt/PostgreSQL/8.3/data/Stop Service