![]() If the record's topic name is period-separated like, the last period-separated value will be the collection's name ( customers in this case). Record with topics that are just a plain string like products will go into a collection with the name products. The name of the topic determines the name of the collection the record will be written to. It has very good documentation if you want to learn more."": "io.transforms.Cdc " 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: 127.0.0.1: _system> 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: 127.0.0.1: _system> require("org/arangodb/users").all() If you want to change an existing ArangoDB user's password, run the following command: 127.0.0.1: _system> require("org/arangodb/users").update("user1", "new_password") You can also revoke the access to a database for a user with the following command: 127.0.0.1: _system> require("org/arangodb/users").revokeDatabase("user1","_system") Lets give 'user1' permissions to access the _system() DB: 127.0.0.1: _system> 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: 127.0.0.1: _system> 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: 127.0.0.1: _system>db._help() Now add the key with the following command: sudo apt-key add. Run the following command to download the public key: curl -O 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 ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |