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
本文档提供了详细的步骤说明如何安装和配置RockMongo及PyMongo。RockMongo是一款用于管理MongoDB的开源Web界面工具,而PyMongo则是Python语言的MongoDB官方驱动。通过本文档,读者可以了解到如何为自己的系统安装PHP运行环境、MongoDB PHP驱动以及如何下载、解压并配置RockMongo。同时,还介绍了如何下载PyMongo源码包、解压并安装到系统中。
1484

被折叠的 条评论
为什么被折叠?



