第4章 Directory Server の更新
Red Hat は Red Hat Directory Server 11 の更新バージョンを頻繁にリリースします。本セクションでは、Directory Server パッケージを更新する方法を説明します。
代わりに Red Hat Directory Server 10 をバージョン 11 に移行する場合は、5章Directory Server 10 から Directory Server 11 への移行を参照してください。
前提条件
- サーバーに Red Hat Directory Server 11 がインストールされている。
- 更新するシステムは、Red Hat サブスクリプション管理サービスに登録されています。
- 有効な Red Hat Directory Server サブスクリプションがサーバーに割り当てられている。
4.1. Directory Server パッケージの更新 リンクのコピーリンクがクリップボードにコピーされました!
dnf ユーティリティーを使用してモジュールを更新します。これにより、関連するパッケージも自動的に更新されます。次の手順では、Directory Server をバージョン 12.3 から 12.4 に更新します。
Directory Server 12.3 リポジトリーを無効にします。
subscription-manager repos --disable dirsrv-11.8-for-rhel-8-x86_64-rpms
# subscription-manager repos --disable dirsrv-11.8-for-rhel-8-x86_64-rpms Repository 'dirsrv-11.8-for-rhel-8-x86_64-rpms' is disabled for this system.Copy to Clipboard Copied! Toggle word wrap Toggle overflow Directory Server 12.4 リポジトリーを有効にします。
subscription-manager repos --enable=dirsrv-11.9-for-rhel-8-x86_64-rpms
# subscription-manager repos --enable=dirsrv-11.9-for-rhel-8-x86_64-rpms Repository 'dirsrv-11.9-for-rhel-8-x86_64-rpms' is enabled for this system.Copy to Clipboard Copied! Toggle word wrap Toggle overflow Directory Server パッケージを更新します。
yum module update redhat-ds
# yum module update redhat-dsCopy to Clipboard Copied! Toggle word wrap Toggle overflow このコマンドは、Directory Server パッケージとその依存関係をバージョン 11.9 に更新します。
更新時に、dirsrv サービスはサーバー上のすべてのインスタンスに対して自動的に再起動します。
関連情報
- 利用可能な Directory Server リポジトリーの詳細は、有効にする必要がある Red Hat リポジトリーの名前は何ですか? を参照してください。