Last active
December 3, 2018 15:39
-
-
Save m3hari/2ba9170d737b0d695f88141a7007a971 to your computer and use it in GitHub Desktop.
install mongo on ubuntu18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9DA31620334BD75D9DCB49F368818C72E52529D4 | |
echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.0.list | |
sudo apt-get update | |
# install all components of mongo | |
sudo apt-get install -y mongodb-org | |
#install only mongo shell | |
sudo apt-get install -y mongodb-org-shell | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment