Yum acceleration plug-in and advanced use actual combat

1. yum installation and configuration

Yum is the abbreviation of yellowdog updater modified, yellow dog (yellow dog) is also a Linux distribution, but Redhat uses this upgrade technology to its own distribution to form the current yum. Yum is a commonly used tool for software installation and upgrade under the Linux system. The convenient installation and automatic upgrade of software can be realized through the yum tool and the Internet.

Features of yum:

  • It is easy to install and automatically solves the dependency problems encountered when adding or deleting rpm packages;
  • Multiple resource libraries (Repositories) can be configured at the same time;
  • The configuration file is simple and clear (/etc/yum.conf, /etc/yum.repos.d/CentOS-Base.repo);
  • Maintain consistency with the RPM database;

1. Installation and configuration of yum

Taking Centos7.x as an example, to check whether yum has been installed, execute the following command:

[root@localhost~]# rpm -qa|grep yum

If there is no display, it means that the yum tool has not been installed in the system. The yum installation package can be found in the Centos system CD. Execute the following command to install it:

[root@localhost~]# rpm -ivh yum-*.noarch.rpm

The installation of yum requires the support of python-elementtree, python-sqlite, urlgrabber, yumconf and other software packages, which can be found in the Centos Linux system installation CD&

Supongo que te gusta

Origin blog.csdn.net/qq_35029061/article/details/131930450
Recomendado
Clasificación