【问题标题】:installation & configuration of gremlin-neo4j Ubuntugremlin-neo4j Ubuntu的安装和配置
【发布时间】:2018-04-19 06:37:22
【问题描述】:

我在我的 Ubuntu 中安装了 neo4j 现在我需要将该 neo4j 图形数据库配置到 gremlin 控制台。 我需要 gremlin 的全新安装过程,并将其配置到 Neo4j GDB。 谁能分享我的说明。

【问题讨论】:

  • 你能列出你所有的文件夹名称和版本吗
  • 还有你安装的所有库
  • neo4j community 3.3.4 安装在我的 ubuntu 系统中。我已经下载了 apache tinkerpop gremlin-server 3.3.2、gremlin-console 3.3.2。我已经在文档目录中提取了两者。 Neo4j 已完全安装,并且可以使用 Cypher Query 语言。我需要我的 Neo4j 与 gremlin 一起使用。如何配置。

标签: neo4j gremlin tinkerpop3 gremlin-server


【解决方案1】:
  1. 按照the documentation here 中的说明配置 Grape

创建一个新文件~/.groovy/grapeConfig.xml(如果尚不存在)。

添加以下内容:

<ivysettings>
  <settings defaultResolver="downloadGrapes"/>
  <resolvers>
    <chain name="downloadGrapes">
      <filesystem name="cachedGrapes">
        <ivy pattern="${user.home}/.groovy/grapes/[organisation]/[module]/ivy-[revision].xml"/>
        <artifact pattern="${user.home}/.groovy/grapes/[organisation]/[module]/[type]s/[artifact]-[revision].[ext]"/>
      </filesystem>
      <ibiblio name="ibiblio" m2compatible="true"/>
    </chain>
  </resolvers>
</ivysettings>

插件安装过程由 Grape 处理,这有助于 将依赖项解析到类路径中。

  1. 在 gremlin 服务器上安装 neo4j 依赖项,如 the documentation here 中所述

cd YOUR_SERVER_LOCATION

bin/gremlin-server.sh install org.apache.tinkerpop neo4j-gremlin 3.3.3

然后您将在 YOUR_SERVER_LOCATION/ext

中看到文件夹 neo4j-gremlin
  1. 启动服务器

bin/gremlin-server.sh conf/gremlin-server-neo4j.yaml

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-09-06
    • 1970-01-01
    • 1970-01-01
    • 2016-11-30
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多