文書の過去の版を表示しています。


Fluent Bit + PostgreSQL

  • Ubuntu MATE 22.04 LTS にインストール

PostgreSQL インストール

  • 参考: PostgreSQL を Ubuntu に普通にインストール https://qiita.com/nanbuwks/items/846cf3536a82a2798555
  • apt コマンドで PostgreSQL をインストール
     sudo apt install postgresql postgresql-contrib 
  • インストールされたか確認。なんか走っている?
    $ 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
    $ 
  • /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>

</code>

softwares/fluent_bit/fluent_bit_pgsql.1710474588.txt.gz · 最終更新: 2024/03/15 12:49 by kobayash
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0