Linux centos 没有 ifconfig:
yum install -unet-tools
以后如果还有什么命令没有,可以用yum provides */command
(用你需要的文件名替换command,例如ifconfig)
就可以查出是那个包了,然后yum安装下就ok
http://www.htmltoo.com/