Tuesday, 26 November 2019

How to create Local Repo on RHEL 8

How to create local repo on rhel 8 

Types of local repo in rehel8
  • AppStream 
  • BaseOS 
AppStream : AppStream Repository will have all remaining packages like vim, PostgreSQL, MariaDB, Maven, Bind, LibreOffice and all other application and OS related dependencies under /mnt/AppStream/Packages.
BaseOS : BaseOS Repository will contain packages like OS installation packages (Core Packages), Administrative tools packages and their dependencies. You can navigate to location /mnt/BaseOS/Packages to have a look.

 There is a little bit differ from rhel 6 and rhel7.

Firstly, you have to mount your rhel 8 iso into mnt.



 After that add repo configuration file in /etc/yum.repo.d/local.repo.


Edit in local.repo.



After that yum clean all and yum repolist all to update your repository database.

Phone Myint Myat Zaw
27.11.2019 1:11PM 


No comments:

Post a Comment