解决方法:
1.更新
apt-get update
2.安装ifconfig
apt-get install net-tools
3.安装ping
apt-get install iputils-ping