HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How to Configure Offline YUM Repository on RHEL7 / CentOS7

9,640 views October 27, 2018 5:47

Watch on YouTube
ChannelInfoTech Computer Academy

Description from the creator

#sahaseeb #infotechca #linux
infotechca.com

0. First insert your CentOS7 DVD
1. su (type your root password)
2. mount /dev/cdrom /mnt
3. mkdir /yum
4. cp -av /mnt/* /yum
5. cd /etc/yum.repo.d/
6. vi local.repo
[InfoTechLocalRepository]
name=InfoTech Local Repository
baseurl=file:///yum
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
7. yum-config-manager --disable \*
8. yum-config-manager --enable InfoTechLocalRepository
7. yum clean all
8. yum repolist
9. createrepo -v /yum
10. yum install tree

About this tutorial

InfoTech Computer Academy published this 5:47 video tutorial on October 27, 2018. It has been watched 9,640 times on YouTube.

Category
Education
Duration
5:47
Published
October 27, 2018
Views
9,640
Likes
58

Share

This tutorial in other languages