安装或设置

转到安装 Neo4j ,它应该通过 Web 浏览器检测 OS 平台,下载并按照操作系统的常规安装说明进行操作。

Neo4j 是用 Java 创建的,因此可以在安装了 Java 的任何平台上运行,但是 Neo4j 团队通过为流行平台提供简单的安装包来简化安装(例如,针对 Mac 的 .dmg,针对 Debian 和 Ubuntu 的 .deb,.exe。适用于 Windows 64 和 32 位平台……)。

要查看其他可用的版本和平台,请参阅其他 Neo4j 版本页面

将 Neo4j 设置为 Docker 容器:

## Required : Docker machine, docker cli

# Pull neo4j image from the docker hub
docker pull neo4j

# create the docker container
docker run \
    --publish=7474:7474 --publish=7687:7687 \
    --volume=$HOME/neo4j/data:/data \
    neo4j

# If you are running docker directly on the host (e.g ubuntu, RHEL, CentOs etc)
#     Access the neo4j console at http://localhost:7474
# If you are on OSX/ Windows
#     Access the neo4j console at http://<docker-machine-ip>:7474