Configuring Yum in VMware to update software from the local CD

Source: Internet
Author: User
Tags gpg

1. Reference

Http://www.cnblogs.com/chinacloud/archive/2010/11/25/1887588.html

Http://blog.sina.com.cn/s/blog_85eca87301019y9v.html

2. Environment

vm9.0

Rhel-server-6.0-x86_64-dvd.iso

Vmare Tools is installed

The optical drive is set and the disc is inserted.

3. Operation procedure

The default mount point for VMS after inserting a disc is/media/rhel_6.0 x86_64 Disc 1

Under/etc/yum.repos.d/, create a new file Rhel-debuginfo.repo and enter the following:

[Rhel-debuginfo]
name=red Hat Enterprise Linux $releasever-$basearch-debug
Baseurl=file:///media/rhel_6.0\ x86_64\ disc\ 1
Enabled=1
Gpgcheck=1
Gpgkey=file:///etc/pki/rpm-gpg/rpm-gpg-key-redhat-release

Save File

Enter the following command to the command line

Yum Clean All

The following prompt appears

Loaded Plugins:refresh-packagekit, Rhnplugin
Cleaning up everything
It can then be installed, for example

Yum Install dump

This article is from the "XS Notes" blog, so be sure to keep this source http://ikezcn.blog.51cto.com/7051942/1569702

Configuring Yum in VMware to update software from the local CD

Related Article

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.