postgresql
ã¤ã³ã¹ãã¼ã«ç´å¾ã¯ããã¼ã«ã«ã®ã¿ããæ¥ç¶ã§ããªãã®ã§ã ãã¼ã¿ãã£ã¬ã¯ããªå ã®ãpg_hba.confããç·¨éãããex.# TYPE DATABASE USER CIDR-ADDRESS METHOD host all all 192.168.80.77 255.255.255.0 passwordâ 対象DBå ¨ã¦ãæ¥ç¶ã¦ã¼ã¶ã¼å ¨ã¦ãæ¥ç¶ã¯ã©ã¤â¦
ã¦ã¼ã¶ã¼æ å ±ã調ã¹ãã«ã¿ãã°ï¼pg_authidã¤ã³ã¹ãã¼ã«ç´å¾ã¯ããã¹ã¯ã¼ãã¯æªè¨å® â ãã¼ã«ã«ä»¥å¤ãããã°ã¤ã³ã§ããªãã®ã§ããã¹ã¯ã¼ããè¨å®ããã âalter user postgres password 'è¨å®ãããã¹ã¯ã¼ã'å¤æ´ã¯ãå³ãåæ ããã
Ubuntuä¸ã§PostgreSQL 8.3.5ã¤ã³ã¹ãã¼ã«âåæºå ã»ã°ã«ã¼ãä½æ groupadd postgres ã»ã¦ã¼ã¶ã¼ä½æ useradd -g postgres postgres -s /bin/bash passwd postgres ã»ãã¼ã ãã£ã¬ã¯ããªãä½æ mkdir /home/postgres chown postgres.postgres chmod g=+rwx /hâ¦