- 追加された行はこの色です。
- 削除された行はこの色です。
&tag(MacPorts/postgresql);
*目次 [#wd66f5c4]
#contents
*関連ページ [#a3803b65]
-[[MacPorts]]
*参考情報 [#dcab1d7d]
-[[Hot Linux - PostgreSQLのインストール-MacPorts編(MacOS 10.5):http://www.hot-linux.org/osx/?rec_no=139]]
-[[MacPorts で PostgreSQL をインストールする - make world:http://d.hatena.ne.jp/littlebuddha/20100413/1271167283]]
*インストール(PostgreSQL 8.4) [#a06f0333]
-以下のコマンドを実行
sudo port install postgresql84-server
-インストール後に次のコマンドを実行せよと表示される。
#pre{{
sudo mkdir -p /opt/local/var/db/postgresql84/defaultdb
sudo chown postgres:postgres /opt/local/var/db/postgresql84/defaultdb
sudo su postgres -c '/opt/local/lib/postgresql84/bin/initdb -D
/opt/local/var/db/postgresql84/defaultdb'
}}
*設定 [#xceb678a]