No.2398
0
回数0
優先度0
発生日2025/02/12
仮完了
完了日
期限
タイトルPostgreSQL を Ubuntu に普通にインストール
サブタイトル
内容
sudo apt install postgresql postgresql-contrib
sudo -u postgres psql
select version();
show LC_COLLATE;
ALTER ROLE postgres WITH password 'hogehoge';
/etc/postgresql/14/main/postgresql.conf を編集する。

# - Connection Settings -

#listen_addresses = 'localhost' # what IP address(es) to listen on;
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)
/etc/postgresql/14/main/pg_hba.confを編集する。
host all all 192.168.42.0/24 md5
host all all 192.168.1.0/24 md5
sudo systemctl restart postgresql.service

区分
ステータス
中区分業務
小区分
発生元
発生元担当
対応
対応2
連絡先
対応者新実
URLhttps://qiita.com/nanbuwks/items/846cf3536a82a2798555
0
大区分todo
0
登録日2025-02-12 10:59:53
最終アクセス日2025-02-12 10:59:53
更新日2025-02-12 10:59:53