加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

Elastic Kibana - Install as windows service

发布时间:2020-12-14 02:29:36 所属栏目:Windows 来源:网络整理
导读:#1 通过windows sc 服务命令安装 sc create "Kibana661" binPath= "{path}kibana.bat" depend= "{elasticsearch service name}" # {path} kibana bin目录的完整路径 # {elasticsearch service name} elasticsearch 服务名称 存在问题 ??????每次启动服务时

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

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

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

存在问题

??????每次启动服务时,报错提示:无法启动服;实际测试可以正常使用Kibana提供的管理服务

#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服务

nssm install kibana661 "D:kibana-6.6.1-windows-x86_64binkibana.bat"

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读