RHEL 8: AppStream | BasOS YUM Repository Setup | Tech Arkit

RHEL 8: AppStream | BasOS YUM Repository Setup | Tech Arkit

for more updates click on subscribe and
click on bell button for latest notifications hi friends welcome to Tech
ARKIT YouTube channel my name is Ravi in this video session we are going to
see that RHEL 8 YUM repository setup Like | Share | Comment & subscribe
so basically RHEL 6 or RHEL 7 the YUM repository is a little bit
different and the setup is different here the YUM repository setup for the
actually RHEL installation media ship with these two components which is
called AppStream repository and BaseOS repository so we have to configure them
in a little different way so that in RHEL 8 it works otherwise so if you
setup as a normal as RHEL 7 it won’t work so no app stream is used for
installing the applications and base OS is used to install the base OS
required packages on the base OS so that’s the purpose of over here so what
I’m going to do is that I am just going to create a one directory called up rpms
and I am just going to dump the entire content of my DVD repository to
this rpms okay so here if I go to /mnt so this is my DVD content repository so
in this the entire content is not required example say that the image is
iso linux all these not required efi also is not required just you have to
copy these two directories from here so one is AppStream another one base OS
so what I’m going to do here it is that I’m just going to copy this app
stream to /rpms okay so I’m just going to pass this video until this copy
done okay maybe first of all is copy this baseOS is
so it will take a small time to copy this one okay so maybe you do not put -v
and it’s a little time to copy this so the copy has been completed now you
can copy the app stream to cp -R AppStream /rpms so now both the baseOS and AppStream
are copied now let’s go to /rpms and see there are two directories
which are copied the data now what we have to do is that we have to go to the
let’s go to cd /etc/yum.repos.d/ here we have to create the dot repo
files in order to let it work of these app stream and baseOS so first of all
I am just going to create AppStream.repo or any name you can give just
just I wanted to be in identical so that’s why I say appstream repo like
this anything you can view maybe I can give like this I’ll let it be app stream
okay so the name you can give anything over here “App Stream Repo” something
like this can be I want quotations here because I have some
space here base URL so here I’m just going to give the base URL as file:///rpms/AppStream so this is what my directory name is and
enabled equal to one GPG check equal to zero so if GPG check is equal to one then
you have to specify the path name so I’m just copying this app streams as baseOS
is that dot repo now I’m just going to edit this baseos.repo
file so here I just have to change this path of the appstream to baseOS so
that work for us so here I just have to change the path to baseOS
so now here the name is BaseOS Repo that’s it
so first of all I have to verify that whether it is correct or not the path is
so app stream and baseOS always so now we can cat it the computation files yum dot ‘
and base OS and you can see that’s correct rpms and you can just see that
appstream appstream is also correct so now first of all clean this all the before
repository on the stuff okay now the YUM DB will be cleaned up now type
yum repolist repo list so just going to give you
the repo list so app stream repo and baseOS repo so both the repos it’s going
to it’s working fine so in order to register your the all the packages what
you have to do is rpm – – import and give the this release red hat release so
that it won’t ask you whenever you install that is it gives you a error that
this package is not licensed something like that so in order to avoid that from
the media there is a file called red hat hyphon release read that GPG key this
you have to import that so that the error will be avoided that’s about it
guys setting up your RHEL repository appstream and BaseOS so if you want to install any package you can just install
it so it’s working fine maybe you can say yes so the HTTP is going to be
installed on this machine that’s how the that about it guys thanks
for watching stay tuned please subscribe to the channel for more upcoming videos
and courses do not miss the comment section where I have provided this
upgrade to RHEL 8 Course URL and you can click on that URL and see
all of this upgrade to RHEL 8 Video course content please follow us on
social networking site if you have any technical related questions you can ask

Daniel Ostrander

Related Posts

4 thoughts on “RHEL 8: AppStream | BasOS YUM Repository Setup | Tech Arkit


    bro its look like in redhat 7. i didnt find any new in this condiguration.. i only see Extra two folders Appstram,BaseOs instead of packages folder.. BaseOs is default in redhat 7. in redgat 7 we need to register subcribition. please correct if am wrong

  2. Srikanth Bhaee says:

    little bit new thing thanks for your knowledge sharing………..!!!!!!!!!

  3. Da ta K says:

    I am preparing for rhcsa exam, I wants to know if Ldap, autofs are part of rhcsa rhel8 exam ?

  4. Galli Harish says:

    Hi I have followed your procedure to create a local repository in RHEL8 but when i execute the command "yum repolist" iam getting error "Failed to synchronize cache for repo 'AppStream' , ignoring this repo". Same is the error for BaseOS. How can I proceed?? Please let me know

Leave a Reply

Your email address will not be published. Required fields are marked *