![start mongodb server on fedora start mongodb server on fedora](https://blog.eldernode.com/wp-content/uploads/2020/07/IMG_2170.png)
mongodb-org-shell-4.0.86_64.rpm: Already downloaded mongodb-org-server-4.0.86_64.rpm: Already downloaded mongodb-org-mongos-4.0.86_64.rpm: Already downloaded mongodb-org-4.0.86_64.rpm: Already downloaded chagasj]# sudo dnf install mongodb-orgįedora Modular 29 – x86_64 – Updates 2.7 kB/s | 8.8 kB 00:03
Start mongodb server on fedora how to#
I encountered the following problem, how to solve it. Please share this article with your friends. Its installation in Fedora 29 and Fedora 28 is relatively simple. MongoDB is a solution that is increasingly being taken into account by many developers worldwide. :~$ mongod -versionĪs you can see, MongoDB is correctly installed. To test the installation, check the installed version of MongoDB. :~$ sudo systemctl enable mongodįinally, check the service status: :~$ sudo systemctl status mongodĤ.- MongoDB is running Checking the installation In addition, you have to start the service too. However, it is a good idea to enable the service. With this the MongoDB repository is added, now you can install it without problems. Press CTRL + X and say yes to save the file.
![start mongodb server on fedora start mongodb server on fedora](http://www.mimastech.com/wp-content/uploads/2017/02/mongodb-logo.png)
The main advantage of this method is that when there is an update, it will be downloaded along with the system updates.įirst, create a file to add the repository: :~$ sudo nano /etc//mongodb.repo On the other hand, you can add the MongoDB repository and install it via DNF. It is not complicated, but there is a problem, when there is an update of the program, you will have to repeat the process. First, you can download the packages individually and then install them from the console. There are several ways to install MongoDB.