#topicpath
----
**インストール
**インストール [#l4887a7a]
うちの環境はRedhat8.0なので、PostgreSQLは元々インストールされていました。
今回はそれのバージョンアップをしてみたいと思います。
ちなみにバージョンアップは
 7.2.4 -> 7.4.2
です。

#contents
***バックアップ
***バックアップ [#ad661de8]
PostgreSQLでBlogを運用していたため、データのバックアップを行いました。
postgresユーザで
 pg_dumpall > outputfile
でOK。

***インストール
***インストール [#m257a362]
http://www.postgresql.jp/document/pg74doc/html/installation.html
にしたがって行いました。
その他の作業としては/etc/profileに
 PATH=/usr/local/pgsql/bin:$PATH
を追加しました。

***データリストア
***データリストア [#zbe4d184]
 /usr/local/pgsql/bin/psql -d template1 -f outputfile

***その他の作業
***その他の作業 [#c14bf5ca]
pg_hba.confの修正
 #host    all         all         127.0.0.1         255.255.255.255   trust
 host    all         all         192.168.0.0         255.255.0.0   trust

起動シェルの修正
#ref(postgresql)




----
この記事は
#vote(おもしろかった,そうでもない)
-My friend told me about your web site and I really enjoyed it. Very nicely done. Very interesting!<p><a href="http://government-grants.org" title="free business grants">free business grants</a></p> -- [[free business grants]] &new{2005-02-22 (火) 09:26:44};

#comment


#topicpath

SIZE(10){現在のアクセス:&counter;}


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS