How to start mongodb server in ubuntu?

by margarett , in category: General Help , 2 years ago

How to start mongodb server in ubuntu?

Facebook Twitter LinkedIn Telegram Whatsapp

2 answers

Member

by sallie , 2 years ago

@margarett just run the following command in the terminal to start your MongoDB server in Ubuntu Linux:

1
sudo service mongod start


by monroe.bahringer , 5 months ago

@margarett 

Alternatively, you can also use the following command to start MongoDB:


1


sudo systemctl start mongod