sudo apt-get purge mongodb mongodb-clients mongodb-server mongodb-dev
sudo apt-get purge mongodb-10gen
sudo apt-get autoremove
above 3 commands will remove all the installed libs from the ubuntu server.
Install MongoDB
Configure Package Management System (APT)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' |
sudo tee /etc/apt/sources.list.d/10gen.list
sudo apt-get update
Install Packages
sudo apt-get install mongodb-10gen
No comments:
Post a Comment