(View this PageEdit this PageUploads to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide)
[blog] [ML] [todo] [CVS] [bug] [apache log] [swiki log] [statistics] [map] [man] [info] [アンテナ]

PostgreSQLのインストール

ダウンロードしたのは、7.1.2
簡単にインストール手順を記します。PostgreSQLは日本語マニュアルも非常に
よくできていますので、そちらを参考にしたほうが確実ですよ。

-----------

メモ程度のインストール手順

1. tar玉を展開する。
2. cd postgresql-7.1.2
3. ./configure –enable-locale –enable-recode –enable-multibyte–with-CXX –enable-odbc –enable-syslog
4. make
5. make check
5. su
6. make install
7. adduser postgres
8. su - postgres
9. /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
10. /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile 2>&1 &
11. /usr/local/pgsql/bin/createdb test
12. /usr/local/pgsql/bin/psql test

-----------

マニュアル類のインストール

  1. rootでpostgresql-7.1.2/docに移動して、make installを実行する

-----------

Link to this Page