Server Management Flashcards

1
Q

Start, stop, restart MongoDB

A

service mongo start
service mongo stop
service mongo restart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Enter Mongo Shell

A
# default local host & default port 27017
mongo
# custom host
mongo --host 107.170.52.233
# custom host & port
mongo --host 107.170.52.233 --port 27017
How well did you know this?
1
Not at all
2
3
4
5
Perfectly