1、max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
解决方法:
在/etc/sysctl.conf文件最后添加一行
vm.max_map_count=262144
重新加载文件,使生效:
执行/sbin/sysctl -p 立即生效
2、max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
句柄数太少:
编辑 /etc/security/limits.conf,追加以下内容;
* soft nofile 65536
* hard nofile 65536
此文件修改后需要重新登录用户,才会生效
3、启动成功后,访问ip:9200端口,页面加载失败,怀疑是防火墙的问题:
查询防火墙的状态:
systemctl status firewalld,开启。
关闭防火墙:systemctl stop firewalld
再次访问9200界面,成功。