上篇中对错误的解决方法是:

yum list|grep ncurses
yum -y install ncurses-devel
yum install ncurses-devel
但是  yum的时候报了Error: Cannot find a valid baseurl for repo: base错误
解决方法如下(修改dns配置)
vi /etc/resolv.conf
在此文件中最后加入nameserver 8.8.8.8
如果没有vi编辑器可用
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
然后ping www.baidu.com
ok

 

相关文章:

  • 2021-09-20
  • 2022-12-23
  • 2022-12-23
  • 2022-03-06
  • 2022-12-23
  • 2021-05-22
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-02
  • 2021-06-09
  • 2022-12-23
  • 2021-12-06
相关资源
相似解决方案