Showing posts with label arangoDB. Show all posts
Showing posts with label arangoDB. Show all posts

Friday, November 24, 2017

arangoDB Start as service

Restart the database:
  • sudo service arangodb start
Restart the database:
  • sudo service arangodb restart

Bind ArangoDB to the Public Network Interface

Configure ArangoDB to listen on the public network interface. First, open the /etc/arangodb/arangod.conf file for editing:
  • sudo nano /etc/arangodb/arangod.conf
Locate the active endpoint line, which should be at the end of the [server] block below a section of examples. Update the setting as shown below, using your own server's IP address, and port 8529.
/etc/arangodb/arangod.conf

. . .

endpoint = tcp://your_server_ip:8529
Since arangosh uses its own default configuration, we need to change the endpoint in the /etc/arangodb/arangosh.conf file too:
  • sudo nano /etc/arangodb/arangosh.conf
Again, make sure the endpoint line is set to tcp://your_server_ip:8529.
/etc/arangodb/arangosh.conf
pretty-print = true

[server]
endpoint = tcp://your_server_ip:8529
disable-authentication = true

. . .

Thursday, November 2, 2017

Install and Configure Arango for Linux (Ubuntu)


 
curl -O https://download.arangodb.com/arangodb32/xUbuntu_17.04/Release.key
sudo apt-key add - < Release.key
 
echo 'deb https://download.arangodb.com/arangodb32/xUbuntu_17.04/ /' | sudo tee /etc/apt/sources.list.d/arangodb.list
sudo apt-get install apt-transport-https
sudo apt-get update
sudo apt-get install arangodb3=3.2.6
 
sudo apt-get install arangodb3-dbg=3.2.6
 
 
for IP Address Config
 
C:\Program Files\ArangoDB 2.6.9\etc\arangodb\arangod.conf
 
SET given settings 
 
endpoint = tcp://192.168.0.14:8529