neo4j社区V1.9.4-如何配置IP地址和默认数据库位置? [英] neo4j community V1.9.4 - how to configure IP address and default database location?

查看:550
本文介绍了neo4j社区V1.9.4-如何配置IP地址和默认数据库位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅安装了Neo4j社区v1.9.4-感谢Windows Desktop Launcher.几个配置问题:

Just installed Neo4j community v1.9.4 - thanks for Windows Desktop Launcher. A couple of configuration questions:

1)如何设置网络服务器以侦听任何连接?在以前的版本中,我可以将Web服务器设置为侦听0.0.0.0.在新版本中,属性文件(neo4j-server.properties)不再显示.

1) How can I set the webserver to listen to any connection? In the previous versions I could set the webserver to listen on 0.0.0.0; With the new version, the properties file (neo4j-server.properties) doesn't appear any longer.

2)是否可以从桌面启动器更改默认数据库的起始位置?我正在使用以前创建的数据库,每次启动时都必须将启动器指向该数据库.

2) From the desktop launcher, is it possible to change the default database starting location? I am working with a previously created database and have to point the launcher at it every time I start.

谢谢.

推荐答案

启动neo4j-community.exe时,会弹出一个窗口(neo-4-j 2.2.2版). 在左下角,找到一个名为 Options ...

When you start neo4j-community.exe, a window pops up (neo-4-j Version 2.2.2). In the lower left corner, you find a button named Options...

按此按钮,您将找到配置文件. C:\ Users \ YOUR_NAME_HERE \ AppData \ Roaming \ Neo4j社区\ neo4j-server.properties

Press this button, and you will find the configuration files. C:\Users\YOUR_NAME_HERE\AppData\Roaming\Neo4j Community\neo4j-server.properties

当您按下编辑..."时,您可以编辑所需的文件-在您的情况下,可以在服务器配置"部分中编辑该文件.

When you push "Edit..." you can edit the files you want - in your case the file in the "Server Configuration" section.

只需添加

# Disable authorization
dbms.security.auth_enabled=false

但请注意此处 http://neo4j.com/docs/stable/security-server.html#security-server-auth

希望有帮助

这篇关于neo4j社区V1.9.4-如何配置IP地址和默认数据库位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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