很少說,直接上乾貨!html
參考博客mysql
http://blog.csdn.net/u012318074/article/details/72793914 (表示感謝)git
前期博客github
首先,查看下你的操做系統的版本。 sql
root@zhouls-virtual-machine:~# cat /etc/issue Ubuntu 14.04.4 LTS \n \l root@zhouls-virtual-machine:~#
這篇文章就來介紹一下我將 Neo4j 沙盒中的數據導入到本身的 Neo4j 數據庫的方法。你們能夠清楚的看到沙盒數據公開了不少,我這裏,僅此network-management。數據庫
使用 github 上的源數據:https://github.com/neo4j-contrib/sandbox-guidesapp
Clone this repo git clone git@github.com:neo4j-contrib/sandbox-guides.git
ide
cd sandbox-guides
post
git submodule init
ui
git submodule update
Edit {USE-CASE}/{GUIDE-NAME-HERE}.adoc
{USE-CASE}/render.sh [publish]
Open Neo4j Browser and run :play http://localhost:8001/{USE-CASE}
第一步:克隆下載
選擇一個要存放這個數據的文件夾,我存放的目錄爲/usr/local/app/neo4j-community-3.2.0/data/databases,使用 Git 方法下載文件,在目錄下執行 root@nssa-sensor1:/opt/neo4j/neo4j-community-3.2.0/data/databases# git clone https://github.com/neo4j-contrib/sandbox-guides.git
root@zhouls-virtual-machine:/usr/local/app/neo4j-community-3.2.0# pwd /usr/local/app/neo4j-community-3.2.0 root@zhouls-virtual-machine:/usr/local/app/neo4j-community-3.2.0# ls bin conf import LICENSES.txt logs plugins run certificates data lib LICENSE.txt NOTICE.txt README.txt UPGRADE.txt root@zhouls-virtual-machine:/usr/local/app/neo4j-community-3.2.0# cd data/ root@zhouls-virtual-machine:/usr/local/app/neo4j-community-3.2.0/data# ls databases dbms root@zhouls-virtual-machine:/usr/local/app/neo4j-community-3.2.0/data# cd databases/ root@zhouls-virtual-machine:/usr/local/app/neo4j-community-3.2.0/data/databases# ls graph.db root@zhouls-virtual-machine:/usr/local/app/neo4j-community-3.2.0/data/databases# git clone https://github.com/neo4j-contrib/sandbox-guides.git
再次執行便可,這個很簡單。