Skip to content

Latest commit

 

History

History
60 lines (34 loc) · 2.1 KB

redhat-mirror.rst

File metadata and controls

60 lines (34 loc) · 2.1 KB

Creating a Local Mirror for Red Hat Without Using a Satellite Server

You can create a local mirror of the latest updates for Red Hat Enterprise Linux without using a satellite server. How this is set up will depend on your version of Red Hat Enterprise Linux.

You can also refer to the Red Hat Knowledgebase solutions:

Red Hat 5 and 6

  1. Install Red Hat Enterprise Linux 5.0 or 6.0.
  2. Register the RH system running and register the system:

    rhn_register command
  3. Migrate your subscription tool, RHN to RHSM, execute the following two commands:
yum install subscription-manager-migration subscription-manager-migration-data
rhn-migrate-classic-to-rhsm
  1. Install your web server:

    yum install httpd
  2. Create /var/www/html/RHEL/6/X86_64/.
  3. Open port 80.
  4. Create a local mirror following the procedure described on the Red Hat Knowledgebase.
  5. Add RedHat Enterprise Linux to your AppCenter. For detailed instructions, refer to populate-rhel.

Red Hat 7

  1. Install Red Hat Enterprise Linux 7.0 as any other installation.
  2. Register and subscribe your system to the Red Hat Customer Portal using Red Hat Subscription-Manager. Run the subscription manager with the RH Custom credential:

    subscription-manager register –username –password –auto-attach
  3. Install your web server:

    yum install httpd
  4. Create /var/www/html/RHEL/6/X86_64/.
  5. Open port 80.
  6. Create a local mirror following the procedure described on the Red Hat Knowledgebase.
  7. Add RedHat Enterprise Linux to your AppCenter. For detailed instructions, refer to populate-rhel.