6/22/2023 0 Comments How to start mongodb server herokuThe sample output should be like this – Reading package lists. To install the MongoDB, use the following command – $ sudo apt-get install -y -allow-unauthenticated mongodb-org Now, we need to update the package list using the following command – $ sudo apt-get update Installing and Verifying MongoDB To add the MongoDB repository, use the following command- $ sudo echo "deb trusty/mongodb-org/3.2 multiverse" | sudo tee /etc/apt//mongodb-org-3.2.list Gpg: key EA312927: public key "MongoDB 3.2 Release Signing Key " imported Gpg: requesting key EA312927 from hkp server The sample output should be like this – Executing: /tmp/tmp.Qe1RFZgUh2/gpg.1.sh -keyserver To carry out this process, we first must import the key for the legitimate MongoDB repository using the following command- $ sudo apt-key adv -keyserver hkp://:80 -recv EA312927 However, a legitimate MongoDB repository affords the most upto date version change in an endorsed manner. MongoDB is generally included in a Ubuntu package repositories. This article explains about “How to install Mongo DB on Ubuntu and start the MongoDB service on boot” Adding the MongoDB Repository The official Ubuntu 16.04 MongoDB packages have not yet been published by the MongoDB maintainers. MongoDB works on concept of collection and document. MongoDB is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability.
0 Comments
Leave a Reply. |