Ubuntu14.04下沙盒數據導入到 Neo4j 數據庫(圖文詳解)

 

 

  很少說,直接上乾貨!html

 

 

 

  參考博客mysql

http://blog.csdn.net/u012318074/article/details/72793914   (表示感謝)git

 

 

 

 

 

 

  前期博客github

Neo4j沙盒實驗申請過程步驟(圖文詳解)

Ubuntu14.04下Neo4j圖數據庫官網安裝部署步驟(圖文詳解)(博主推薦)

 

 

 

 

 

 

 

 

  首先,查看下你的操做系統的版本。 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

 

 

Neo4j browser guides for sandbox instances

Available Use Cases

  • us-elections-2016
  • blank-sandbox

Render / deploy guides for a use case

  1. Clone this repo git clone git@github.com:neo4j-contrib/sandbox-guides.gitide

  2. cd sandbox-guidespost

  3. git submodule initui

  4. git submodule update

  5. Edit {USE-CASE}/{GUIDE-NAME-HERE}.adoc

  6. {USE-CASE}/render.sh [publish]

  7. 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

 

 

 

 

 

 

 

  再次執行便可,這個很簡單。

相關文章
相關標籤/搜索