当前位置:
linux安装elasticsearch常用的命令
机器助手 |
18人浏览
linux安装elasticsearch常用的命令
groupadd es
useradd es -g es -p es
useradd -m -s /bin/bash es -g es -p es
useradd -m -s /bin/bash mongodb -g mongodb -p 123456
http.cors.enabled: true
http.cors.allow-origin: "*"
在 /etc/sysctl.conf文件最后添加一行
vm.max_map_count=262144
sysctl -p
vi /etc/security/limits.conf
# elasticsearch config start
* soft nofile 65536
* hard nofile 131072
* soft nproc 4096
* hard nproc 4096
# elasticsearch config end
排名:
经验值
0
文章
0
评论
0
勋章
0
动态
0
粉丝
0
关注
获得勋章:
