Bootstrap

neo4j 安装 (提供镜像下载方式

neo4j 安装

docker

# 获取镜像
docker pull neo4j:community

# 启动
docker run \
    --publish=7474:7474 --publish=7687:7687 \
    neo4j:community

file download

文件下载的方式,访问 URL:https://neo4j.com/deployment-center/ 然后选择对应的平台,以及对应的社区版本或者企业版本即可

大陆下载方式

我们下载的时候可能会遇到一些网速问题这里提供一个国内版本 https://we-yun.com/doc/neo4j-chs/4.4.40/

启动

  1. tar -zxvf 文件名字
  2. 什么都不需要更改直接启动 bin\neo4j console
❯ ./bin/neo4j console
Directories in use:
home:         /Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix
config:       /Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix/conf
logs:         /Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix/logs
plugins:      /Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix/plugins
import:       /Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix/import
data:         /Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix/data
certificates: /Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix/certificates
licenses:     /Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix/licenses
run:          /Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix/run
Starting Neo4j.
2025-01-11 15:03:37.184+0000 INFO  Starting...
2025-01-11 15:03:37.776+0000 INFO  This instance is ServerId{14f07b9a} (14f07b9a-34a8-452f-a5fc-17c418748b26)
SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
SLF4J(W): Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier.
SLF4J(W): Ignoring binding found at [jar:file:/Users/a1-6/Desktop/res/soft/neo4j-chs-community-4.4.40-unix/lib/slf4j-nop-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J(W): See https://www.slf4j.org/codes.html#ignoredBindings for an explanation.
2025-01-11 15:03:38.431+0000 INFO  ======== Neo4j 4.4.40 ========
2025-01-11 15:03:42.114+0000 INFO  Initializing system graph model for component 'security-users' with version -1 and status UNINITIALIZED
2025-01-11 15:03:42.120+0000 INFO  Setting up initial user from defaults: neo4j
2025-01-11 15:03:42.120+0000 INFO  Creating new user 'neo4j' (passwordChangeRequired=true, suspended=false)
2025-01-11 15:03:42.141+0000 INFO  Setting version for 'security-users' to 3
2025-01-11 15:03:42.146+0000 INFO  After initialization of system graph model component 'security-users' have version 3 and status CURRENT
2025-01-11 15:03:42.152+0000 INFO  Performing postInitialization step for component 'security-users' with version 3 and status CURRENT
2025-01-11 15:03:42.971+0000 INFO  Bolt enabled on localhost:7687.
2025-01-11 15:03:43.357+0000 INFO  Remote interface available at http://localhost:7474/
2025-01-11 15:03:43.359+0000 INFO  id: 73C22D44CB01385DDB9CE6EFC5CB0F009DA47129943797B8E290AA92FAA89E89
2025-01-11 15:03:43.359+0000 INFO  name: system
2025-01-11 15:03:43.359+0000 INFO  creationDate: 2025-01-11T15:03:39.157Z
2025-01-11 15:03:43.359+0000 INFO  Started.
;