• How can CentOS set DVD as the default Yum source for downloading and installing software in DVD


    We all know that Yum is the package manager in CentOS system, which is used for software download and installation. Sometimes, for some reasons, DVD needs to be used as the default Yum source for software download and installation in DVD. The following editor will introduce how CentOS can set DVD as the default Yum […]

  • Using Yum in CentOS to smoothly migrate Mysql to MariaDB


    The VPS operating system is CentOS 6, and the MySQL version is 5.5.31 (using Remi source). A. First configure the installation source of MariaDB. At present, the main version of MariaDB is MariaDB 5.5.33a stable. Save the following installation source configuration as MariaDB.repo , upload to / etc of the server/ yum.repos . D folder: […]

  • Install Xen 4.2.2 tutorial using Yum under CentOS


    1. Download the kernel Xen repo image Copy code The code is as follows: wget http://us3.mirror.crc.id.au/el6/x86_64/kernel-xen-release-6-4.noarch.rpmrpm -ivh kernel-xen-release-6-4.noarch.rpm 2 install Xen kernel and related software Copy code The code is as follows: yum install-y xen kernel-xen xen-libs python-virtinst bridge-utilsreboot 3. Recompile the libvirtrpm package, because libvirt in CentOS 6 does not support Xen Copy code […]

  • CentOS Yum add EPEL source method


    There is an EPEL (extra packages for Enterprise Linux) under the RedHat Fedora project. EPEL is the Fedora software warehouse of RHEL. If you add it, you can get many free packages supporting RHEL / CentOS. For example, the popular nginx, OpenVPN and so on, can be very convenient to install and update.EPEL( http://fedoraproject.org/wiki/EPEL )It […]

  • How to install variable using Yum in centos6


    Installing varnish in centos6 is similar to installing nginx. I choose the RPM installation method. Here, the official method of installing repo source first and then using Yum is given. Here, you can completely refer to the official installation method. PS: why can’t I install it perfectly? 1. Install repo source Copy code The code […]

  • How to download RPM package with Yum command in CentOS without installing it


    Yum is the default package manager on red hat based systems (such as CentOS, Fedora, RHEL). Using yum, you can install or update an RPM package, and it will automatically resolve package dependencies. But what if you only want to download one RPM package to your system? For example, you may want to get some […]

  • Yum specifies how to install software from a source


    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


    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


    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


    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


    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


    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 […]