美文网首页
CentOS7 ifconfig问题

CentOS7 ifconfig问题

作者: zcmzz0511 | 来源:发表于2020-08-10 22:11 被阅读0次

Linux最小化安装没有ifconfig命令。

1、输入ifconfig提示不存在

2、确认下是否是环境变量没有ifconfig 引起 

ls /sbin/ifconfig

3、安装ifconfig    yum install ifconfig   提示没有可用软件包ifconfig

4、yum search ifconfig搜索ifconfig相关发现是net-tools包

5、安装yum install-y net-tools

查看主机IP地址

1、ifconfig

2、ip addr

相关文章

网友评论

      本文标题:CentOS7 ifconfig问题

      本文链接:https://www.haomeiwen.com/subject/kaesdktx.html