Ubuntu 20.04 上安装和配置 neo4j
最佳答案 问答题库338位专家为你答疑解惑
1. 进入要安装neo4j的ubuntu环境。
2. 添加Debian资源库。
java 1.8.xx版本对应neo4j 3.xx版本(jdk 11版本对应neo4j 4.xx版本):
(1)wget -O - https://debian.neo4j.com/neotechnology.gpg.key | sudo apt-key add -
(2)echo 'deb https://debian.neo4j.com stable 3.5' | sudo tee /etc/apt/sources.list.d/neo4j.list(或者:echo 'deb https://debian.neo4j.com stable 4.4' | sudo tee /etc/apt/sources.list.d/neo4j.list)
(3)sudo apt-get update
3. 安装社区版neo4j:
sudo apt-get install neo4j
4. 此时可查看其运行状态:
sudo systemctl status neo4j.service
5. 设置为在系统重新启动时启动:
(1)sudo systemctl enable neo4j.service
(2)sudo systemctl start neo4j.service
*(3)sudo systemctl status neo4j.service
6. 连接和配置neo4j。
(1)测试连接到数据库:
cypher-shell。
默认neo4j 用户名和 neo4j 密码。
:exit。
7. 修改密码。
~$ cypher-shell
username: neo4j
password: neo4j
neo4j> CALL dbms.changePassword('yournewpassword');
0 rows available after 24 ms, consumed after another 0 ms
neo4j>
8. 使用neo4j。
cypher-shell
登录到 neo4j后,就可以通过命令行进行查询以及将实体和关系添加到数据库中了。
neo4j>
References:
https://blog.csdn.net/BigData_Mining/article/details/122308250
如何在Ubuntu20.04上安装和配置Neo4j - 菜鸟教程
99%的人还看了
相似问题
- flink1.13.6版本的应用程序(maven版)
- 技术分享| gcc版本升级到5.2
- 基于 Glibc 版本升级的 DolphinDB 数据查询性能优化实践
- 解决requests 2.28.x版本SSL错误:证书验证失败
- UE5和UE4版本更新重大改变汇总。
- Docker build报错总结,版本过新大避雷!
- K8S1.23.5部署(此前1.17版本步骤囊括)及问题记录
- Mongodb3.4升级高版本mongoTemplate.executeCommand报错The cursor option is required
- onnx模型转换opset版本和固定动态输入尺寸
- centos安装指定版本docker
猜你感兴趣
版权申明
本文"Ubuntu 20.04 上安装和配置 neo4j":http://eshow365.cn/6-22061-0.html 内容来自互联网,请自行判断内容的正确性。如有侵权请联系我们,立即删除!
- 上一篇: JUC并发编程笔记2
- 下一篇: FlinkCDC for mysql to Clickhouse