Neo4j 简明教程
Neo4j - Environment Setup
在本章中,我们将讨论如何使用 exe 文件在系统中安装 Neo4j。
In this chapter, we will discuss how to install Neo4j in your system using exe file.
Neo4j Database Server Setup with Windows exe File
按照下列步骤下载 Neo4j 到你的系统中。
Follow the steps given below to download Neo4j into your system.
Step 1 − 使用 https://neo4j.com/ 访问 Neo4j 官方网站。单击此链接后,你将转到 neo4j 网站的主页。
Step 1 − Visit the Neo4j official site using https://neo4j.com/. On clicking, this link will take you to the homepage of neo4j website.

Step 2 − 如上图所示,此页面在右上角有一个“下载”按钮。单击此按钮。
Step 2 − As highlighted in the above screenshot, this page has a Download button on the top right hand side. Click it.
Step 3 − 你将转到下载页面,你可以在其中下载 Neo4j 的社区版和企业版。单击相应的按钮来下载该软件的社区版。
Step 3 − This will redirect you to the downloads page, where you can download the community edition and the enterprise edition of Neo4j. Download the community edition of the software by clicking the respective button.

Step 4 − 你将转到一个页面,你可以在其中下载与不同操作系统兼容的 Neo4j 软件的社区版。下载与所需操作系统相应的该文件。
Step 4 − This will take you to the page where you can download community version of Neo4j software compatible with different operating systems. Download the file respective to the desired operating system.

这会将一个名为 neo4j-community_windows-x64_3_1_1.exe 的文件下载到你的系统中,如下面的截图所示。
This will download a file named neo4j-community_windows-x64_3_1_1.exe to your system as shown in the following screenshot.

Step 5 − 双击 exe 文件以安装 Neo4j Server。
Step 5 − Double-click the exe file to install Neo4j Server.

Step 6 − 接受许可证协议并继续安装。在完成此过程后,你可以看到 Neo4j 已安装在你的系统中。
Step 6 − Accept the license agreement and proceed with the installation. After completion of the process, you can observe that Neo4j is installed in your system.
Starting the Server
Step 1 − 单击 Windows 开始菜单,并单击 Neo4j 的开始菜单快捷方式以启动 Neo4j 服务器。
Step 1 − Click the Windows startmenu and start the Neo4j server by clicking the start menu shortcut for Neo4j.

Step 2 - 单击快捷方式后,您将获得 Neo4j Community 版的一个窗口。默认情况下,它选择 c:\Users\[username]\Documents\Neo4j\default.graphdb。如果您愿意,可以将您的路径更改为不同的目录。
Step 2 − On clicking the shortcut, you will get a window for Neo4j Community edition. By default, it selects c:\Users\[username]\Documents\Neo4j\default.graphdb. If you want, you can change your path to a different directory.

Step 3 - 单击“启动”按钮以启动 Neo4j 服务器。
Step 3 − Click the "Start" button to start the Neo4j server.

服务器启动后,您可以观察到数据库目录已填充,如下面的屏幕截图所示。
Once the server starts, you can observe that the database directory is populated as shown in the following screenshot.

Working with Neo4j
正如前面章节中所讨论的,neo4j 提供了一个内置的浏览应用程序来与 Neo4j 配合使用。您可以使用以下网址访问 Neo4j http://localhost:7474/
As discussed in the previous chapters, neo4j provides an in-built browse application to work with Neo4j. You can access Neo4j using the URL http://localhost:7474/
