June 2016
Beginner
456 pages
9h 31m
English
Until now, we have worked with the relational database server, MySQL. In this recipe, we will learn how to install and configure MongoDB, which is a not only SQL (NoSQL) document storage server.
You will need access to a root account or an account with sudo privileges.
To get the latest version of MongoDB, we need to add the MongoDB source to Ubuntu installation sources:
$ sudo apt-key adv \ --keyserver hkp://keyserver.ubuntu.com:80 \ --recv 7F0CEB10
list file and add an install source to it:
$ echo “deb http://repo.mongodb.org/apt/ubuntu “$(lsb_release -sc)”/mongodb-org/3.0 multiverse” | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
Read now
Unlock full access