- Install mongodb community edition
- Install and configure
mongosh
- Create a configuration file
/etc/mongod.conf
(you may need to create it withsudo
). Copy the following snippet and replace<username>
with your username and paste it:
processManagement:
fork: true
net:
bindIp: localhost
port: 27017
storage: