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;