我正在尝试安装elasticsearch,我收到了这条消息。
我输入终端linux:
sh elasticsearch -f@
并获得:
elasticsearch: line 141: /bin/java: is a directory
elasticsearch: line 141: exec: /bin/java: cannot execute: Success
答案 0 :(得分:1)
从Linux运行ElasticSearch导航到上层ElasticSearch目录。这样bin目录就可见了。
然后运行以下命令 -
bin/elasticsearch (background)
或
bin/elasticsearch -f (foreground)