Red Hat Configure local Yum source

Source: Internet
Author: User





Mount the local Yum source with a USB flash drive, or a CD ISO image.





First, insert a USB flash drive or CD and copy the ISO file into the local / usr / local / src directory.









1) Create mount directory;















2) mount the ISO image of the / usr / local / src / under Redhat to / media / usb















3) command Df-t to see if the mount was successful









4) go to the Mount directory to view the attached Yum source















5) Edit the configuration file / etc / fstab, edit it well Wq exit save.









6) Edit the Yum source file <The file to create it yourself; after editing it, Wq exits the save.









7) using the Yum command





Yum Clean all #Clear yum cache





Yum Makecache #Cache software information in local yum source











Now that the local Yum source has been configured, you are free to install the software with Yum.





This article from "Peng Big Little" blog, declined reprint!





Red Hat Configure local Yum source

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.