操作系统: centos7
java:jdk1.8.0_111
elk: 5.2.1
解压安装后主要的修改配置文件:
- elasticsearch.yml
bootstrap.memory_lock: true
http.cors.enabled: true
http.cors.allow-origin: "*"
- /etc/sysctl.conf
vm.swappiness=1
vm.max_map_count=262144
- /etc/security/limit.conf
* soft nofile 65536
* hard nofile 65536
* soft memlock unlimited
* hard memlock unlimited
- swap
swapoff -a
vi /etc/fstab
注释所有包含swap项目
- firrewalld
systemctl stop firewalld
systemctl is_enabled firewalld
systemctl disable firewalld