


Remi-safe Safe Remi's RPM repository for Enterprise Linux 7 - x86_64 3,343 Remi-php73 Remi's PHP 7.3 RPM repository for Enterprise Linux 7 - x86_64 312 *epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,216 Loading mirror speeds from cached hostfileĮxtras:. Now we can check our repository list using below command:- ~]# yum repolist ~]# yum clean allĬleaning repos: CentOS7 base epel extras remi-php73 remi-safe updatesĬleaning up list of fastest ~]# How to check repository list? Like below:- ~]# cat ~]# How to clean repository list?Īfter the file creation we need to be clean our repository list using below command. We can go to /etc// directory and create a centos7.repo with this content.

Now we need to be create repository file. You can see in above our /mnt drive has been successfully mounted.

We can check our /mnt drive is mounted our not using df -h like below: – ~]# df -hįilesystem Size Used Avail Use% Mounted on Mount: /dev/loop0 is write-protected, mounting ~]# ~]# mount -o loop CentOS-7-x86_6.iso /mnt We can use below command to mount this ISO file. Now we need to be mount this ISO in /mnt directory. You can see here I have copied my ISO image on home directory. So let’s start step by step process to create local repository in CentOS 7.įirst all we need to be copy our ISO image on our server. How to install packages with yum tool using local repository? In this tutorial we will cover this below topics: – I will see you step by step commands and process, so that you can easily create a local repository in your server when you need it.Īs you know some time we don’t have internet connection and we need to up-grade some packages or we need to install some packages then we can create a local repository using ISO image and we can install and up-grade package using yum tool. Dear friend, Today we will see how to create a local repository using a ISO in CentOS 7.
