It should look like the following if no other repository is enabled. Name=DVD for Red Hat Enterprise Linux 7.9 ServerĬlear the cache and check whether you can get the packages list from the DVD repo # yum clean all In the end, the new repo file could look like the following Gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release # chmod 644 /etc//rhel7dvd.repoĮdit the new repo file, changing the gpgcheck=0 setting to 1 and adding the following 3 lines vi /etc//rhel7dvd.repo # mkdir -p /mnt/discĬopy the media.repo file from the root of the mounted directory to /etc// and set the permissions to 0644 or another similar permissions set: # cp /mnt/disc/media.repo /etc//rhel7dvd.repo If you use DVD media, you can mount like below. Mount the RHEL installation ISO to a directory like /mnt/disc, e.g.: # mkdir -p /mnt/disc Once you have downloaded a DVD version of your chosen Rhel Version and copied it over to a location on your server.How do I create a local repository in RHEL 7?.Way to update the packages on server, with no satellite server and servers disconnected from internet.Have a secure environment that will never be connected to the internet, but still needs to be updated.Would like to upgrade server from RHEL 7.x to RHEL 7.y.How to set up yum repository to use locally-mounted DVD with Red Hat Enterprise Linux (RHEL) 7.Red Hat JBoss Enterprise Application Platform.Red Hat Advanced Cluster Management for Kubernetes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |