CentOS 7 EOL Yum Update

After the CentOS 7 EOL, Yum update showing error while updating the packages. To resolve the issue you can mass update all .repo files:

Run the following Command One by one on your CentOS 7 Server. Then run the YUM UPdate.

sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo
  • 1 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор?

Понудени резултати

SpeedTest with Linux OS

To check your Port Speed in Linux Server with SpeetTest Cli. Following the Guide bellow. To Find...

20 Useful Commands for Linux Newbies

1. Command: ls The command “ls” stands for (List Directory Contents), List the contents of the...

Fixing Linux Error “No Such Device” with GRUB Rescue

“Linux Error: No Such Device” with GRUB Rescue The Grand Unified Bootloader (GRUB) bootloader...

How to Set Up PHP-FPM on AlmaLinux 9

Let’s take a closer look at installing and configuring PHP-FPM on AlmaLinux 9.1. To get started,...