CentOS6.5 use local yum source for installation

Source: Internet
Author: User
In one case, if linux is in the intranet and is not connected to the Internet, yuminstall/* Service */cannot be used. First, we need to find the yum source to be installed in the optical drive, the format is. rpm. Find the. rpm file to be installed and copy its path. Rpm-ivh/*. rpm full path */We can directly use this method to install the required rmp without attaching the optical drive. you only need to find the path in the optical drive. & Nb

One scenario is that linux is in the intranet and cannot be used without network connection.

Yum install/* Service */

First, find the yum source to be installed in the optical drive. the format is. rpm.

Find the. rpm file to be installed and copy its path.

Rpm-ivh/*. rpm full path */

We can directly use this method to install the required rmp without mounting the optical drive, as long as you find the path in the optical drive. If there is only one optical drive, the optical drive directory is generally

/dev/cdrom

Cd to this directory, and then ll is to view the files under this directory.

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.