数据库
首页 > 数据库> > neo4j图数据库安装部署

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

 

 

标签:dbms,additional,部署,数据库,connector,XX,jvm,neo4j
来源: https://www.cnblogs.com/zhouwanchun/p/16620094.html