安装 Neo4j Ubuntu 18.04

Gau*_*rma 3 software-installation neo4j 18.04

我正在关注此博客以在 Ubuntu 18.04 中安装最新的 Neo4j。

我已经使用以下命令更新了 ubuntu。

$ sudo apt-get update
$ sudo apt-get dist-upgrade
Run Code Online (Sandbox Code Playgroud)

当我Neo4j每次收到错误时都按照安装步骤进行操作时:

Unable to locate package neo4j
Run Code Online (Sandbox Code Playgroud)

问题在这里:

$ sudo apt-get udpate

Reading package lists... Done                                                                   
E: Release file for https://debian.neo4j.org/repo/stable/Release is not valid yet (invalid for another 1min 22s). Updates for this repository will not be applied.
W: Debian shuts down public FTP services currently still used in your sources.list(5) as 'ftp://ftp.nl.debian.org/debian/'.
   See press release https://debian.org/News/2017/20170425 for details.
Run Code Online (Sandbox Code Playgroud)

Vis*_*u M 11

我也有同样的问题。


为了在 ubuntu 18.04 中安装 neo4j 以
root 身份输入

$ sudo su
Run Code Online (Sandbox Code Playgroud)

按着这些次序

$ wget --no-check-certificate -O - https://debian.neo4j.org/neotechnology.gpg.key | sudo apt-key add -
$ echo 'deb http://debian.neo4j.org/repo stable/' > /etc/apt/sources.list.d/neo4j.list
$ apt update
$ apt install neo4j
Run Code Online (Sandbox Code Playgroud)


这会帮助你..

  • 我建议添加启用 TLS 的 https://debian.neo4j.org/repo - 而不是明文 HTTP。 (3认同)