Tag:yum

  • Yum specifies how to install software from a source

    Time:2021-2-20

    One command, one parameter Copy code The code is as follows: [[email protected] ~]# yum install nginx –enablerepo=epel Let me explain a little bit Copy code The code is as follows: yum install XXX –enablerepo=YYY XXX is the software to be installed, YYY is the name of the repo source.It is recommended to choose the same […]

  • The solution to the lack of kernel headers in Yum installation under CentOS

    Time:2021-2-18

    Missing dependency: the solution of kernel header in CentOS. Please note here The error message is as follows:     Copy code The code is as follows: glibc-headers-2.5-81.el5_8.2.x86_64 from updates has depsolving problems –> Missing Dependency: kernel-headers >= 2.2.1 is needed by package glibc-headers-2.5-81.el5_8.2.x86_64 (updates) glibc-headers-2.5-81.el5_8.2.x86_64 from updates has depsolving problems –> Missing Dependency: kernel-headers is […]

  • How to use Yum to install the specified version of software in CentOS system

    Time:2021-2-6

    By default, yum installs the latest version of software, which may cause some problems. Or we want Yum to install the specified (specific) version (old version) package. So, let’s share the method of installing the specified (specific) version (old version) package with yum. The process is as follows: Suppose we want to install prce here […]

  • How to use the command of Yum – showduplicates

    Time:2021-2-5

    Yum has many parameters and plug-ins to use. Here I’ll introduce how to use the yum — showduplicates command. This parameter is very useful for us. Especially when you encounter version mismatch, compatibility and software dependency problems, you can use this command to find the software version you want.Suppose you need to find a specific […]

  • The method of using Yum to upgrade plug-ins in CentOS system

    Time:2021-2-4

    It is necessary to upgrade the security of the server, so here is a Yum plug-in: Yum plugin security to upgrade the security. 1. Generally, yum plugin security is installed by default. If not, enter the command to install Yum plugin security     $ sudo yum install yum-security 2. For red hat 6, an update […]

  • How to use CentOS’s Yum source in RHEL system

    Time:2021-1-9

    In rhel61. Uninstall own yum Copy code The code is as follows: # rpm -aq|grep yum|xargs rpm -e –nodeps 2. Download centos6 related packages Copy code The code is as follows: #wget http://mirrors.163.com/centos/6.0/os/x86_64/Packages/python-iniparse-0.3.1-2.1.el6.noarch.rpm#wget http://mirrors.163.com/centos/6.0/os/x86_64/Packages/yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm#wget http://mirrors.163.com/centos/6.0/os/x86_64/Packages/yum-3.2.27-14.el6.centos.noarch.rpm#wget http://mirrors.163.com/centos/6.0/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.26-11.el6.noarch.rpm 3. Installation Copy code The code is as follows: # rpm -ivh python-iniparse-0.3.1-2.1.el6.noarch.rpm# rpm -ivh yum-metadata-parser-1.1.2-14.1.el6.x86_64.rpm# rpm -ivh yum-3.2.27-14.el6.centos.noarch.rpm […]

  • How to check the software installation path in CentOS system?

    Time:2021-1-6

    Linux system is generally a command line interface, and the installed software is also installed through the command. For the software package update and uninstall, sometimes you need to check whether there is a change in the software, and the path of software installation and storage is necessary for modifying the configuration file. So how […]

  • Some optimal configuration of Yum source

    Time:2021-1-1

    Set 163 sourceNetease (163) Yum source is one of the best Yum sources in China. Both the speed and software version are very good. Setting Yum source to 163yum can improve the speed of package installation and update, and avoid some common software versions being unable to find. The specific setting method is as follows:1. […]

  • Solution to [errno 5] oserror: [errno 2] on RedHat server

    Time:2020-12-18

    When configuring the local source of Yum on Red Hat Enterprise Linux server release 5.7, we encountered “[errno 5] oserror: [errno 2] no such file or directory XXX”. It took some time to figure out the cause and effect of the error. It is hereby recorded that: Copy the image of RedHat 5.7 to / […]

  • Basic method of configuring local Yum source in RedHat system

    Time:2020-12-15

    Yu is the abbreviation of yellow dog updater modified. It was originally developed by Terra soft, the developer of yellow dog. It was written in Python. At that time, it was also called yup (yellow dog updater). Later, it was developed by Duke University [email protected] The development team makes improvements, hence the name. The purpose […]

  • Centos8 using Yum to install rabbitmq tutorial

    Time:2020-12-4

    Enter / etc/ yum.repos . D / folder Create rabbitmq- erlang.repo file The contents are as follows [rabbitmq-erlang] name=rabbitmq-erlang baseurl=https://dl.bintray.com/rabbitmq-erlang/rpm/erlang/21/el/7 gpgcheck=1 gpgkey=https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc repo_gpgcheck=0 enabled=1 establish rabbitmq.repo file The contents are as follows [bintray-rabbitmq-server] name=bintray-rabbitmq-rpm baseurl=https://dl.bintray.com/rabbitmq/rpm/rabbitmq-server/v3.8.x/el/8/ gpgcheck=0 repo_gpgcheck=0 enabled=1 Installation command yum install rabbitmq-server Rabbitmq related commands open service rabbitmq-server start close service rabbitmq-server stop View […]

  • Basic usage strategy of Yum package manager under CentOS

    Time:2020-11-19

    1. What is Yumyum : Yellow dog Updater, ModifiedThe main function is to add / delete / update RPM package more convenientlyIt can solve the dependency problem of package automaticallyIt is easy to manage a large number of system update problemsYum featuresMultiple repositories can be configured at the same timeSimple configuration file (/ etc/ yum.confAutomatically […]