AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Start mongodb server ubuntu2/9/2023 ![]() To verify whether the installation has completed successfully by running the following command. ![]() └─2798 /usr/bin/mongod -config /etc/nfĪpr 30 02:31:19 systemd: Started MongoDB Database Server. Loaded: loaded (/lib/systemd/system/rvice enabled vendor preset: enabled)Īctive: active (running) since Fri 02:31:19 UTC 58s ago Now, check the status of the MongoDB service. Output: systemctl start systemctl enable mongodĬreated symlink /etc/systemd/system//rvice → /lib/systemd/system/rvice. ![]() Start the MongoDB service and enable it to start automatically after rebooting the system. Install the MongoDB with the following command. Get:8 focal/mongodb-org/4.4/multiverse amd64 Packages Output: add-apt-repository 'deb focal/mongodb-org/4.4 multiverse' add-apt-repository 'deb focal/mongodb-org/4.4 multiverse' Output: wget -qO - | sudo apt-key add -Īdding the MongoDB repository with the following command. Instead of using tables and rows as in the traditional relational databases, Install the dependenciesĪpt install dirmngr gnupg apt-transport-https ca-certificates software-properties-common Download and add the MongoDB GPG key with the following command and MongoDB is a document-oriented NoSQL database used for high volume data storage. MongoDB is an open-source document database used in many modern web applications. ![]()
0 Comments
Read More
Leave a Reply. |