# yum install postgresql
# yum remove postgresql # yum install postgresql
# su - postgres
listen_addresses = '*' port = 5432
# initdb --encoding=UTF-8
# /etc/init.d/postgresql start
# /etc/init.d/postgresql stop
# su - postgres
# createuser [ユーザ名]
# createdb [データベース名] -O [使用するユーザ名]
ALTER USER ※ユーザ名 WITH PASSWORD '※新パスワード';