1. in linux, dependencies must be considered when installing the software package rpm, which is often troublesome. you can use yum to install the software package. yum can detect dependencies and automatically install the software package, therefore, it is more convenient 2. because the rhel5.5 yum needs to use the rhn service, this is a payment, so we use the free centos version to replace 3. first uninstall rhel5.5 from
1. in linux, dependencies need to be considered when installing the software package rpm, which is often troublesome. you can use yum to install the software package. yum can detect dependencies and automatically install the software package, so it is more convenient.
2. because the rhn service is required for rhel5.5 yum, we use the freeCentosVersion substitution
3. uninstall the yum that comes with rhel5.5.
Rpm-qa | grep yum
Rpm-e yum -*-- Nodeps
4. download the centos yum package for rpm installation. Rpm-ivhYum *
5. after the installation is complete, download the configuration file Centos-base.repo of the yum repository, put it in the/etc/yum. repo. d Directory
6. do not use yum update because it replaces all rhel software with centos
7. directly install the yum install software name for the software to be installed.
8. if we do not need to use the yum update function, we only need to use its dependency for CD installation. we can create a repo configuration file and set the urlbase = file in it: /// mnt/cdrom/ServerAnd enable = 1.