`
ssydxa219
  • 浏览: 627010 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论

elasticsearch

 
阅读更多
grep "^[a-z]" elasticsearch.yml

vim /etc/security/limits.conf

* soft nofile 65536
* hard nofile 131072
* soft nproc 2048
* 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

elasticsearch.yml中配置
bootstrap.system_call_filter为false
# 开启跨域访问
http.cors.enabled: true
http.cors.allow-origin: "*"

# 关闭x-pack认证
xpack.security.enabled: false


bootstrap.memory_lock: false
bootstrap.system_call_filter: false

/etc/init.d/elasticsearch
service elasticsearch start


nohup grunt server &

elasticsearch-plugins install x-pack


curl -XPUT -u elastic:changeme 'http://localhost:9200/_xpack/license' -d @license.json

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics