简体   繁体   English

如何解决`neo4j:找不到命令`错误

[英]How to solve `neo4j: command not found` error

I followed the steps on debian - stable installation instructions verbatim. 我遵循了debian上的步骤-逐字稳定的安装说明

However, when I run the last step I get: 但是,当我运行最后一步时,我得到:

cammil@cammil-desktop:~$ neo4j start
neo4j: command not found

How do I resolve this? 我该如何解决?

You can start the neo4j server with: 您可以使用以下方法启动neo4j服务器:

service neo4j-service start

But, if you are able to access localhost:7474, then the server has already been started. 但是,如果您能够访问localhost:7474,则服务器已经启动。 You can check the status with: 您可以通过以下方式查看状态:

service neo4j-service status

Or if you want to stop it: 或者,如果您想停止它:

service neo4j-service stop

You probably don't have . 你可能没有。 in your PATH, so you need to do ./neo4j start. 在PATH中,因此您需要执行./neo4j启动。 From Here 这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM