第9章 Red Hat リポジトリーの作成および同期

9.1. リポジトリーの作成

手順

  1. Red Hat Update Centre (RHUA) で、Red Hat Update Infrastructure Management Tool にログインします。

    [root@rhua ~]# rhui-manager
  2. Red Hat Update Infrastructure Management Tool のホーム画面で r を押して、manage repositories を選択します。

                 -= Red Hat Update Infrastructure Management Tool =-
    
    -= Home =-
    
       r   manage repositories
       c   manage content delivery servers (CDS)
       l   manage HAProxy load-balancer instances
       s   synchronization status and scheduling
       e   create entitlement certificates and client configuration RPMs
       n   manage Red Hat entitlement certificates
       u   upload content to a custom repository (RPM content only)
       ur  upload content from a remote web site (RPM content only)
       p   list packages in a repository (RPM content only)
    
    Connected: rhua.example.com
  3. a を押して、add a new Red Hat content repository を選択します。

    ----------------------------------------------------------------------------------
            	-= Red Hat Update Infrastructure Management Tool =-
    
    = Repository Management =-
    
    l   list repositories currently managed by the RHUI
    i   display detailed information on a repository
    a   add a new Red Hat content repository
    c   create a new custom repository (RPM content only)
    d   delete a repository from the RHUI
    u   upload content to a custom repository (RPM content only)
    ur  upload content from a remote web site (RPM content only)
    p   list packages in a repository (RPM content only)
    
    Connected: rhua.example.com
    ------------------------------------------------------------------------------
    
    rhui (repo) => a
  4. Red Hat Update Infrastructure Management Tool がエンタイトルメントのあるリポジトリーを判断するのを待ちます。これは数分の時間がかかる可能性があります。

    Connected: rhua.example.com
    
    ------------------------------------------------------------------------------
    
    rhui (repo) => a
    
    Loading latest entitled products from Red Hat...
    
    Determining undeployed products...
  5. Red Hat Update Infrastructure Management Tool は、選択方法を求めるプロンプトを表示します。

    ... product list calculated
    
    Import Repositories:
    
    1  - All in Certificate
    2  - By Product
    3  - By Repository
    
    Enter value (1-3) or 'b' to abort:
  6. 2 を押して、By Product メソッドを選択します。
  7. 追加する各リポジトリーの横にある番号を入力して、RHUA に Red Hat リポジトリーを追加します。表示されるリポジトリーは、エンタイトルメント証明書に含まれるが、まだ追加されていない Red Hat リポジトリーのみです。
  8. リポジトリーの選択が終了したら c を押します。Red Hat Update Infrastructure Management Tool は、デプロイするリポジトリーを表示し、確認を求めるプロンプトを表示します。
  9. y を押して先に進みます。画面メッセージは、デプロイメントが成功したたびに表示されます。
  10. l を押して RHUI 画面で現在管理されているリストリポジトリー にアクセスして、正しいリポジトリーがインストールされていることを確認します。