差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
softwares:fluent_bit:fluent_bit_pgsql [2024/03/15 12:45] kobayashsoftwares:fluent_bit:fluent_bit_pgsql [2024/03/15 12:50] (現在) kobayash
行 4: 行 4:
 === PostgreSQL インストール === === PostgreSQL インストール ===
   * 参考: PostgreSQL を Ubuntu に普通にインストール https://qiita.com/nanbuwks/items/846cf3536a82a2798555   * 参考: PostgreSQL を Ubuntu に普通にインストール https://qiita.com/nanbuwks/items/846cf3536a82a2798555
-  * <code> sudo apt install postgresql postgresql-contrib </code> +  * apt コマンドで PostgreSQL をインストール <code> sudo apt install postgresql postgresql-contrib </code>  
- +  * インストールされたか確認。なんか走っている?<code>$ sudo -u postgres psql
-<code>$ sudo -u postgres psql+
 could not change directory to "/home/nestdaq": Permission denied could not change directory to "/home/nestdaq": Permission denied
 psql (14.11 (Ubuntu 14.11-0ubuntu0.22.04.1)) psql (14.11 (Ubuntu 14.11-0ubuntu0.22.04.1))
行 21: 行 20:
  
 </code> </code>
 +  * /etc/postgresql/14/main/postgresql.conf を以下のように編集。<code>$ emacs /etc/postgresql/14/main/postgresql.conf
 +# - Connection Settings -                                                       
 +
 +#listen_addresses = 'localhost'         # what IP address(es) to listen on;     
 +                                        # comma-separated list of addresses;    
 +                                        # defaults to 'localhost'; use '*' for \
 +all                                                                             
 +                                        # (change requires restart)             
 +port = 5432                             # (change requires restart) 
 +
 + | | |
 + V V V
 +
 +# - Connection Settings -                                                       
 +
 +listen_addresses = '*'          # what IP address(es) to listen on;             
 +                                        # comma-separated list of addresses;    
 +                                        # defaults to 'localhost'; use '*' for \
 +all                                                                             
 +                                        # (change requires restart)             
 +port = 5432                             # (change requires restart) 
 +</code>
 +
 +
 +
softwares/fluent_bit/fluent_bit_pgsql.1710474321.txt.gz · 最終更新: 2024/03/15 12:45 by kobayash
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0