mongo server start code example
Example 1: start mongodb
sudo systemctl start mongod
Example 2: mongodb start server
sudo systemctl start mongodb
Example 3: start mongod
mongod --dbpath --port
sudo systemctl start mongod
sudo systemctl start mongodb
mongod --dbpath --port