Installation artifact--yum source installation in Linux

Source: Internet
Author: User

Linux configuration Yum Source
First, modify the Yum configuration file
/etc/yum.repos.d/xxx.repo

1. Enter the Yum configuration file directory
# CD/ETC/YUM.REPOS.D
2, delete all the original files
# RM-RF *
3. Create a new Yum configuration file
# VI My.repo
[Myrepo] Identity profile name (name optional)
Name=myrepo identify the Yum repository name (name optional)
Enabled=1 defines whether this software warehouse is valid
Baseurl=/mnt defining the location of the software warehouse
Gpgcheck=0 define whether a security check is performed

Second, mount the CD-ROM to the software warehouse
1. Mount the CD to MNT
# mount/dev/cdrom/mnt
2, check the documents under the MNT
# ls/mnt

Third, test Yum success
#yum repolist
(Detect the number of software in the software warehouse)

Yum is well-equipped for Yum to install.

Author: Xiaoxiang Rain Wrong

Installation artifact--yum source installation in Linux

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.