Build yum server and client on redhat

Source: Internet
Author: User
It took an afternoon to build your first yum server and client. There are many tutorials for setting up yum servers on the Internet, most of which are the tutorials named "setting up YUM servers (required for RHCI) in RedHat Enterprise 5.0. I also set up my first yum server and client by setting up an afternoon for reference. There are many tutorials for setting up yum servers on the Internet, most of which are the tutorials named "setting up YUM servers (required for RHCI) in RedHat Enterprise 5.0. I also built my own yum server by referring to this tutorial. Preparations before starting the experiment are as follows: YUM Client to ensure that the following software packages are installed: yum-3.0.1-5.el5.rpmyum-metadata-parser-1.0-8.fc6YUM Servr to ensure that the following software packages are installed: yum-3.0.1-5.el5.rpmyum-metadata-parser-1.0-8.fc6yum-rhn-plugin-0.4.3-1.el5yum-updatesd-3.0.1-5.el5createrepo-0.4.4-2.fc6.noarch.rpmyum-arch-2.2.2-2.fc7.noarch.rpm
START experiment: 1: configure the server: 1: We will use the content in the linux installation image, so you can set the parameters on the vmwarevm first.

2: create a folder to store the rpm Package. in this experiment, I created a directory/vmware/rhel5/Server.

3: cp the rpm content under the Server package in the linux installation image to the directory above

4: createrepo/vmware/rhel5/Server

5: Configure/etc/yum. conf .. For example:

6: service vsftpd restart. :

2: configure the client: modify the rhel-debuginfo.repo under the/etc/yum. repos. d/Directory (it is best to save a copy before modification)

Here, baseurl is the place where I store the rpm package, that is, the yum source address. Enabled indicates whether to start the repository, 1 indicates to start, and 0 indicates to disable. Since then, our yum server and client have been ready!

This article is from the "Zheng Honghui" 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.