ArangoDB is a powerful database with a wide range of features. You can now easily deploy ArangoDB in a production or development environment. You have successfully installed the ArangoDB database on your server. Open your favourite web browser and type the URL This will open up the login screen for the _system db as shown below: Once you are finished restart the arangodb service: sudo systemctl restart arangodb3 Next, open the nf file located at /etc/arangodb3/ directory: sudo nano /etc/arangodb3/nf Open the nf file located in the /etc/arangodb3/ directory: sudo nano /etc/arangodb3/nfĬhange the following line with IP address of your server: endpoint = tcp://192.168.1.227:8529 You will need to make some changes in the ArangoDB configuration files in order to access web interface. To remove user1 from database, run the following command: require("org/arangodb/users").remove("user1") ĪrangoDB comes with built-in, user friendly web interface for performing administrative tasks. To list out all the existing users of the database, run the following command: require("org/arangodb/users").all() If you want to change an existing ArangoDB user's password, run the following command: require("org/arangodb/users").update("user1", "new_password") You can also revoke the access to a database for a user with the following command: require("org/arangodb/users").revokeDatabase("user1","_system") Lets give 'user1' permissions to access the _system() DB: require("org/arangodb/users").grantDatabase("user1","_system") You can also create your own database and add a user to it.įor example, create a user with name user1 and password password with the following command: require("org/arangodb/users").save("user1", "password") īy default users will not have permissions to access any databases, you will need to grant access rights to it. If you want to get any help, run the following command: with ArangoDB Now add the key with the following command: sudo apt-key add. Run the following command to download the public key: Next you will need to download the public key from the ArangoDB site to set up the ArangoDB repository. You can do this with the following commands: sudo apt-get update -y A non-root user with sudo privileges setup on your server.īefore starting, make sure your server is up-to-date.In this tutorial we will learn how to install and configure ArangoDB on Ubuntu 16.04. One thing that has caught my attention about this NoSQL database engine is that it combines the key values and graphs.ĪrangoDB provides user-friendly, easy-to-use, graphical user interface and a CLI for system administration and system monitoring. Maybe ArangoDB may not be as popular as these, but that doesn't mean it's worse. When working with documents, MongoDB, CouchBase or Cassandra seem to be at the forefront, there are other NoSQL database oriented to networks such as Neo4j or Horton. It provides all the database features that are needed for a modern web application. It is a multi-purpose database with a flexible data model for documents, graphs, and key-values. This week I tried ArangoDB! Another NoSQL database? Today I'm going to tell you what I thought of ArangoDB.ĪrangoDB is an open source, NoSQL, multi-model database developed by triAGENS GmbH. Introduction to ArangoDb, open source, NoSQL, multi-model databaseīigData seems to be getting stronger every day and more and more NoSQL databases are coming out to the market, all trying to position themselves in the lead to be the reference.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |