Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Local YUM Repository for RHEL versions

    Posted on

    Hello,

    I need to know regarding setting up of Local repositories so that I can update or install packages on other RHEL servers.

    In our environment we have many servers with different RHEL versions.

    Like RHEL 7.2, RHEL 7.3, RHEL 7.4, RHEL 7.5
    Arch = x86_64

    I have setup one Repo server;

    Installed RHEL 7.2 on it
    Registered via subsscription-manager
    Created REPOSITORY (creatrepo) with folder name RHEL7.2
    Copied RHEL 7.2 dvd contents in it
    Using http to install updates in another server with same version of 7.2 from this repo server. And it is working ok.

    My question is;

    For installing/updating packages on other servers with different versions like RHEL 7.3, 7.4, 7.5;

    Do I need to create a separate REPO server for each version
    e.g.
    One RHEL 7.3 repo server for all RHEL 7.3 clients
    One RHEL 7.4 repo server for all RHEL 7.4 clients
    One RHEL 7.5 repo server for all RHEL 7.5 clients

    OR

    I can simply create another folder repository in the RHEL 7.2 server that I am already using as repo server and use this for other version clients
    e.g.
    1 RHEL 7.2 server having below repo folders for each version;
    /var/www/html/rhel7/rhel7.2
    /var/www/html/rhel7/rhel7.3
    /var/www/html/rhel7/rhel7.4
    /var/www/html/rhel7/rhel7.5

    Thanks

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat