随笔分类 -  elasticsearch

elasticsearch
摘要:下载或上传包,地址:https://www.elastic.co/cn/downloads/elasticsearch 创建用户 useradd elastic 设置密码 passwd elastic 输入密码 把解压包移到用户elastic的目录下 修改config下的elasticsearch, 阅读全文
posted @ 2019-11-05 16:49 蜗牛的信仰 阅读(1976) 评论(0) 推荐(0)
摘要:上传安装包到linux,并解压 进入config目录,有个elasticsearch.yml 还有些端口什么的,在之前的一篇博客中有关于elasticsearch.yml的详细解释 进入bin目录。 ./elasticsearch -d 启动 如果是root启动会报错,前面的博客中有说到 切换到el 阅读全文
posted @ 2019-11-01 11:18 蜗牛的信仰 阅读(262) 评论(0) 推荐(0)
摘要:Exception in thread "main" java.lang.RuntimeException: don't run elasticsearch as root. at org.elasticsearch.bootstrap.Bootstrap.initializeNatives(Boo 阅读全文
posted @ 2019-10-22 14:11 蜗牛的信仰 阅读(1005) 评论(0) 推荐(0)
摘要:# Elasticsearch Configuration ## NOTE: Elasticsearch comes with reasonable defaults for most settings.# Before you set out to tweak and tune the confi 阅读全文
posted @ 2019-10-22 14:09 蜗牛的信仰 阅读(654) 评论(0) 推荐(0)