Configure local Yum Source

Source: Internet
Author: User

Configure local Yum Source

?

Yum(full name Yellow dog Updater, Modified) is a Fedora and RedHat and in CentOS. Shell Front-end package manager. Based on rpm Package Management, the ability to automatically download RPM packages from specified servers and install them, automatically handle dependency relationships, and install all dependent packages at once No need to cumbersome to download, install.

?

?

First step: Install disk open mount/dev/cdrom/mnt

?

Step Two: Vim/etc/yum.repos.d/centos6.6-dvd.repo

[CentOS]

name=centos6.6

Baseurl=file:///mnt

Gpgcheck=0

Enabled=1

?

?

Step three: Empty yum source Yum clean all

?

Fourth step: Load yum source yum repolist all

Configure local Yum Source

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.