1、ceontos
bash: ip command not found
yum install -y initscripts
或者
yum install -y iproute2 iproute2-doc
bash: lsof: command not found
yum install -y lsof
bash: pidof: command not found
yum install -y sysvinit-tools
2、ubuntu
bash: ip command not found
apt install -y iproute2 iproute2-doc
3、python