• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Arangodb in Ubuntu

{{postValue.id}}

To install Arangodb in Ubuntu 16.04

Arango database is a multi-model database system. It uses the combination of Key-Value pairs, documents, graphs to store data and has a flexible data model for documentation and graphs. Installation and usage of ArangoDB v3.0.2 on Ubuntu 16.04 is explained in this manual.


To install arango

Utilise the following command to download arango key file.

root@linuxhelp:~# wget https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04/Release.key
--2016-07-27 14:38:37--  https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04/Release.key
Resolving www.arangodb.com (www.arangodb.com)... 85.214.140.94
Connecting to www.arangodb.com (www.arangodb.com)|85.214.140.94|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1003 [application/pgp-keys]
Saving to: ‘ Release.key’ 

Release.key             100%[==============================> ]    1003  --.-KB/s    in 0s      

2016-07-27 14:38:38 (22.3 MB/s) - ‘ Release.key’  saved [1003/1003]

Append the key file by using the following command.

root@linuxhelp:~# apt-key add Release.key
OK

Install the " software-properties-common” with the help of apt command.

root@linuxhelp:~# apt install software-properties-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic
  linux-image-extra-4.4.0-21-generic
Use ' sudo apt autoremove'  to remove them.
The following additional packages will be installed:
  python3-software-properties software-properties-gtk
The following packages will be upgraded:
  python3-software-properties software-properties-common software-properties-gtk
3 upgraded, 0 newly installed, 0 to remove and 280 not upgraded.
.
.
.
Processing triggers for shared-mime-info (1.5-2) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Setting up python3-software-properties (0.96.20.2) ...
Setting up software-properties-common (0.96.20.2) ...
Setting up software-properties-gtk (0.96.20.2) ...

Use the following command to add the repository.

root@linuxhelp:~# apt-add-repository ' deb https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04/ /' 

Then update the system by using the following command.

root@linuxhelp:~# apt-get update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Hit:2 http://ppa.launchpad.net/enlightenment-git/ppa/ubuntu xenial InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu xenial InRelease                                    
Hit:4 http://ppa.launchpad.net/gns3/ppa/ubuntu xenial InRelease                               
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease                   
Hit:6 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease                 
Ign:7 https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04  InRelease
Hit:8 https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04  Release
Fetched 94.5 kB in 1s (51.2 kB/s)                              
Reading package lists... Done
W: https://www.arangodb.com/repositories/arangodb3/xUbuntu_16.04/Release.gpg: Signature by key 4497DA50FBD0158CCFD1996CEE611E131C42E360 uses weak digest algorithm (SHA1)

Run the following command to install arangodb.

root@linuxhelp:~# apt-get install arangodb3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic
  linux-image-extra-4.4.0-21-generic
Use ' sudo apt autoremove'  to remove them.
The following NEW packages will be installed:
  arangodb3
.
.
.
Processing triggers for systemd (229-4ubuntu4) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up arangodb3 (3.0.3) ...
Database files are up-to-date.
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...

Set the root password for the database.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_root_password
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_password_database
Check the status of the arangodb by using the following command.

root@linuxhelp:~# service arangodb status
 arangodb3.service - LSB: arangodb
   Loaded: loaded (/etc/init.d/arangodb3  bad  vendor preset: enabled)
   Active: active (running) since Wed 2016-07-27 14:56:48 IST  1min 59s ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/arangodb3.service
           ??40206 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb
           ??40207 /usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb

Jul 27 14:56:45 linuxhelp systemd[1]: Starting LSB: arangodb...
Jul 27 14:56:45 linuxhelp arangodb3[40162]:  * Starting arango database server arangod
Jul 27 14:56:48 linuxhelp arangodb3[40162]: {startup} starting up in daemon mode
Jul 27 14:56:48 linuxhelp arangodb3[40162]:    ...done.
Jul 27 14:56:48 linuxhelp systemd[1]: Started LSB: arangodb.
Jul 27 14:56:48 linuxhelp arangodb3[40162]: changed working directory for child process to ' /va
lines 1-14/14 (END)


To Launch arangodb

To launch Arangodb, run arangosh command.

root@linuxhelp:~# arangosh
Please specify a password:

                                       _     
  __ _ _ __ __ _ _ __   __ _  ___  ___| |__  
 / _` | ' __/ _` | ' _  / _` |/ _ / __| ' _ 
| (_| | | | (_| | | | | (_| | (_) \__  | | |
 \__,_|_|  \__,_|_| |_|\__, |\___/|___/_| |_|
                       |___/                 

arangosh (ArangoDB 3.0.3 [linux] 64bit, using VPack 0.1.30, ICU 54.1, V8 5.0.71.39, OpenSSL 1.0.2g-fips  1 Mar 2016)
Copyright (c) ArangoDB GmbH

Pretty printing values.
Connected to ArangoDB ' http+tcp://127.0.0.1:8529'  version: 3.0.3 [server], database: ' _system' , username: ' root' 

Type ' tutorial'  for a tutorial or ' help'  to see common examples
127.0.0.1:8529@_system> 

Open the browser and call http://localhost:8529
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_browser

Login to ArangoDB using the user credentials.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_user_credentials
Click Select db_ system to proceed further.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_Select_db_ system
The home page of ArangoDB appears as follows.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_home_page
Select dashboard interface to know about Request statistics, System Resources and Replication. Click System Resources tab to monitor the system status.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_dashboard_interface
To view or to add folders click collections.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_view_add
To query the datas, click query.
 Installation_ArangoDB_v3.0.2_Ubuntu 16.04_query
To view the graphical representation of your database, click graphs.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_graphical_representation
Click services, to add new services.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_new_services
To add a new user, click user.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_new_user
Click databases tab to add or create databases.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_create_databases
To view the Logs, click logs.
Installation_ArangoDB_v3.0.2_Ubuntu 16.04_logs

Tags:
jackson
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Will I be able to go beyond the limit of RAM?

A

RocksDB Integration in ArangoDB:
Yes. By defining RocksDB as your storage engine you will be able to work with as much data as fits on your disc.

Q

Will I be able to choose how different collections are stored, or will it be a per-database choice?

A

It is a per server/cluster choice. It is not possible yet to mix modes or to use different storage engines in the same arangodb instance or cluster.

Q

Does ArangoDB support SQL?

A

*ArangoDB does not support SQL. SQL is not well-suited to cover the different data models in ArangoDB.
*ArangoDB brings its own declarative language called AQL (ArangoDB Query Language). If you are familiar with SQL you will probably feel quickly at home with ArangoDB. For syntax examples see the SQL to AQL comparison.

Q

Does ArangoDB support transaction?

A

ArangoDB provides support for user-definable transactions. Transactions in ArangoDB are atomic, consistent, isolated, and durable (ACID).
ArangoDB transactions are different from transactions in SQL. In SQL, transactions are started with explicit BEGIN or START TRANSACTION commands.

Q

How do shapes work in ArangoDB?

A

*Documents that have the similar structure (i.e., that have the same attribute names and attribute types) can share their structural information. The structure (called “shape”) is saved just once, and multiple documents can re-use it by storing just a pointer to their “shape”.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Owen ?
How to add SSH key to my Gitlab account

I need to add the SSH key in my gitlab account. How to do so ????

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.