RHEL 6.4 adds a CD to Yum repo.

Source: Internet
Author: User

RHEL 6.4 adds a CD to Yum repo.

 

Version

LSB version: base-4.0-amd64: base-4.0-noarch: core-4.0-amd64: core-4.0-noarch: graphics-4.0-amd64: graphics-4.0-noarch: printing-4.0-amd64: printing-4.0-noarch:
Distributor ID: redhatenterpriseserver
Description: Red Hat Enterprise Linux Server Release 6.4 (Santiago)
Release: 6.4
Codename: Santiago

 

 

By default, the GPG is not checked.
========================
[[Email protected] yum. Repos. d] # Cat/etc/yum. conf
[Main]
Cachedir =/var/Cache/Yum/$ basearch/$ releasever
Keepcache = 0
Debuglevel = 2
Logfile =/var/log/yum. Log
Exactarch = 1
Obsoletes = 1
Gpgcheck = 0
Plugins = 1
Installonly_limit = 3

Add File
========
[[Email protected] yum. Repos. d] # pwd
/Etc/yum. Repos. d
[[Email protected] yum. Repos. d] # Cat CDROM. Repo
[Redhatyumcdrom]
Name = CDROM
Baseurl = file: // MNT/Server/
Enabled = 1
Gpgcheck = 0
[[Email protected] yum. Repos. d] #


Attach a CD to MNT
==================
Mount/dev/CDROM/mnt
Check for effectiveness
==============
[[Email protected] yum. Repos. d] # Yum list

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.