栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

es安装后的服务配置问题

es安装后的服务配置问题

[root@localhost es]# rpm -ivh elasticsearch-6.4.0.rpm 
警告:elasticsearch-6.4.0.rpm: 头V4 RSA/SHA512 Signature, 密钥 ID d88e42b4: NOKEY
准备中...                          ################################# [100%]
Creating elasticsearch group... OK
Creating elasticsearch user... OK
正在升级/安装...
   1:elasticsearch-0:6.4.0-1          ################################# [100%]
### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd
 sudo systemctl daemon-reload
 sudo systemctl enable elasticsearch.service
### You can start elasticsearch service by executing
 sudo systemctl start elasticsearch.service
Created elasticsearch keystore in /etc/elasticsearch

[root@localhost etc]# chown -R es:es /etc/elasticsearch
[root@localhost etc]# chown -R es:es /usr/share/elasticsearch
[root@localhost etc]# chown -R es:es /var/lib/elasticsearch
[root@localhost etc]# chown -R es:es /var/log/elasticsearch
[root@localhost etc]# chown -R es:es /etc/sysconfig/elasticsearch

vim elasticsearch.yml

cluster.name: elasticsearch
node.name: elasticsearch
network.host: 0.0.0.0
http.port: 9200
http.cors.enabled: true
http.cors.allow-origin: "*"

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/671541.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号