Skip to main content
日本語は機械翻訳による参考訳です。内容に矛盾や不一致があった場合には、英語の内容が優先されます。

リポジトリへのアクセスを有効にします

共同作成者

インストールプロセス中にONTAP メディエーターが必要なパッケージにアクセスできるように、リポジトリへのアクセスを有効にする必要があります

手順
  1. 次の表に示すように、アクセスする必要があるリポジトリを決定します。

    オペレーティングシステム

    リポジトリへのアクセスを指定する必要があります …​

    RHEL 7.x

    • rhel-7-server-optional-rpms のいずれかです

    RHEL 8.x の場合

    • RHEL-8-For x86_64-baseos-RPMs

    • RHEL-8-For x86_64-AppStream-RPMs

    RHEL 9.x

    • rhel-9-for-x86_64-baseos-rpms

    • RHEL-9-FOR-x86_64-AppStream-RPM

    CentOS 7.x

    • C7.6.1810 - ベースリポジトリ

    Rocky Linux 8

    • AppStreamの略

    • ベースオス

    Rocky Linux 9

    • AppStreamの略

    • ベースオス

  2. インストールプロセス中にONTAP メディエーターが必要なパッケージにアクセスできるように、上記のリポジトリへのアクセスを有効にするには、次のいずれかの手順を実行します。

RHEL 7.x オペレーティングシステム用の手順

オペレーティングシステムが* RHEL 7.x *の場合は、次の手順 を使用してリポジトリへのアクセスを有効にします。

手順
  1. 必要なリポジトリに登録します。

    subscription-manager repos --enable rhel-7-server-optional-rpms

    次の例は、このコマンドの実行例を示しています。

    [root@localhost ~]# subscription-manager repos --enable rhel-7-server-optional-rpms
    Repository 'rhel-7-server-optional-rpms' is enabled for this system.
  2. を実行します yum repolist コマンドを実行します

    次の例は、このコマンドの実行例を示しています。rhel-7-server-optional-rpms リポジトリがリストに表示されている必要があります。

    [root@localhost ~]# yum repolist
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    rhel-7-server-optional-rpms | 3.2 kB  00:00:00
    rhel-7-server-rpms | 3.5 kB  00:00:00
    (1/3): rhel-7-server-optional-rpms/7Server/x86_64/group              |  26 kB  00:00:00
    (2/3): rhel-7-server-optional-rpms/7Server/x86_64/updateinfo         | 2.5 MB  00:00:00
    (3/3): rhel-7-server-optional-rpms/7Server/x86_64/primary_db         | 8.3 MB  00:00:01
    repo id                                      repo name                                             status
    rhel-7-server-optional-rpms/7Server/x86_64   Red Hat Enterprise Linux 7 Server - Optional (RPMs)   19,447
    rhel-7-server-rpms/7Server/x86_64            Red Hat Enterprise Linux 7 Server (RPMs)              26,758
    repolist: 46,205
    [root@localhost ~]#
RHEL 8.xオペレーティングシステム用手順

オペレーティングシステムが* RHEL 8.x *の場合は、次の手順を使用してリポジトリへのアクセスを有効にします。

手順
  1. 必要なリポジトリに登録します。

    subscription-manager repos --enable rhel-8-for-x86_64-baseos-rpms

    subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms

    次の例は、このコマンドの実行例を示しています。

    [root@localhost ~]# subscription-manager repos --enable rhel-8-for-x86_64-baseos-rpms
    Repository 'rhel-8-for-x86_64-baseos-rpms' is enabled for this system.
    [root@localhost ~]# subscription-manager repos --enable rhel-8-for-x86_64-appstream-rpms
    Repository 'rhel-8-for-x86_64-appstream-rpms' is enabled for this system.
  2. を実行します yum repolist コマンドを実行します

    新しくサブスクライブしたリポジトリがリストに表示されます。

RHEL 9.xオペレーティングシステム用手順

オペレーティングシステムが* RHEL 9.x *の場合は、次の手順 を使用してリポジトリへのアクセスを有効にします。

手順
  1. 必要なリポジトリに登録します。

    subscription-manager repos --enable rhel-9-for-x86_64-baseos-rpms

    subscription-manager repos --enable rhel-9-for-x86_64-appstream-rpms

    次の例は、このコマンドの実行例を示しています。

    [root@localhost ~]# subscription-manager repos --enable rhel-9-for-x86_64-baseos-rpms
    Repository 'rhel-9-for-x86_64-baseos-rpms' is enabled for this system.
    [root@localhost ~]# subscription-manager repos --enable rhel-9-for-x86_64-appstream-rpms
    Repository 'rhel-9-for-x86_64-appstream-rpms' is enabled for this system.
  2. を実行します yum repolist コマンドを実行します

    新しくサブスクライブしたリポジトリがリストに表示されます。

CentOS 7.x オペレーティングシステムの手順

オペレーティングシステムが* CentOS 7.x *の場合、次の手順 を使用してリポジトリへのアクセスを有効にします。

メモ 以下の例はCentOS 7.6のリポジトリを示していますが、他のバージョンのCentOSでは機能しない可能性があります。使用しているCentOSのバージョンにはベースリポジトリを使用してください。
手順
  1. C7.6.1810 ベースリポジトリを追加します。C7.6.1810 - Baseヴォールトリポジトリには、ONTAP メディエーターに必要な"kernel-devel"パッケージが含まれています。

  2. 次の行を /etc/yum.repos_d/Center-Vault.repo に追加します。

    [C7.6.1810-base]
    name=CentOS-7.6.1810 - Base
    baseurl=http://vault.centos.org/7.6.1810/os/$basearch/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
    enabled=1
  3. を実行します yum repolist コマンドを実行します

    次の例は、このコマンドの実行例を示しています。CentOS-7.6.1810 ベースリポジトリがリストに表示されます。

    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: distro.ibiblio.org
     * extras: distro.ibiblio.org
     * updates: ewr.edge.kernel.org
    C7.6.1810-base                                 | 3.6 kB  00:00:00
    (1/2): C7.6.1810-base/x86_64/group_gz          | 166 kB  00:00:00
    (2/2): C7.6.1810-base/x86_64/primary_db        | 6.0 MB  00:00:04
    repo id                      repo name               status
    C7.6.1810-base/x86_64        CentOS-7.6.1810 - Base  10,019
    base/7/x86_64                CentOS-7 - Base         10,097
    extras/7/x86_64              CentOS-7 - Extras       307
    updates/7/x86_64             CentOS-7 - Updates      1,010
    repolist: 21,433
    [root@localhost ~]#
Rocky Linux 8または9オペレーティングシステム用の手順

この手順 は、オペレーティング・システムが* Rocky Linux 8*または* Rocky Linux 9*の場合に使用して、リポジトリへのアクセスを有効にします。

手順
  1. 必要なリポジトリにサブスクライブします。

    dnf config-manager --set-enabled baseos

    dnf config-manager --set-enabled appstream

  2. を実行します clean 操作:

    dnf clean all

  3. リポジトリのリストを確認します。

    dnf repolist

[root@localhost ~]# dnf config-manager --set-enabled baseos
[root@localhost ~]# dnf config-manager --set-enabled appstream
[root@localhost ~]# dnf clean all
[root@localhost ~]# dnf repolist
repo id                        repo name
appstream                      Rocky Linux 8 - AppStream
baseos                         Rocky Linux 8 - BaseOS
[root@localhost ~]#
[root@localhost ~]# dnf config-manager --set-enabled baseos
[root@localhost ~]# dnf config-manager --set-enabled appstream
[root@localhost ~]# dnf clean all
[root@localhost ~]# dnf repolist
repo id                        repo name
appstream                      Rocky Linux 9 - AppStream
baseos                         Rocky Linux 9 - BaseOS
[root@localhost ~]#