bayhaa.blogg.se

Install mongodb in ubuntu 12.04
Install mongodb in ubuntu 12.04










How to Work with MongoDB – Read this tutorialįinally, use the below command to check installed MongoDB version on your system.Use the following commands to stop or restart MongoDB service. Once the service started, check the status by running command: sudo systemctl status rvice To start or stop MongoDB uses init script. If you want to install any specific version of MongoDB, define the version number as below sudo apt install mongodb-org=4.4.1 mongodb-org-server=4.4.1 mongodb-org-shell=4.4.1 mongodb-org-mongos=4.4.1 mongodb-org-tools=4.4.1Īfter installation, MongoDB will start automatically. It will also install all dependent packages required for MongoDB.

install mongodb in ubuntu 12.04

Ubuntu 16.04 LTS: echo "deb xenial/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb.listĪfter adding required APT repositories, use the following commands to install MongoDB on your systems. Ubuntu 18.04 LTS: echo "deb bionic/mongodb-org/4.4 multiverse" | sudo tee /etc/apt//mongodb.list Lets add MongoDB APT repository url in /etc/apt//mongodb.list. This is required to test packages before installation sudo apt-key adv -keyserver hkp://:80 -recv 656408E390CFB1F5 Step 1 – Setup Apt Repositoryįirst of all, import GPK key for the MongoDB apt repository on your system using the following command. This tutorial will help you to install MongoDB 4.4 community release on Ubuntu 20.04 LTS (Focal), 18.04 LTS (Bionic) and 16.04 LTS (Xenial) systems.

install mongodb in ubuntu 12.04

Click here for more details about this version of MongoDB. MongoDB provides large media storage with GridFS. MongoDB is a full flexible index support and rich queries database.












Install mongodb in ubuntu 12.04