YUM server construction in RedHat Enterprise 5.0

Source: Internet
Author: User
Yum (all called YellowdogUpdater, Modified) is a Shell front-end Package Manager in Fedora. Based on RPM package management, You can automatically download and install the RPM package from the specified server, and automatically handle dependencies. you can install all dependent software packages at a time without the need to download and install them repeatedly. The YUM service involves the client and server, where: 1. YUMClient: Make sure the following software is installed:

Yum (all called Yellow dog Updater, Modified) is a Shell front-end Package Manager in Fedora. Based on RPM package management, You can automatically download and install the RPM package from the specified server, and automatically handle dependencies. you can install all dependent software packages at a time without the need to download and install them repeatedly.

The YUM service involves the client and server, where:

1. YUM Client: Make sure the following software packages are installed:

Yum-3.0.1-5.el5

Yum-metadata-parser-1.0-8.fc6

2. YUM Server: Make sure the following software packages are installed:

Yum-3.0.1-5.el5

Yum-metadata-parser-1.0-8.fc6

Yum-rhn-plugin-0.4.3-1.el5

Yum-updatesd-3.0.1-5.el5

Createrepo-0.4.4-2.fc6.noarch.rpm

Yum-arch-2.2.2-2.fc7.noarch.rpm

Yum Server Installation

1. Store software packages on the YUM Server

Mount the RedHatES5 system disk to/mnt.

Regenerate the/rhel5 directory to store the software package:

[Root @ ns100 vmware] # mkdir/rhel5

Mount all the software packages under the Server Directory (which stores some Server software packages) on the CD to/rhel5. Because there are many software packages in the Server directory, rhel5 may not be available, you can format a 5g partition and mount it to the/rhel5 directory.

[Root @ ns100 vmware] # cp-R/mnt/Server/rhel5

Upload the key file (used for client and server authentication) to the specified directory.

[Root @ ns100 vmware] # cp/mnt/RPM-GPG-KEY-redhat-release/rhel5/Server

Note: If you have an iso file (an image file on the optical disk) of a system disk, you can use this file to perform a virtual optical drive and then attach the virtual optical drive to/mnt. The method is as follows:

Mount-o loop redhat. iso/mnt

Enter/mnt to use it;

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.