ユーザ用ツール

サイト用ツール


serverapps:nextcloud:03.postgresql_config

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
serverapps:nextcloud:03.postgresql_config [2023/08/07 03:19] hayashiserverapps:nextcloud:03.postgresql_config [2023/08/07 03:20] (現在) hayashi
行 2: 行 2:
  
  
-===== 設定 ===== +===== rc.conf =====
-==== PostgreSQL ==== +
-=== rc.conf ===+
  
 /etc/rc.confまたは/etc/rc.conf.localに記述 /etc/rc.confまたは/etc/rc.conf.localに記述
行 18: 行 16:
   # chown postgres:postgres /usr/local/pgsql/DATA   # chown postgres:postgres /usr/local/pgsql/DATA
  
-=== 初期化 ===+===== 初期化 =====
  
  
行 57: 行 55:
 </code> </code>
  
-=== pg_hba.conf の編集 ===+===== pg_hba.conf の編集 =====
  
 外部からの接続を /usr/local/pgsql/data/pg_hba.conf に設定します((標準では自分自身からの接続のみを許可しています)) 外部からの接続を /usr/local/pgsql/data/pg_hba.conf に設定します((標準では自分自身からの接続のみを許可しています))
行 68: 行 66:
   listen_addresses = '*'   listen_addresses = '*'
  
-=== 起動 ===+===== 起動 =====
 PostgrSQLを起動 PostgrSQLを起動
   # service postgresql start   # service postgresql start
  
-=== NextCloud用設定 ===+===== NextCloud用設定 =====
  
 <code> <code>
serverapps/nextcloud/03.postgresql_config.1691378392.txt.gz · 最終更新: 2023/08/07 03:19 by hayashi