centos7下安装软件失败的处理办法:
问题:
使用yum安装软件时出现如下错误:
httpd-2.4.6-89. el7. centos. x86_ FAILEDhttp: //centos. ustc. edu. cn/ centos/7.6.1810/updates/x86_ 64/Packages/ntos. x86_ 64. rpm:[ Errno 14] curl#6 - "Could not resolve host: centwn error"正在尝试其它镜像。Error downloading packages:mailcap-2.1.41-2. el7. noarch:[ Errno 256] No more mirrors to try.
解决方法:
1、打开 卡配置文件
#vim /etc/sysconfig/network-scripts/ifcfg-ens33
3、找到 ONBOOT=no配置
ONBOOT=no
4、然后将 no 改为 yes
ONBOOT=yes
5、重启 络服务
#netstat network restart
国内高防机房、单线/双线服务器租用、仿站、 站建设与开发、服务器和 站运维,7*24小时售后支持,欢迎咨询合作
声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!