arangodb安装

这里仅介绍windows环境下的安装,直接官网下载安装包安装即可。安装完后进入安装目录进行配置。

cd ArangoDB\\etc\\arangodb3

打开arangod.conf配置文件,修改以下配置,其他配置保持默认。

[database]
directory = D:\arangodb\

[server]
# Specify the endpoint for HTTP requests by clients.
#  tcp://ipv4-address:port
#  tcp://[ipv6-address]:port
#  ssl://ipv4-address:port
#  ssl://[ipv6-address]:port
#  unix:///path/to/socket
#
# Examples:
#   endpoint = tcp://0.0.0.0:8529
#   endpoint = tcp://127.0.0.1:8529
#   endpoint = tcp://localhost:8529
#   endpoint = tcp://myserver.arangodb.com:8529
#   endpoint = tcp://[::]:8529
#   endpoint = tcp://[fe80::21a:5df1:aede:98cf]:8529
#
endpoint = tcp://192.168.1.1:8529

authentication = true

然后运行arangodb服务,进入目录

cd ArangoDB/usr/bin

创建root密码,执行如下命令并按提示设置密码

..\ArangoDB\usr\bin> arango-secure-installation

然后执行如下命令开始服务

..\ArangoDB\usr\bin> arangod

然后浏览器中输入http://192.168.1.1:8529,进入web管理页面,输入账户root,密码就是刚才设置的密码(比如123456)

posted @ 2019-04-11 10:07  gaoshoufenmu  阅读(968)  评论(0编辑  收藏  举报