elasticsearch5.0安装
所属分类 elasticsearch
浏览量 1203
根据原文翻译整理
https://www.elastic.co/guide/en/elasticsearch/reference/5.0/install-elasticsearch.html
./bin/elasticsearch
状态检查
http://127.0.0.1:9200/
run as a daemon ,后台启动
./bin/elasticsearch -d -p pid
run as a daemon, specify -d on the command line, and record the process ID in a file using the -p
-d 后套运行
-p 指定pid文件
日志目录 $ES_HOME/logs/
kill `cat pid`
配置文件 config/elasticsearch.yml
命令行设置参数
./bin/elasticsearch -d -Ecluster.name=my_cluster -Enode.name=node_1
Typically, any cluster-wide settings (like cluster.name) should be added to the elasticsearch.yml config file,
while any node-specific settings such as node.name could be specified on the command line.
通常,集群级别的设置(如cluster.name)都应该添加到配置文件中。而节点的设置,如node.name,可以在命令行中指定。
目录结构结构及配置
bin
conf 配置文件 elasticsearch.yml path.conf
data 索引分片的数据目录 可以配置多个地址 path.data
logs path.logs
plugins Each plugin will be contained in a subdirectory.
repo Shared file system repository locations. path.repo
script Location of script files. path.scripts
上一篇
下一篇
elasticsearch5.0数据索引与查询实战
网站运营推广之七言绝句
elasticsearch5.0使用RPM包安装
elasticsearch5.0配置
elasticsearch5.0的重要配置
elasticsearch5.0启动检查