设置elasticsearch问题

时间:2014-01-14 10:14:40

标签: java linux search terminal elasticsearch

我正在尝试安装elasticsearch,我收到了这条消息。

我输入终端linux:

sh elasticsearch -f@

并获得:

elasticsearch: line 141: /bin/java: is a directory
elasticsearch: line 141: exec: /bin/java: cannot execute: Success

1 个答案:

答案 0 :(得分:1)

从Linux运行ElasticSearch导航到上层ElasticSearch目录。这样bin目录就可见了。

然后运行以下命令 -

bin/elasticsearch (background)

bin/elasticsearch -f (foreground)