【发布时间】:2020-07-13 00:11:57
【问题描述】:
我正在关注this 教程,我必须运行此命令才能启动 Zookeeper 服务器。
./bin/zookeeper-server-start.sh config/zookeeper.properties
但问题是这个命令不能正常工作。我发现 .sh 文件是需要 cygwin 的 bash 文件。我已经安装了它,然后像这样运行命令
C:\cygwin64\bin\bash.exe ./bin/zookeeper-server-start.sh config/zookeeper.properties
但它正在显示:
我可以确认该文件在 bin 目录中存在。我做错了什么?
注意:我已经成功测试了bin/windows zookeeper bat 文件,但我想通过 .sh 文件作为the kafka security tutorial 运行它,我正在使用它。
【问题讨论】:
标签: windows bash cygwin sh apache-zookeeper