Configure local yum server in linux

Source: Internet
Author: User
1. copy the content in RHEL6 to a folder/yum. 2. install the following rpm packages: createrepo, yum-updatesd, yum-utils, and vsftpd3. run the command to generate the package dependency: createrepo/yum4, client yum configuration file [MailRepo] nameCentosbaseurlf...

1. copy the content in RHEL 6 to a folder/yum.

2. install the following rpm packages: createrepo, yum-updatesd, yum-utils, vsftpd

3. run the createrepo/yum command to generate the package dependency.

4. client yum configuration file

[MailRepo]

Name = Centos

Baseurl = file: // yum

Enabled = 1

Gpgcheck = 0

The above is a local yum server. if you use ftp for yum installation, you need to install vsftp on the server and put the path of the rpm package into the vsftpd configuration file. In the client configuration, the baseurl parameter value is ftp: // PATH

From hwylxf's BLOG

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.