O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing MongoDB on Ubuntu

Let's start with installing MongoDB, so we can be done with that. Luckily, the documentation on installing MongoDB on Ubuntu is pretty spot on (https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/):

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.4.listsudo apt-get updatesudo apt-get install -y mongodb-org

The first command, sudo apt-key, is used to manage package keys. Keys authenticate packages and packages that are authenticated with a key are considered trusted. The adv switch allows for advanced options. With ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required