1.先安装Java环境(重要)
2.按照elasticsearch安装教程安装
3.安装head插件
4.配置elasticsearch.yml(键值对冒号后面加空格 node.name: "daiyu",否则报错)
5.远程在浏览器访问需要关闭防火墙(重要)
centos 7: systemctl stop firewalld.service #停止 systemctl disable firewalld.service #禁用 之前的版本: service iptables stop #停止 chkconfig iptables off #禁用
效果图