ユーザ用ツール

サイト用ツール


serverapps:db:postgresql

差分

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

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
serverapps:db:postgresql [2023/07/28 10:52] – [/etc/rc.conf] hayashiserverapps:db:postgresql [2025/05/09 08:34] (現在) – [/etc/rc.conf.d/postgrsql] hayashi
行 1: 行 1:
 ====== PostgreSQL ====== ====== PostgreSQL ======
 ===== インストール ===== ===== インストール =====
-  # pkg install postgresql10-server+  # pkg install postgresql16-server
      
-===== /etc/rc.conf =====+===== /etc/rc.conf.d/postgresql =====
  
   postgresql_enable="YES"   postgresql_enable="YES"
-  postgresql_data="/usr/local/pgsql/DATA"+  postgresql_data="/usr/local/pgsql/data"
  
 ===== 初期化 ===== ===== 初期化 =====
行 50: 行 50:
  
 -d -d
-====  ==== 
 データベースの作成を許可 データベースの作成を許可
-=====  ===== 
  
 -P -P
-====  ==== 
 パスワード入力プロンプトを表示 パスワード入力プロンプトを表示
-=====  ===== 
  
 または、psqlの中で または、psqlの中で
serverapps/db/postgresql.1690541560.txt.gz · 最終更新: by hayashi