Code Monkey home page Code Monkey logo

mygraph-neo4j's Introduction

mygraph-neo4j

use Neo4j and py2neo to construct graph

##1 neo4j安装

neo4j 官网下载  neo4j-community-2.2.1-unix.tar.gz(社区版-不支持集群)
tar -zvxf neo4j-community-2.2.1-unix.tar.gz
进入安装解压后的文件夹 ./bin/neo4j start

database 位置在本地:/home/neo4j/neo4j-community-2.2.1/data/graph.db

开启页面webadmin 打开页面http://localhost:7474/webadmin username: neo4j password: neo4j

页面服务: Dashboard / 可视化数据库增减变化 Data browser/ 迭代查询节点可视化网络结构 Console / neo4j的shell Indexes / 索引管理

系统设置需求: http://neo4j.com/docs/stable/linux-performance-guide.html#_file_system_benchmark

 /etc/security/limits.conf
  增加:  neo4j  soft  nofile  65535
          neo4j  hard  nofile  65535
/etc/pam.d/su
  取消注释:   session  required  pam_limits.so

本地服务器开启shell命令行:

进入路径:
   /home/neo4j/neo4j-community-2.2.1
开启本地db对应的shell命令行
   ./bin/neo4j-shell -path home/ubuntu5/neo4j/neo4j-community-2.2.1/db/data
进入后 neo4j-sh (?)$

##2 py2neo安装

 pip install py2neo

官网 py2neo.org/2.0/

mygraph-neo4j's People

Contributors

huxiaoqian avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.