How to Configure Offline YUM Repository on RHEL7 / CentOS7

preview_player
Показать описание
#sahaseeb #infotechca #linux

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
[InfoTechLocalRepository]
name=InfoTech Local Repository
enabled=1
gpgcheck=1
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
Рекомендации по теме
Комментарии
Автор

Thanks for the video but i got stuck on yum-config-disable command dosent works on since its minimal installation any solution for it.

manojkc
Автор

Thanks bro your video resolve my issue

tusharparab
Автор

hallo i have problem with mount ..Problem ist ´=>Mount no medium found on /dev/sr0 what is mean?? thnx

houriazed