Practical combat of yum source configuration under Linux

1. Management of software packages under Linux 1. Software installation method ① RPM package management (dependency issues need to be resolved separately) ② YUM package management (requires network and YUM warehouse support, will automatically download software from the Internet, and automatically resolve dependencies) ③ Source code installation (the installation process is relatively complicated, source code […]

Failed to execute yum install

Want to install: [root@localhost ~]# yum install lrzsz Updating Subscription Management repository. Unable to read customer identity This system has not been registered with the rights server. Registration can be done using subscription-manager. RHEL9-BaseOS 0.0 B/s | 0 B 00:00 Errors during downloading metadata for repository ‘RHEL9-BaseOS’: – Curl error (37): Couldn’t read a file:// […]

Linux installation and yum local library creation

Table of Contents 1. Linux software installation rpm installation: rpm query: uninstall: Mount: 2. Compile and install Installation process: Step 1: tar unpacking Step 2: ./config configuration Step 3: make compile Step 4: make install installation 3. yum warehouse installation principle: Building process: 1. Linux software installation Can be divided into 3 major categories: 1.rpm […]

Master yum source configuration in one article

Table of Contents 1. Introduction to yum source 2. yum resource library management tool 2.1. Use yum-config-manager to manage yum source repository 2.2. Download domestic image sources through wget 2.3. Common commands for operating yum source 3. Local mirror source configuration 4. Detailed explanation of *.repo files 5. Extended source configuration 6. Use yum source […]

, The use of rpm yum command and the meaning of parameters. 2. Upload the image to the virtual machine to build a local yum source. 3. The meaning of each parameter of the chown chomd command. 4. How to use the fdisk partd hard disk partition command? 5. In your own virtual

1. Use of rpm, yum commands, parameter meanings (1) The use of common rpm commands and the meaning of parameters Install a software package: rpm -i package.rpm: Install a software package. parameter: -i: Install the software package. –nodeps: Ignore dependencies. –force: Force installation even if the package is already installed. Upgrade software package: rpm -U […]

Local FTP YUM source error handling

1. Problem description After the OS was upgraded to Anolis 8.6, the yum source of centos 6.5 was still needed. After restoring it, yum was updated and the following error was reported: Errors during downloading metadata for repository base’: Curl error (8): Weird server reply for ftp://10.172.1.206/centos6.5/media/repodata/repomd.xml [Got a 500 ftp-server response when 220 was […]

centos 8 yum source cannot be used problem

Problem: The newly installed centos 8 cannot download and install other software without using wget Error: Failed to download metadata for repository ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist Solution: [root@localhost ~]# cd /etc/yum.repos.d [root@localhost yum.repos.d]# ls CentOS-Base.repo CentOS-CR.repo CentOS-Debuginfo.repo CentOS-fasttrack.repo CentOS-Media.repo CentOS-Sources.repo CentOS-Vault.repo CentOS-x86_64-kernel.repo [root@localhost yum.repos.d]# mkdir yum [root@localhost yum.repos.d]# mv *.repo […]

Build local machine yum source, chown command, hard disk partition, virtual machine adds hard disk

Linux commands: (1) Linux yum command yum (Yellow dog Updater, Modified) is a shell front-end package manager in Fedora and RedHat and SUSE. Based on RPM package management, RPM packages can be automatically downloaded and installed from designated servers, dependencies can be automatically processed, and all dependent software packages can be installed at once, eliminating […]