CentOS7安装配置ArangoDB3.4.1图形数据库、NOSQL资料

https://www.arangodb.com/tutorials/cn-tutorial-sync-java-driver/
https://www.arangodb.com/why-arangodb/cn/
ArangoDB、Neo4j、OrientDB单机性能比较
PostgreSQL,MongoDB,Neo4j,OrientDB和ArangoDB比较
你选择图数据库的原因只是因为它很火吗
图形数据库Neo4J简介
https://www.oschina.net/p/arangodb
https://www.cnblogs.com/rubinorth/p/5846140.html
https://blog.csdn.net/zombres/article/details/79207348
http://spring.io/projects/spring-data
https://github.com/anderick/spring-data-arangodb
https://blog.csdn.net/a499477783/article/details/79177307#comments
Linux服务器安装ArangoDB数据库
ArangoDB安装配置教程
ArangoDB数据库入门 Windows安装
https://blog.csdn.net/u011202334/article/details/50440206 如何理性选择适合自己的数据库?
https://blog.csdn.net/shenshouer/article/details/7365708 谁是王者?七款主流图形数据库功能对比

ArangoDB入门教程(六)画Graph
ArangoDB安装:
下载地址
社区版本下载
CentOS7 安装 ArangoDB

yum -y install arangodb3-debuginfo-3.4.1  不是必须的
cd /etc/yum.repos.d/
curl -OL https://download.arangodb.com/arangodb34/RPM/arangodb.repo
yum -y install arangodb3-3.4.1

或者 先下载安装包 然后

rpm -ivh arangodb3-3.4.0-1.0.x86_64.rpm
rpm -e --nodeps arangodb3-3.4.0-1.0.x86_64  卸载安装包

历史版本
安装成功之后查看,配置文件路径

/etc/arangodb3/arangod.conf

Start ArangoDB shell client:

/usr/bin/arangosh

Enable ArangoDB service:

systemctl enable arangodb3.service

Start ArangoDB service:

systemctl start arangodb3.service

执行如下命令,修改root密码

sudo systemctl stop arangodb3 # 关闭服务器
sudo arango-secure-installation  //设置密码,root 账户
/var/log/arangodb3/arangod.log
/var/lib/arangodb3-apps
/arangodb3/apps

然后 修改配置文件(修改时注意格式),实现远程登录

vi  /etc/arangodb3/arangod.conf
修改  endpoint = tcp://127.0.0.1:8529 为  endpoint = tcp://0.0.0.0:8529

保存后,重启数据库

systemctl enable arangodb3.service
systemctl start arangodb3.service
systemctl  restart arangodb3

或者先停止,再启动

sudo systemctl status arangodb3  查看数据库运行状态

sudo systemctl stop arangodb3 # 关闭服务器
arango-secure-installation # 可以免密码进入web界面

使用arangodb数据库时可以直接在xshell中

sudo arangod

阿里云中安全组开启8529端口访问
浏览器中输入
http://ip:8529 //看清楚了,是http,不是https

root 密码登录
在这里插入图片描述

https://my.oschina.net/electrician/blog/1799300
https://github.com/arangodb/spring-data-demo/blob/master/pom.xml
https://github.com/arangodb/spring-data-demo
https://www.cnblogs.com/bonelee/p/6244006.html
https://www.arangodb.com/
https://www.arangodb.com/why-arangodb/cn/
https://www.cnblogs.com/boboooo/p/8550268.html
Springboot集成 ArangoDb
https://github.com/mguilherme/arangodb-sample
https://github.com/arangodb/spring-data-demo

更新于2018年11月7日22:21

arangodb学习教程
https://www.arangodb.com/tutorials/cn-tutorial-sync-java-driver/
https://blog.csdn.net/rensihui/article/details/78018323
https://blog.csdn.net/u010159842/article/details/80727950

eclipse安装lombok插件,导入Maven项目,引用了lombok,get,set方法报错
找到lombok.jar 双击,安装后,重启eclipse,clean项目,重新编译

https://www.cnblogs.com/minglex/p/9524264.html
https://github.com/arangodb/arangodb/issues/4062
https://blog.csdn.net/c1052981766/article/details/79471418
https://yq.aliyun.com/ziliao/195684 高级使用
https://www.arangodb.com/
https://www.arangodb.com/tutorials/mongodb-to-arangodb-tutorial/
https://blog.csdn.net/yuzongtao/article/details/76061897 ArangoDB AQL中的图形绘制遍历
AQL(ArangoDB’ query language)ArangoDB
http://www.fromgeek.com/it/123964.html ArangoDB 入门指南
https://www.howtoing.com/how-to-install-and-use-arangodb-on-ubuntu-14-04/
https://blog.csdn.net/AinUser/article/details/81296142 arangodb官网学习(自总结)
https://yq.aliyun.com/ziliao/195684 ArangoDB高级操作
https://www.arangodb.com/tutorials/cn-tutorial-sync-java-driver/
https://blog.csdn.net/c1052981766/article/details/79472289 ArangoDB之SQL/AQL-比较 外连接(outer join) 分组汇集
https://www.daimafans.com/article/d4807910888570880-p1-o1.html
https://www.hackcloud.cn/hackcloud-1058.html ArangoDB AQL 语法
https://www.arangodb.com/why-arangodb/sql-aql-comparison/ ArangoDB之SQL/AQL-比较
https://www.arangodb.com/arangodb-training-center/tutorials-aql-query-profiling/
https://www.arangodb.com/tutorials/spring-data/part2-crud-operations-query-example/
https://www.arangodb.com/tutorials/spring-data/part3-derived-queries-relations/
https://www.arangodb.com/tutorials/spring-data/part4-query-methods/

Anargodb
所有关键字COLLECT、WITH和RETURN等都是大写的,但它只是一个约定。你也可以将所有关键词小写或混合大小写。但是变量名、属性名和集合名是区分大小写的。
http://www.cnblogs.com/minglex/p/9383849.html ArangoDB简单实例介绍
https://blog.csdn.net/rensihui/article/details/78804706 ArangoDB入门教程(四)java操作ArangoDB数据库

Parameter 1 of constructor in com.arangodb.springframework.repository.SimpleArangoRepository 
required a bean of type 'java.lang.Class' that could not be found.

原因:自己定义的包结构和arangodb的包名冲突,代码中写的是@EnableArangoRepositories(basePackages = { “com.arangodb” })
arangodb中的包也是以com.arangodb开头的,导致扫描别人的包了
直接扫描系统包了,自己的应用换包名即可。一直以为是自己其他地方代码写的有问题,耗费了几个小时的时间,关键是很无助,无从下手,网上也没资料。后来一点一点尝试,验证,发现问题所在。从早晨6点起来就开始遇到这个问题,现在找到原因了
更新于2018年11月10日 9:00

错误: 找不到或无法加载主类 com.test.ArangoDbApplication

Maven clean 后,需要Maven Install

Caused by: java.lang.IllegalStateException: You have defined query method in the repository but you don't have any query lookup strategy defined.
 The infrastructure apparently does not support query methods!

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userRepository': Invocation of init method failed; nested exception is java.lang.IllegalStateException: 
You have defined query method in the repository but you don't have any query lookup strategy defined. The infrastructure apparently does not support query methods!
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1745) ~[spring-beans-5.1.2.RELEASE.jar:5.1.2.RELEASE]

已解决。出现问题是使用的springboot 2.1.0。改为springboot 2.0.1 没有问题了

<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>2.0.1.RELEASE</version>
	</parent>

这个问题折腾了一天,向官方求助的同时,自己也找到了原因,去看官方回复竟然是2小时之前就给回复了,当时没有看,以为需要好久给回复,官方还挺给力,不过自己也找到原因了
https://github.com/arangodb/spring-data-demo/issues/7
https://github.com/arangodb/spring-data/issues/54

更新于2018年11月10日 17:43
本来说今天要重装系统呢,买了个固态硬盘,还没来得及弄呢,一天竟在搞这个问题了
官方github很快更新了,太佩服这速度了,专业。问题解决,吃饭去 18:19

In AQL null is lower than 0. So if you want to query for age greater than 20 you have the following options:

include null age

FOR i IN characters
  FILTER i.age > 20 OR i.age == null
  RETURN i
not include null age

FOR i IN characters
  FILTER i.age > 20
  RETURN i
Keep in mind that null < 0 which means if you are searching for age < 20 you will include age == null and don't have to filter on age == null

FOR i IN characters
  FILTER i.age < 20
  RETURN i.age
gives you every character with age from null, 0, 1, ... to 19

For more informations about types and ordering in AQL, take a look into the docs.

https://docs.arangodb.com/3.3/Manual/Graphs/index.html 图形数据库
https://blog.csdn.net/rensihui/article/details/79447695
http://www.cnblogs.com/minglex/p/9399866.html

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值