Where is neo4j-server.properties on Windows?

前端 未结 8 1728
[愿得一人]
[愿得一人] 2020-12-17 01:11

On Windows, where is neo4j-server.properties as described in this documentation?

http://docs.neo4j.org/chunked/stable/security-server.html

I can

相关标签:
8条回答
  • 2020-12-17 01:11

    I'm using the Windows 32 community version 2.0.3. To edit any of the properties, there's "settings" button in the GUI (where you start the database from)?

    0 讨论(0)
  • 2020-12-17 01:13

    Download the windows community binary 64bit .zip from 'Other Versions'. You'll need to install the JDK 7 and set the JAVA_HOME path variable. All folders, including Conf, are exposed and you can control the the default port and localhost bindings per documentation.

    0 讨论(0)
  • 2020-12-17 01:14

    The conf file is created under AppData\Roaming\Neo4j Community Edition when you click on edit in server configuration (Options GUI)

    0 讨论(0)
  • 2020-12-17 01:19

    Ok I think I know what's going on: You installed 1.9.4 stable via the new simplified Windows Installer? If so: That seems to be a very limited 'dev' installer. It has a simple MSI, it has a simple GUI to let you select the database, and then you do everything from the web console. This is a departure from previous methods of installing on Windows. I tried it out, and I abandoned it because I need full control of the configuration. The conf files, normally found in a conf folder parallel to the bin folder, are not installed with this installer.

    If you want the traditional installer, grab the enterprise download.

    That said: I wouldn't waste time on the 1.9.x branch unless you're running in production. If you're still in dev/test, I'd go straight to 2.0 (milestone 6 is now available). You'll get Labels (reason enough to switch), updated Cypher engine, and lots of other improvements. Also: the 2.0 installer is still a traditional configuration, complete with conf folder, where you can make all the configuration changes you need to make.

    EDIT The download link for the zip version is now back, so you can choose either the exe or zip version of installation. This means you can install 1.9.4 just like before, and have full access to all the configuration files.

    EDIT 2 After a bit of email exchange w/someone at Neo Technology, I found out that, for this particular installer, everything needed is bundled into a single JAR file. if you look in the bin folder after installing, you'll see these files:

    Neo4j Windows installation - JAR files

    If you search the JAR file (via 7zip or something similar), you'll find the default server configuration file:

    Default server config

    I suspect you could place the neo4j-server.properties file into the JAR file here as well (though I haven't tried).

    0 讨论(0)
  • 2020-12-17 01:20

    Under ...\<neo4j-community-1.8.2>\conf directory.

    0 讨论(0)
  • 2020-12-17 01:21

    A bit late, but I spent a while on searching for it today. The seo4j-server.properties file is at (absolute path example):

    C:\Users\username\AppData\Roaming\Neo4j Community\neo4j-server.properties
    

    It is accessible from Neo4j GUI - under the "Setting" button. I have tried it with Community version 2.1.6 and it works fine.

    0 讨论(0)
提交回复
热议问题