这里仅介绍windows环境下的安装,直接官网下载安装包安装便可。安装完后进入安装目录进行配置。web
cd ArangoDB\\etc\\arangodb3
打开arangod.conf配置文件,修改如下配置,其余配置保持默认。windows
[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密码,执行以下命令并按提示设置密码socket
..\ArangoDB\usr\bin> arango-secure-installation
而后执行以下命令开始服务tcp
..\ArangoDB\usr\bin> arangod
而后浏览器中输入tcp://192.168.1.1:8529,进入web管理页面,输入帐户root,密码就是刚才设置的密码(好比123456)spa