✈步骤一:用nmtui命令进入NetworkManager模式,选择【Edit a connection】

✈步骤二:选择【Edit】

✈步骤三:Automatically commect选项前打X,保存退出

✈步骤四:执行service network restart重启网卡服务
此时已成功ping通114.114.114.114

✈步骤五:执行yum -y install net-tools命令安装net-tools
✈步骤六:安装成功,可以使用ifconfig
