出现的提示: 我们根据提示添加net-tools包,使他能够查询本机ip 使用命令: sudo apt install net-tools 然后就安装完成,使用命令: ifconfig 就可以查看主机的一些信息了