Tag:yum

  • CentOS 6.2 Yum install MySQL initialization warning solution

    Time:2021-10-16

    yum install mysql-server The following warnings occurred during initialization [[email protected] etc]# /etc/rc.d/init.d/mysqld start Initializing MySQL database: WARNING: The host ‘fengzhige’ could not be looked up with resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version. The MySQL daemon, mysqld, should work normally with the exception that […]

  • RHCE experience 3 sharing steps of building local Yum source and CD Yum source based on vsftp

    Time:2021-9-19

    1、 Local source setup for Yum environment (based on vsftp):   1) Install vsftp;    ****************************************** [[email protected] ~]# mount /dev/hdc /mnt[[email protected] ~]# cd /mnt/Server/[[email protected] Server]# ls |grep vsftpvsftpd-2.0.5-12.el5.i386.rpm[[email protected] Server]# rpm –import /etc/pki/rpm-pgp/RPM- PGP-KEY-redhat-release[[email protected] Server]# rpm -ivh vsftpd-2.0.5-12.el5.i386.rpm [[email protected] Server]# chkconfig vsftpd on  //Turn on the computer to run the vsftpd service automatically[[email protected] Server]# service vsftpd restart […]

  • CentOS Yum PHP mcrypt extended installation method

    Time:2021-8-21

    When you install the mcrypt extension using Yum install PHP mcrypt, you will be prompted that there is no package installed Setting up Install ProcessNo package php-mcrypt available.Error: Nothing to do Mcrypt is an encryption extension library. After loading it, you can use its own22 encryption and decryption algorithms Php5.3.2 is installed by default for […]

  • CentOS 6.0 setting method of using CD as Yum source

    Time:2021-8-18

    When using CentOS, it is very convenient to use Yum to install software packages, but if you can’t connect to the Internet, yum won’t work.The following is a way to use CentOS installation CD as the yum source, and then use Yum to install the package( The following steps pass the test on CentOS 6.0 […]

  • Centos8 Yum / DNF method for configuring domestic sources

    Time:2021-8-10

    CentOS 8 changed the package installer, canceled the configuration method of yum, and used DNF as the installer instead. Although the installation mode of the software package has been changed, DNF is still compatible with the use of Yum configuration files and commands. However, I don’t know how long this compatible configuration will last and […]

  • Solution to the accidental deletion of Yum management tool in Linux

    Time:2021-7-29

    Today, when I was installing the program, I found that a plug-in was not installed, so I clicked a command without looking Copy code The code is as follows: yum remove yum And then there’s a cup Copy code The code is as follows: [[email protected] ~]# yum -bash: /usr/bin/yum: No such file or directory   […]

  • CentOS Yum forced unlock method

    Time:2021-7-28

    1、 Error message: Copy code The code is as follows: [[email protected]]# yum list</p> <p>Existing lock /var/run/yum.pid: another copy is running as pid 3807.</p> <p>Another app is currently holding the yum lock; waiting for it to exit… 2、 Reason:It literally means that “another program locks Yum until the yum updatesd program exits”. Yum updatesd is a […]

  • How to update without upgrading the Linux kernel using yum

    Time:2021-7-27

    RedHat / CentOS / Fedora use   yum update   When updating, the kernel is upgraded by default. However, after upgrading the kernel of some server hardware (especially the assembled machine), the new kernel may not recognize some hardware. It is very troublesome to reinstall the driver. So don’t upgrade the kernel easily in the […]

  • How to install git in centos6.5 using yum

    Time:2021-7-21

    1. Download the geekery repo file (root permission) Copy code The code is as follows: cd /etc/yum.repos.d/wget <a href=”http://geekery.altervista.org/geekery-el6-x86_64.repo”>http://geekery.altervista.org/geekery-el6-x86_64.repo</a> 2. To http://packages.sw.be/rpmforge-release Download the appropriate RPM package Copy code The code is as follows: rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm 3. To http://rpm.pbone.net/ Search rpm EPEL release Copy code The code is as follows: epel-release-6-8.1.noarch.rpm 4. Install rpm Copy code […]

  • Methods of locking and unlocking software package versions in CentOS and RedHat (details of using Yum versionlock)

    Time:2021-7-20

    So how to lock a package in a specific version? Now let me introduce a method. Use the yum versionlock command to lock the version. 1. Installation Copy code The code is as follows: # yum install yum-plugin-versionlock.noarch 2. Add lock package Example: Lock Perl package to current version Copy code The code is as […]

  • VMware 15.5 builds Yum warehouse by mounting system CD

    Time:2021-6-25

    1、 1. Open the CentOS 7 virtual machine. 2. Log in to the virtual machine, select the unlisted user name: root password: enter your own password and click log in. 3. Right click to open the terminal. 4. Enter the CD… Command twice to return to the root directory. 5. Create a directory called chenzishuo, […]

  • CentOS Yum segment error (core dumped) solution

    Time:2021-6-24

    Today, when you use Yum install or Yum update, you will be prompted with a section error (core damped), and then you will stop running. Copy code The code is as follows: [[email protected] ~]# yum -y updateLoaded plugins: fastestmirror, refresh-packagekitDetermining fastest mirrors * base: mirror.esocc.com * extras: mirror.esocc.com * soluslabs: mirror.us1.soluslabs.net * updates: mirror.esocc.combase | […]