mongodb
rockmongo
Install PHP runtime environment if you don’t have one yet, such like Apache Httpd, Nginx …
Install MongoDB PHP driver (http://us.php.net/manual/en/mongo.installation.php)
Download the package from
http://rockmongo.com/downloads or https://github.com/iwind/rockmongo- Unzip the files, the package of rockmongo, into your disk, under root of your site
e.g. rockmongo/
the default root directory of web site in linux system: /var/www/
if the apache installed at /usr/local/apache2/, the directory is : /usr/local/apache2/htdocs/ Open the config.php with your convenient editor, change host, port, admins and so on to yours
the config.php is in rockmongo/Visit the index.php in your browser, for example: http://localhost/rockmongo/index.php
- Login with admin username and password, which is set “admin” and “admin” as default
- Play with your MongoDBs!
pymongo
the python driver of mongodb
1.downloads from : https://pypi.python.org/pypi/pymongo/#downloads
wget https://pypi.python.org/packages/source/p/pymongo/pymongo-2.8.tar.gz
2.unzip the package
tar -zxvf pymongo-2.8.tar.gz
3.install with: sudo python setup.py install
4.test in python
import pymongo