Elastic Kibana - Install as windows service

#1 经过windows sc 服务命令安装

sc create "Kibana661" binPath= "{path}\kibana.bat" depend= "{elasticsearch service name}" 

    # {path} kibana bin目录的完整路径
    # {elasticsearch service name} elasticsearch 服务名称

存在问题windows

      每次启动服务时,报错提示:没法启动服;实际测试能够正常使用Kibana提供的管理服务elasticsearch

#2 使用 NSSM 服务管理助手进行安装,并配置环境变量

   NSSM具体使用方法详见官网测试

#1.nssm UI安装 Kibana服务命令行

1.nssm install kibana661
    2.UI: choose kibana.bat as Application Path
    3.UI: select a log file to write to on "I/O" tab for stdout and stderr
    4.UI: on the "Dependencies" tab enter elasticsearch661 (or whatever you called it)
    5.UI: "Install Service"
    6.sc start kibana661

#2. nssm 命令行安装 Kibana服务code

nssm install kibana661 "D:\kibana-6.6.1-windows-x86_64\bin\kibana.bat"
相关文章
相关标签/搜索