差分

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

この比較画面へのリンク

次のリビジョン
前のリビジョン
softwares:fluent_bit:fluent_bit_pgsql [2024/03/15 12:41] – 作成 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 
 +could not change directory to "/home/nestdaq": Permission denied 
 +psql (14.11 (Ubuntu 14.11-0ubuntu0.22.04.1)) 
 +Type "help" for help. 
 + 
 +postgres=# select version(); 
 +                                                                version                                                                  
 +---------------------------------------------------------------------------------------------------------------------------------------- 
 + PostgreSQL 14.11 (Ubuntu 14.11-0ubuntu0.22.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, 64-bit 
 +(1 row) 
 + 
 +< q でコマンドプロンプト的なところに戻る > 
 +postgres-# \q 
 +$  
 +</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.1710474087.txt.gz · 最終更新: 2024/03/15 12:41 by kobayash
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0