Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • YUM Repository NFS

    Posted on

    I created a repository on NFS to update my machines without internet access, is already working with RHEL5 and RHEL6 but with RHEL7'm in trouble, follows the configuration of my repo:

    RHEL 5:

    [rhel-myrepo]
    name=My Red Hat Enterprise Linux $releasever - $basearch
    baseurl=http://rhelrepo.ymdb.com.br/repo/rhel-x86_64-server-5/
    enabled=1
    gpgcheck=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    [root@yspp1060 ~]# yum repolist
    Loaded plugins: security
    repo id repo name status
    rhel-myrepo My Red Hat Enterprise Linux 5Server - x86_64 16,995
    repolist: 16,995

    RHEL 6:

    [rhel-myrepo]
    name=My Red Hat Enterprise Linux $releasever - $basearch
    baseurl=http://rhelrepo.ymdb.com.br/repo/rhel-x86_64-server-6/
    enabled=1
    gpgcheck=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    [root@yamaha77 ~]# yum repolist
    repo id repo name status
    rhel-myrepo My Red Hat Enterprise Linux 6Server - x86_64 16,610
    repolist: 16,610

    RHEL 7:

    [rhel-repo_7]
    name=My Red Hat Enterprise Linux $releasever - $basearch
    baseurl=http://rhelrepo.ymdb.com.br/repo/rhel-x86_64-server-7/
    enabled=1
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

    [root@yspxx yum.repos.d]# yum repolist
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
    repo id repo name status
    rhel-repo_7 My Red Hat Enterprise Linux 7Server - x86_64 0
    repolist: 0


    Not pulling my local repository on RHEL 7. The following structure of my repository server:

    drwxr-xr-x 3 root root 4.0K May 18 2015 rhel-myrepo
    drwxr-xr-x 4 root root 4.0K May 22 2015 zabbix
    drwx------ 2 root root 16K May 26 2015 lost+found
    -rwxrwxrwx 1 root root 213 Feb 24 14:50 myrepo6_x64.repo
    -rwxrwxrwx 1 root root 213 Feb 24 14:55 myrepo5_x64.repo
    -rwxrwxrwx 1 root root 213 Feb 25 11:27 myrepo7_x64.repo
    drwxr-xr-x 4 root root 4.0K Feb 26 04:17 rhel-x86_64-server-6
    drwxr-xr-x 4 root root 4.0K Feb 26 05:00 rhel-x86_64-server-5
    drwxr-xr-x 3 root root 4.0K Feb 26 10:00 rhel-7-server-rpms
    drwxr-xr-x 3 root root 4.0K Feb 26 10:04 rhel-x86_64-server-7

    What could be happening?

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat