MadeStone

CentOS 7: Could not retrieve mirrorlist

Просмотры:
69
Дата загрузки:
29.11.2023 18:07
Длительность:
00:01:23
Категория:
Технологии и интернет

Описание

Fix of the yum update error: could not retrieve mirrorlist.

The cause of the problem is that dhclient didn't start at the boot, so you don't have network.
To fix that, you need to edit /etc/sysconfig/network-scripts/ifcfg-ens33 (in my case). Can be also eth0.
Change ONBOOT=no to ONBOOT=yes. That will make dhclient start on boot.
Then run dhclient, so you have network in current session.

Music:
Clee Mashi - Help the Others
https://soundcloud.com/cleemashi

Источники:

Рекомендуемые видео