Show Table of Contents
2.3. 必要なエンタイトルメントのサブスクライブ
Red Hat により署名されたパッケージをインストールするには、インストール先のシステムをコンテンツ配信ネットワークに登録し、自分のサブスクリプションプールからエンタイトルメントを使用して、必要なリポジトリーを有効にする必要があります。
手順2.6 サブスクリプションマネージャーを使用した必要なエンタイトルメントのサブスクライブ
- コンテンツ配信ネットワークにシステムを登録します。プロンプトが表示されたら、カスタマーポータルのユーザー名とパスワードを入力します。
# subscription-manager register
- 適切なサブスクリプションプールを特定して、プールの識別子を書き留めます。
# subscription-manager list --available
- 上記のステップで特定したプール識別子を使用して、必要なエンタイトルメントをアタッチします。
# subscription-manager attach --pool=pool_id
- 全リポジトリーを無効にするには、以下のコマンドを実行します。
# subscription-manager repos --disable=*
- 複数のリポジトリーがあるサブスクリプションプールをシステムがサブスクライブする場合は、デフォルトではメインのリポジトリーのみが有効化されます。それ以外のリポジトリーは利用可能ですが、無効化されています。リポジトリーを有効化するには、以下のコマンドを実行します。
# subscription-manager repos --enable=repository
- 現在インストールされている全パッケージを最新の状態にします。
# yum update

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.