Start the database
If the system has set the global variable is used to run the terminal
sudo mongod
If you do not set the global variable terminal execute the code to run
Switch to the directory database
cd /usr/local/mongodb/bin
Start command execution
sudo ./mongod