Windowsでconsulを実行しようとしていますが、私の手順は次のとおりです。
- consul.exe をダウンロード
nssmのようにインストールします
2.1.
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))2.2.
choco install -y nssmconsul の構成ファイルを作成します。
{ "bootstrap": false, "server": true, "datacenter": "MyServices", "data_dir": "C:\Marchello\Downloads\cons\data", "log_level": "INFO" }nssm コマンドを実行します。
nssm install Consul C:\Marchello\Downloads\cons\consul.exe agent -config-dir C:\Marchello\Downloads\cons\config --ui-dir C:\Marchello\Downloads\cons\uiメッセージを受け取りました
Service Consul installed successfully- コマンド
nssm start Consulを実行すると、次のメッセージが表示されます。Consul: Unexpected status SERVICE_PAUSED in response to START control
私は混乱しています、私は間違っていますか?