Yum Configuration Redhat Linux 8 - Command Line

=> Create Directory 

=> #mkdir /yum

=> Insert DVD 

=> Check DVD Path

=> #df -h

=> Go To dvd directory 
=> #cd /run/media/server/RHEL-8-3-0-BaseOS-x86_64
=> Check dvd data 
=> #ls

=> Copy "AppStream" directory and "BaseOS" Directory 
=> #cp -R BaseOS /yum/
=> #cp -R AppStream /yum/
=> Go To created Directory and Check data
=> #cd /yum
=> Go To "yum.repos.d" directory
=> #cd /etc/yum.repos.d/
=> Create a appstream.repo and baseos.repo file 
=> #vi appstream.repo

Save and exit.
=> #vi baseos.repo
=> Check yum list
=> #yum list

=> Now you can install any services using yum.

Now yum installed.

Comments

Popular posts from this blog

How to configure Mail Server in Redhat Linux

interview Questions on User Management in Linux