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

[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

你可能感兴趣的:(Linux)