Stand-alone installation steps --- neo4j ttlsa tutorial series (a)

dirty_background_ratio = 50 vm.dirty_ratio = 80 and then execute the following command to take effect # sysctl -p 6. configure the firewall needs to open the following ports: 7474 to service the external HTTP port, you need to be open to other servers need to be accessed, primarily using HTTP port. 7473 to service the external HTTPS port. 7. Install neo4j in http://www.neo4j.org/install download the stable version $ NEO4J_HOME enterprise directory after downloading unzip mainly created neo4j users, user groups and service ($ NEO4J_HOME as neo4j directory) # $ NEO4J_HOME / bin / neo4j install 8. Neo4j configuration master configuration file conf / neo4j-server.properties configuration log file conf / log4j.properties low-level performance tuning parameter configuration file conf / neo4j.properties Deamonizing wrapper profile conf / neo4j-wrapper.properties HTTP logging configuration file conf / neo4j-http-logging.xml modify the following configuration files: neo4j-server.properties # vim $ NEO4J_HOME / conf / neo4j-server.properties org.neo4j.server.database.location = / data / neo4j / graph.db // database storage path, modify org.neo4j.server.webserver.address = 10.1.242.125 // web management interface listens address the actual situation, the default 127.0.0.1 binding recommendations, including the network and do limit. org. neo4j.server.webserver.port = 7474 // web management interface listening port, default 7474 org.neo4j.server.webadmin.rrdb. location = / data / neo4j / rrd // set the polling information collection instance database directory org.neo4j.server.webadmin.data.uri = / db / data / // URI path is provided through the REST API access data. Note: the back / can not be omitted. org.neo4j.server.webadmin.management.uri = / db / manage / // management tools provided by webadmin URI org.neo4j.server.db.tuning.properties = conf / neo4j.properties // low-level engine performance tuning FIG. parameter file org.neo4j.server.manage.console_engines = // security considerations prohibit the use webadmin shell, gremlin end control code execution. To prohibit empty shell, gremlin. The default is allowed. # Allowed values:. # HA - High Availability # SINGLE - Single mode, default # To run in High Availability mode, configure the coord.cfg file, and the # neo4j.properties config file, then uncomment this line: # org.neo4j .server.database.mode = HA // see HA series org.neo4j.server.http.log.enabled = true // turn on HTTP logs. HTTP common log format. org.neo4j.server.http.log.config = conf / neo4j-http-logging.xml // specified log directory, recording format, Roller and strategy. Note: If the log directory does not exist or is not writable, the service failed to start. neo4j-http-logging.xml # vim neo4j-http-logging. preferIPv4Stack = true // force the use of the IPv4 network. By default, listens on the IPv6 network. Under logging.properties # vim logging.properties default, screens and wheel rolling log file log level is INFO. java.util.logging.ConsoleHandler.level = INFO // if silence like console output, this is set to OFF java.util.logging.FileHandler.pattern = data / log / neo4j.% u.% g.log // log file location and format java.util.logging.FileHandler.limit = 10000000 // log file size, default 10M java.util.logging.FileHandler.count = 10 // log roller and frequency neo4j-wrapper.conf # vim neo4j- wrapper.conf // JVM performance tuning wrapper.java.initmemory // java heap size wrapper.java.maxmemory // initialize the maximum heap size wrapper.java.additional.N // java JVM additional parameter, N is a number neo4j.properties # vim $ NEO4J_HOME / conf / neo4j.properties node_auto_indexing = true node_keys_indexable = uid, mobile, guid // change the startup # $ NEO4J_HOME $ / bin / neo4j start or service neo4j start validated against business: # $ NEO4J_HOME $ / bin / neo4j status

Reproduced in: https: //my.oschina.net/766/blog/211042

Guess you like

Origin blog.csdn.net/weixin_33800463/article/details/91548004