[root@localhost ~]# yum -y install vsftpd   (注:在下载wget命令并安装)
Could not retrieve mirrorlist
 
原因:没有配置resolv.conf
解决方法:
到/etc目录下配置resolv.conf加入nameserver IP,如:
nameserver 8.8.8.8
nameserver 8.8.4.4
search localdomain
保存再次运行上面命令就可以。

相关文章:

  • 2021-09-26
  • 2021-09-19
  • 2022-01-16
  • 2021-05-30
  • 2022-12-23
  • 2022-01-06
  • 2021-06-23
  • 2021-10-19
猜你喜欢
  • 2022-02-17
  • 2022-03-02
  • 2021-11-12
  • 2021-07-05
  • 2022-12-23
相关资源
相似解决方案