今天再次装完CentOS7虚拟机后,居然提示ifconfig:command not found.

原本是以为没有将IP地址设置成开机启动,结果设置完开机启动后,仍然提示


后在网上查找方法,记录一下
- 进入/sbin
-
查看ifconfig
发现ifcofig不存在
-
安装net-tools
提示确认输入y回车,直至安装完毕
-
确认,输入ifconfig
今天再次装完CentOS7虚拟机后,居然提示ifconfig:command not found.
原本是以为没有将IP地址设置成开机启动,结果设置完开机启动后,仍然提示
后在网上查找方法,记录一下
查看ifconfig
发现ifcofig不存在
安装net-tools
提示确认输入y回车,直至安装完毕
确认,输入ifconfig
本文标题:CentOS7 提示ifconfig:command not f
本文链接:https://www.haomeiwen.com/subject/vdqwcqtx.html
网友评论