環境 CentOS 4.3 インストール yumでpostgresをインストール yum -y install postgresql-serverpostgresを起動 /etc/rc.d/init.d/postgresql start 設定 postgresqlの設定ファイル(/var/lib/pgsql/data/postgresql.conf) listen_addresses='*' #↑TCP/IP経由でのデータベース接続許可postgresqlの認証設定ファイル(/var/lib/pgsql/data/pg_hba.conf) local all all trust #↑追加(ローカルからのアクセスは無条件に許可) host all all 192.168.1.0/24 trust #↑追加(内部からのアクセスは無条件に許可) host all all 0.0.0.0 0.0.