centos7安装elasticsearch6.8.3安装指南
Posted aibaiyang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7安装elasticsearch6.8.3安装指南相关的知识,希望对你有一定的参考价值。
1、下载安装包:
2、常见错误及解决方案:
2.1、[unknown] uncaught exception in thread [main]org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root
切换用户为普通用户:
sudo aibaiyang
2.1、Exception in thread "main" java.nio.file.AccessDeniedException: /usr/local/software/elasticsearch-6.8.3/config/jvm.options
切换到root账号:
su
给aibaiyang账号赋予elasticsearch-6.8.3 文件夹权限:
chown -R aibaiyang:aibaiyang /usr/local/software/elasticsearch-6.8.3
以上是关于centos7安装elasticsearch6.8.3安装指南的主要内容,如果未能解决你的问题,请参考以下文章
ElasticSearch_02_使用docker安装elasticsearch6.8.0
ElasticSearch_02_使用docker安装elasticsearch6.8.0
ElasticSearch_01_使用docker安装elasticsearch6.8.0
Elasticsearch6.8局部更新索引数据报错:The number of object passed must be even but was [1]