将Elasticsearch 5.6.4作为Windows服务安装时出错

问题描述 投票:1回答:1

这是荒唐的:

我从官方网站下载了ElasticSearch 5.6.4 zip文件,将其解压缩到一个文件夹中然后运行命令

./elastic search-service.把它

在PowerShell和标准Windows控制台中

输出是一条错误消息:

语法错误

enter image description here

enter image description here

我没有改变任何东西,只是下载并开箱即用。添加installservicename参数不会改变任何东西

powershell elasticsearch elasticsearch-5
1个回答
1
投票

我刚遇到类似的问题。虽然错误信息不同。它就像是

'x64).exe' is not recognized as an internal or external command

尝试运行.bat而不使用./前缀。

© www.soinside.com 2019 - 2024. All rights reserved.