标签:har lan limits 内存 目录 cluster bsp options and
jvm.options: -Xms512m -Xmx512m path.data: /home/leyou/elasticsearch/data # 数据目录位置 path.logs: /home/leyou/elasticsearch/logs # network.host: 0.0.0.0 # 绑定到0.0.0.0,允许任何ip来访问 修改文件数限制: vim /etc/security/limits.conf * soft nofile 65536 * hard nofile 131072 * soft nproc 4096 * hard nproc 4096 修改线程数限制: vim /etc/security/limits.d/90-nproc.conf * soft nproc 4096 进程获取虚拟内存限制: vim /etc/sysctl.conf vm.max_map_count=655360 sysctl -p
kibana.yml:
elasticsearch.url: "http://192.168.56.101:9200" #指向服务端口
unzip elasticsearch-analysis-ik-6.3.0.zip -d ik-analyzer
<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> </dependency>
spring: data: elasticsearch: cluster-name: elasticsearch cluster-nodes: 192.168.56.101:9300
标签:har lan limits 内存 目录 cluster bsp options and
原文地址:https://www.cnblogs.com/flame540/p/12831819.html