【发布时间】:2023-03-30 01:14:01
【问题描述】:
我能够从 Windows 上的命令提示符运行 Zookeeper 服务器。
今天我希望它作为后台服务运行,并在操作系统启动时自动启动。
我能够使用以下命令创建服务。
sc.exe create ZookeeperService binPath= “C:\zookeeper\apache-zookeeper-3.5.5\bin\zkServer.cmd”
那么我应该如何将 Zookeeper 服务器作为自动启动服务运行呢?
【问题讨论】:
标签: apache-zookeeper