【发布时间】:2015-02-04 00:09:45
【问题描述】:
我正在尝试在现有的 EC2 (Amazon linux) 实例上安装 Neo4j 的企业版。到目前为止,我已经
wget "企业链接"
解压文件
重命名文件夹并将其移至 NEO4J_HOME
然后进入 neo4j.properties 的配置文件进行以下更改:
# Enable shell server so that remote clients can connect via Neo4j shell.
remote_shell_enabled=true
# The network interface IP the shell will listen on (use 0.0.0 for all interfaces)
remote_shell_host=127.0.0.1
# The port the shell will listen on, default is 1337
remote_shell_port=1337
已编辑 Christophe Willemsen 指出,对于我最初的错误,我当时忘记重新启动服务器,但在 Web 服务器运行时我仍然无法访问它。所以为了更清楚,我编辑了剩下的帖子:
我去了 neo4j-server.properties 并取消注释:
org.neo4j.server.webserver.address=0.0.0.0
并启动服务器
NEO4J_HOME/bin/neo4j start
WARNING: Max 1024 open files allowed, minimum of 40 000 recommended. See the Neo4j manual.
Using additional JVM arguments: -server -XX:+DisableExplicitGC -Dorg.neo4j.server.properties=conf/neo4j-server.properties -Djava.util.logging.config.file=conf/logging.properties -Dlog4j.configuration=file:conf/log4j.properties -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:-OmitStackTraceInFastThrow
Starting Neo4j Server...WARNING: not changing user
process [28557]... waiting for server to be ready..... OK.
http://localhost:7474/ is ready.
检查状态:
NEO4J_HOME/bin/neo4j status
Neo4j Server is running at pid 28557
我可以运行 shell,但是当我转到 localhost 7474 时仍然无法连接
任何帮助将不胜感激。我发现的唯一教程或帮助假设我是从头开始使用一个新实例。如果有人可以提供一些安装或修复我的配置的说明,那就太好了。
谢谢!
【问题讨论】:
-
你启动neo4j服务器了吗?
-
neo4j-shell 也不是 Web 界面,请确保在您的防火墙配置中使端口 7474 可访问
-
也许this link 可以帮助你。它还使用 Neo4j 企业版
标签: amazon-web-services amazon-ec2 neo4j