2.3. インタラクティブインストーラーを使用したインスタンスの作成
本セクションでは、対話型インストーラーを使用して、新しい Directory Server インスタンスを作成する方法を説明します。
手順
対話型インストーラーを起動します。
# dscreate interactive
対話型インストーラーの質問に答えます。
インストーラーのほとんどの質問の後ろにある角括弧内に表示されるデフォルト値を使用するには、値を入力せずに Enter キーを押します。
Install Directory Server (interactive mode) =========================================== Enter system's hostname [server.example.com]: Enter the instance name [server]: instance_name Enter port number [389]: Create self-signed certificate database [yes]: Enter secure port number [636]: Enter Directory Manager DN [cn=Directory Manager]: Enter the Directory Manager password: password Confirm the Directory Manager Password: password Enter the database suffix (or enter "none" to skip) [dc=server,dc=example,dc=com]: dc=example,dc=com Create sample entries in the suffix [no]: Create just the top suffix entry [no]: yes Do you want to start the instance after the installation? [yes]: Are you ready to install? [no]: yes
注記クリアテキストでパスワードを設定する代わりに、
pwdhash
ユーティリティーで生成された{algorithm}hash
文字列を設定できます。ファイアウォールで必要なポートを開きます。
# firewall-cmd --permanent --add-port={389/tcp,636/tcp}
ファイアウォール設定を再読み込みします。
# firewall-cmd --reload