CentOS 7 Tutorial - How to Create local DVD YUM Repository

Channel:
Subscribers:
5,740
Published on ● Video Link: https://www.youtube.com/watch?v=hQPTQFMx3cc



Category:
Tutorial
Duration: 10:30
866 views
7


In this video we are going to see how to create local DVD yum repository using the available CentOS 7 DVD iso file.
First step is we need to mount the DVD permanently in /media/mount_directory_name.
Second step is under /etc/yum.repos.d, we need to create one .repo or you can modify the available .repo file
and add the entries like this.

[LocalRepo] = Repository ID
name = Name of the repository
baseurl = Location of DVD Mount
Enabled = Enable repository
gpgcheck = Enable secure installation
gpgkey = Location of the key

After that save the .repo file and execute the below commands to check DVD yum repository is available or not.
yum clean all --- will clear the cache.
yum repolist -v --- lists the repositories available after clearing cache.
yum list --- will list down the packages or rpms available in the DVD.
yum install httpd --- To test I will be installing httpd server using this command.




Other Videos By java frm


2019-08-19Amazon Corretto 11 JDK Installation on Windows 10 with JAVA_HOME Environment Variable
2019-08-19Tomcat 9 Installation using AdoptOpenJDK 8 and AdoptOpenJDK 11 LTS on Windows 10
2019-08-19Tomcat 8.5 Installation using AdoptOpenJDK 8 and AdoptOpenJDK 11 LTS on Windows 10
2019-08-19WildFly 17 Installation using AdoptOpenJDK 8 and AdoptOpenJDK 11 LTS on Windows 10
2019-08-19AdoptOpenJDK 11 Installation on Windows 10 with JAVA_HOME Environment Variable | Eclipse OpenJ9 JVM
2019-08-19AdoptOpenJDK 12 Installation on Windows 10 with JAVA_HOME Environment Variable | Eclipse OpenJ9 JVM
2019-08-19AdoptOpenJDK 8 Installation on Windows 10 with JAVA_HOME Environment Variable | Eclipse OpenJ9 JVM
2019-08-04CentOS 7 Tutorial - How to Display Welcome Message in Terminal after login
2019-08-04Oracle Linux 7 Tutorial - How to Display Welcome Message in Terminal after login
2019-08-04Redhat Enterprise Linux 7 Tutorial - How to Display Welcome Message in Terminal after login
2019-08-04CentOS 7 Tutorial - How to Create local DVD YUM Repository
2019-08-04CentOS 7 Tutorial - How to Change the font and fontsize in Terminal
2019-08-04CentOS 7 Tutorial - How to Mount CentOS DVD ISO Permanently
2019-08-04CentOS 7 Tutorial - How to Mount CentOS DVD ISO temporarily
2019-08-04Redhat Enterprise Linux 7 Tutorial - How to Mount RHEL DVD ISO temporarily
2019-08-04Redhat Enterprise Linux 7 Tutorial - How to Change the font and fontsize in Terminal
2019-08-04Redhat Enterprise Linux 7 Tutorial - How to Mount RHEL DVD ISO Permanently
2019-08-04Oracle Linux 7 Tutorial - How to Change the font and fontsize in Terminal
2019-08-04Oracle Linux 7 Tutorial - How to Mount Oracle Linux DVD ISO Permanently
2019-08-04Oracle Linux 7 Tutorial - How to Mount Oracle Linux DVD ISO temporarily
2019-07-27LibreOffice Calc Tutorial - replace Function | LibreOffice 6 Calc



Tags:
how to create local dvd yum repository on centos 7
how to create local yum repository on centos 7 using dvd
create local yum repository with dvd
set up yum repository for locally mounted dvd
how to create a local repository in centos 7
how to mount the centos 7 iso as a yum repository
mount centos dvd iso
centos 7 administration
centos 7 tutorial
centos 7 videos
centos 7 tips and tricks
centos yum repository