mongodb及相關元件安裝
阿新 • • 發佈:2018-12-24
mongodb
rockmongo
Install PHP runtime environment if you don’t have one yet, such like Apache Httpd, Nginx …
- 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/- Login with admin username and password, which is set “admin” and “admin” as default
- Play with your MongoDBs!
pymongo
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