(转)ping: www.baidu.com: Name or service not known centos7 -bash: ifconfig: command not found

时间:2022-12-17 03:57:50

[root@mysqlcentos01 ~]# ping www.baidu.com
ping: www.baidu.com: Name or service not known

[root@mysqlcentos01 ~]#

这个修改:/etc/sysconfig/network-scripts/ifcfg-enp0s3和ifcfg-enp0s8中的ONBOOT为yes

[root@mysqlcentos01 ~]# ifconfig -a
-bash: ifconfig: command not found
[root@mysqlcentos01 ~]#

这个ping www.baidu.com通了以后安装

yum install net-tools

---------------------

本文来自 EVISWANG 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/eviswang/article/details/77569307?utm_source=copy