How to Configure Local Yum Repository in Linux RHEL 7

preview_player
Показать описание
Configure Local Yum Repository in RHEL 7
---------------------------------------------------------------------------------------------------------------
Hello Guys,

Today in this video I shall guide you to configure local yum repository in RHEL7. Please post your queries in comment section, free to clear your doubts.

Steps to configure local Yum Repository in RHEL 7

Now write the below-mentioned lines in the above file and save it.

[localrepo]
name=localrepo
gpgcheck=0
enabled=1

Now clean yum cache
# yum clean all

Now check if your newly created local repository is working or not. Run below command and see the output whether if shows packages or not.

# yum repolist

Now you can install packages.
# yum install -y xclock

you have configured the local yum repository successfully.

Thanks for watching.
Рекомендации по теме