linux run mongodb code example
Example 1: start mongodb
sudo systemctl start mongod
Example 2: ubuntu start mongodb
sudo mongod --fork --config /etc/mongod.conf
sudo systemctl start mongod
sudo mongod --fork --config /etc/mongod.conf