Wednesday, 13 April 2022

Install mongod BY IDE

 https://linuxize.com/post/how-to-install-mongodb-on-ubuntu-18-04/


1. sudo apt-get install nano

2. sudo mkdir /etc/init

Then create file

3. sudo nano /etc/init/mongod.conf

https://askubuntu.com/questions/856073/mongod-unrecognized-service-mongod-service-is-present-already

4. sudo mongod --fork -f /etc/mongod.conf

5. mongo