找不到elasticsearch命令行工具

穆罕默德·纳扎里

我已经在Linux 18上安装了elasticsearch,并尝试运行以下命令:

elasticsearch-node detach-cluster

但是我收到以下错误: command not found

我从Elasticearch文档(这里)中看到了这些命令如何执行此命令?

保罗·马

根据您的安装,您应该找到elasticsearch的bin /,在大多数情况下,该文件位于/ usr / share / elasticsearch / bin

例:

# /usr/share/elasticsearch/bin/elasticsearch-node 
A CLI tool to do unsafe cluster and index manipulations on current node

Non-option arguments:
command              

Option             Description        
------             -----------        
-E <KeyValuePair>  Configure a setting
-h, --help         Show help          
-s, --silent       Show minimal output
-v, --verbose      Show verbose output
ERROR: Missing command

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章