How to Create local Yum Repository using ISO file in Linux

preview_player
Показать описание
!!! How to Create the local Yum Repository in Linux !!!!!!

Step 1: Make a directory under /data

# mkdir -p /data/iso

Step 2: Choose your ISO OS image and Mount in /data/iso location

Step 3: Go the yum repo location

Add the following details.

[local]
name=Local Repository
enabled=1
gpgcheck=0

Step 4: Clear the repository cache by issuing the following command.

# yum clean all

Step 5: Check the repository
# yum repolist all

Step 6: Let’s install the vsftpd package from the local repository.

# yum install vsftpd

~~~~~~~~~~~~~~~END~~~~~~~~~~~~~~
Рекомендации по теме