データベースサーバー

PostgreSQLユーザーのパスワードの設定

# passwd postgres

データベースサーバーを起動時に有効にする

# ntsysv で設定。

データベースの初期化

Webmin -> PostgreSQL データベースサーバ
Initialize Databaseをクリック

postgres でログイン

ユーザーの追加

PostgreSQL ユーザ -> 新規ユーザを作成 で、作成。

データベースの作成

新規データベースの作成から実行しようとすると、
Warning: The Perl modules DBI and DBD::Pg are not installed on your system, so Webmin will not be able to reliably access your PostgreSQL database. Click here to install them now.
とでるので、 Click here をクリックすると自動的にモジュールがインストールされた。

スポンサード リンク

トラックバック

トラックバックURL
https://linux-life.net/tb/vine/server/setting/postgresql/
Linux Life 〜 No linux, No life 〜
Vine Linux > サーバー > 各種設定 > データベースサーバー