1、host文件原内容 cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.10.21 db redis 192.168.10.22 es 192.168.10.23 spark kafka zookeeper 192.168.10.24 tomcat flume 2、去