2002年09月17日
PostgreSQL設定 @ Linux
PostgreSQLがローカルでの接続は問題なしだったのですが、他のサーバーからのアクセスが上手くいかなかったので、PostgreSQL設定ファイルの/var/lib/pgsql/data/pg_hba.confに host all 192.168.1.0 255.255.255.0 trust(我が家のネットワークにあるサーバー全てに接続出来る権限)を書き加えて、/usr/local/pgsql/data/postgresql.conf の、一部をtcpip_socket = true(tcpでの接続を許可する)とし、 /etc/rc.d/init.d/postgresql restart(PostgreSQLの再起動) で、他のサーバーからアクセス出来る様になりました。残念ながらMac OS X(10.1.5)にはPg.pmが入ってない様なので、自分でインストールしないと接続出来ないみたいです。
関連日記
- 2002年09月23日 PostgreSQLへのデータ入力 (3094)@ Linux
- 2007年10月24日 コンピュータ&ネットワーク EXPO'07 (2758)@ 広島
- 2004年04月27日 Dreamweaver Extension Managerの不具合 (2741)@ Mac
- 2003年05月29日 Mac OS X Cocoaプログラミング (2690)@ Mac
- 2002年09月23日 Zopeのプロダクト (2662)@ Linux
- 2002年09月21日 ZopeとPostgreSQLの接続 (2657)@ Linux
- 2003年03月20日 PostgreSQLカンファレンス2003 (2573)@ Linux
- 2002年09月17日 郵便番号 (2514)@ Linux
- 2003年09月27日 Dreamweaver+PHAkt+PostgreSQL (2457)@ Mac
- 2002年09月22日 Zopeの文字化け (2233)@ Linux
- 2005年01月22日 iBook到着 (2227)@ Mac
- 2004年08月16日 PHPの入れ替え (2211)@ ウェブ
- 2003年09月04日 PHAktでlocalhost (2210)@ ウェブ
- 2002年09月17日 PerlでPostgreSQL (2193)@ Linux
- 2003年09月29日 PostgreSQLとPHAktでの文字コード (2141)@ ウェブ
- 2004年01月19日 iBook G4にPostgreSQL+PHPの環境 (2116)@ Mac
- 2005年08月08日 PHAktが具合悪い (2111)@ ウェブ
- 2004年01月27日 街区レベル位置参照情報ダウンロードサービス (2110)@ ウェブ
- 2002年10月24日 PHP (2098)@ ウェブ
- 2004年01月26日 PostgreSQLとコマンドライン (2086)@ ウェブ
- 2003年09月20日 Movable Type (2081)@ ウェブ
- 2002年09月16日 Vine 2.5のインストール (2081)@ Linux
- 2002年10月03日 PHPの印象 (2061)@ ウェブ
- 2004年01月20日 PHAkt (2049)@ ウェブ
- 2005年01月02日 iBookG4のデータは保護できるかも (2038)@ Mac
- 2004年01月17日 PHPからPostgreSQLが使えない (1986)@ ウェブ
- 2004年09月17日 自前Blog (1949)@ ウェブ
- 2003年08月31日 PHAkt (1939)@ Mac
- 2005年05月23日 むかつくレンタルサーバー (1924)@ ウェブ
- 2002年09月23日 Zopeで検索ページ (1907)@ Linux
アマゾン広告
この日記ページは閲覧数などの条件に応じて、閲覧制限を行っています。他からリンクしていただいても、そのリンクから辿った閲覧者が当ページの内容をご覧頂けない場合があります。ご了承下さい。