Eve: Building RESTful APIs with MongoDB and Flask Transcripts
Chapter: Appendix: Installing MongoDB
Lecture: Concept: Setting up MongoDB on Linux

Login or purchase this course to watch this video and the rest of the course contents.
0:01 Let's quickly review how we installed MongoDB on Linux.
0:04 So the easiest way to do this is just go mongodb.com
0:07 go to the download button and pick in the little drop down your distribution
0:12 and that way you can copy along.
0:14 Here's what we copied and ran,
0:16 so we visited the Ubuntu setup page at mongodb.com
0:19 that's what I just described, and then we ran add key
0:22 so they said look we're going to trust
0:25 this particular source that we're about to give you,
0:28 and then we said I'd like to go to the repo at mongodb.org
0:32 and set up this, basically pointed at this package store here.
0:38 And then, we're going to update, don't forget this step,
0:42 make sure you update your local listing by pulling from all of the sources,
0:45 and then we're going to apt install mongodb-org,
0:49 and that will take all of the tooling and servers and client stuff;
0:52 if you only want one of them, just the sharding server
0:55 or just the server component, you can absolutely just install that piece,
1:01 we saw like listed on that first page I described
1:04 that there's actually this mongodb-org,
1:07 it's kind of a meta package of four other smaller packages.
1:10 And then at the start we just say service mongod start,
1:14 if you want to change a configuration it's at etc/mongod.conf.
1:19 Change that, just restart the service and it should pick up the changes right away.