Install and use MongoDB easily with MongoCTL (only linux or Mac OSX)

1) First install python : http://www.python.org/download/

    Don’t forget to add the python install folder in the path of your environnement variable

2) install this script setupTools by running it with the python command :     

%  python ez_setup.py

3) Install pip :

% git clone https://github.com/pypa/pip.git
% cd pip                                   
% python setup.py install

    Don’t forget to add the fucking pyton scripts folder in the path of your environnement variable
    ex: C:\Python33\Scripts

4) install MongoCTL

$ sudo pip install mongoctl

5) install MongoDB

mongoctl install-mongodb

6) Start/Connect server:

mongoctl start MyServer
mongoctl connect MyServer
mongoctl print-uri MyServer

Leave a comment