Steps to Install MongoDB - This should work with Debian and Ubuntu, with the upstart init system. sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 && sudo sh -c 'echo ''deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen'' > /etc/apt/sources.list.d/10gen.list' && sudo apt-get update && sudo apt-get install mongodb-10gen; If all goes well you should have a fully working MongoDB. To make sure things are working have a look at /etc/var/log/mongodb/mongodb.log Try it out with:
apt-get install food apt is a very cool and easy to use package manager for UNIX based systems. Here are some simple and effective commands that might help you do things XD apt-get update - makes sure that all the information is newest. apt-get upgrade - checks for all packages that needs to be updated. apt-get remove <package> - Removes the package from the system. apt-get purge <package> - Same as remove but deletes all the configuration files.
Its never there when you want it, but always when you don’t. Right click open location in terminal, this is a very useful feature and saves loads of time. To install it in Ubuntu and any other distribution that uses nautilus, install the package nautilus-open-terminal sudo apt-get install nautilus-open-terminal su -c 'yum install nautilus-open-terminal'