elasticsearch-5.1.1 安装的问题

http://blog.csdn.net/xiegh2014/article/details/53771086

adduser elastic

passwd elastic

chown -R elsearch:elsearch elasticsearch

1、关闭firewall:
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动

  1. vi /etc/security/limits.conf
    ulimit -n 65536
    elasticsearch  -  nofile 65536
  2. vi /etc/sysctl.conf
    vm.max_map_count=655360
    sysctl -p