neo4j图数据库安装部署

2022/8/25 2:23:26

本文主要是介绍neo4j图数据库安装部署,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

wget -c https://dist.neo4j.org/neo4j-community-4.4.10-unix.tar.gz
mkdir -p /data/neo4j
tar -xf jdk-11.0.16.1_linux-x64_bin.tar.gz -C /usr/local/
tar -xf neo4j-community-4.4.10-unix.tar.gz -C /data/neo4j/
cd /data/neo4j/neo4j-community-4.4.10/

 

vim /etc/profile
export JAVA_HOME=/usr/local/jdk-11.0.16.1
export PATH=$JAVA_HOME/bin:$PATH
export PATH=/data/neo4j/neo4j-community-4.4.10/bin:$PATH
source /etc/profile

 

neo4j --version
neo4j 4.4.10

 

# grep -Ev "^#|^$" conf/neo4j.conf
dbms.directories.import=import
dbms.memory.heap.initial_size=512m
dbms.memory.heap.max_size=512m
dbms.memory.pagecache.size=1g
dbms.tx_state.memory_allocation=ON_HEAP
dbms.default_listen_address=0.0.0.0
dbms.connector.bolt.enabled=true
dbms.connector.bolt.listen_address=:7687
dbms.connector.http.enabled=true
dbms.connector.http.listen_address=:7474
dbms.connector.https.enabled=false
dbms.connector.https.listen_address=:7473
dbms.security.allow_csv_import_from_file_urls=true
dbms.tx_log.rotation.retention_policy=1 days
dbms.databases.default_to_read_only=false
dbms.jvm.additional=-XX:+UseG1GC
dbms.jvm.additional=-XX:-OmitStackTraceInFastThrow
dbms.jvm.additional=-XX:+AlwaysPreTouch
dbms.jvm.additional=-XX:+UnlockExperimentalVMOptions
dbms.jvm.additional=-XX:+TrustFinalNonStaticFields
dbms.jvm.additional=-XX:+DisableExplicitGC
dbms.jvm.additional=-XX:MaxInlineLevel=15
dbms.jvm.additional=-XX:-UseBiasedLocking
dbms.jvm.additional=-Djdk.nio.maxCachedBufferSize=262144
dbms.jvm.additional=-Dio.netty.tryReflectionSetAccessible=true
dbms.jvm.additional=-Djdk.tls.ephemeralDHKeySize=2048
dbms.jvm.additional=-Djdk.tls.rejectClientInitiatedRenegotiation=true
dbms.jvm.additional=-XX:FlightRecorderOptions=stackdepth=256
dbms.jvm.additional=-XX:+UnlockDiagnosticVMOptions
dbms.jvm.additional=-XX:+DebugNonSafepoints
dbms.jvm.additional=-Dlog4j2.disable.jmx=true
dbms.windows_service_name=neo4j

 

neo4j start
http://10.0.0.11:7474
ps -ef | grep neo4j
账号/密码 neo4j/neo4j

 

 



这篇关于neo4j图数据库安装部署的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程