2008/06/04 13:25
yum -y install postgresql-server
/etc/rc.d/init.d/postgresql start
/sbin/chkconfig --level 35 postgresql on
vi /var/lib/pgsql/data/postgresql.conf文字コードをEUC-JPに設定
client_encoding = EUC-JP
yum remove postgresql
rm -rf /var/lib/pgsql
yum -y install postgresql-server
su postgres
initdb -D /var/lib/pgsql/data
関連記事