how to start a mongodb server on linux 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