在安装 CentOS7 时采用了最小安装的模式, 在查看 ip 地址时发生错误, 即命令找不到.

command not found.

安装 :

1. 查询

yum search ifconfig

Centos7 安装 net - tools

2. 安装

yum install net-tools.x86_64

Centos7 安装 net - tools

3. 测试

Centos7 安装 net - tools

 

相关文章: