how to install mongodb on ubuntu 16.04 server code example Example: start mongodb service ubuntu sudo systemctl start mongod sudo systemctl stop mongod