将Neo4j 3.0+安装为Windows服务 [英] Install Neo4j 3.0+ as a windows service

查看:155
本文介绍了将Neo4j 3.0+安装为Windows服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人尝试在Windows中将neo4j版本3作为服务安装吗?我对neo4j社区版本3.1.0和3.2.0 alpha感到厌倦.尝试启动服务时出现以下错误.

Anyone tried installing neo4j version 3 in windows as a service? I tired neo4j community version 3.1.0 and 3.2.0 alpha. I am getting following error when try to start the service.

Invoke-Neo4j:无法启动服务"Neo4j图形数据库-neo4j(neo4j)".在第1行:char:211 + ... t.psd1';退出(Invoke-Neo4j启动)+ ~~~~~~~~~~~~~~~~~ + + CategoryInfo:未指定:(:) [Write-Error],WriteErrorException + FullyQualifiedErrorId:Microsoft.PowerShell.Commands. WriteErrorException,Invoke-Neo4j

Invoke-Neo4j : Failed to start service 'Neo4j Graph Database - neo4j (neo4j)'. At line:1 char:211 + ... t.psd1'; Exit (Invoke-Neo4j start) + ~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-Neo4j

推荐答案

我也遇到了同样的问题,并通过以下方式得到解决:

I was facing the same issue and got resolved in this way:

您必须以管理员身份运行PowerShell:

  • 设置NEO4J_HOME D:\ neo4j-community-3.3.0 {将其更改为安装目录}
  • 转到您的安装目录:
  • ./bin/neo4j.bat安装服务{首次启动服务器时}
  • ./bin/neo4j.bat启动

我的Powershell屏幕截图

这篇关于将Neo4j 3.0+安装为Windows服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆