2012年9月27日 星期四

Install RockMongo on Ubuntu

1. Install mongodb
follow the link below to install mongodb
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/


2. Install php5, php-pear
>apt-get install php5 php-pear

3. Install php-mongo
http://www.php.net/manual/en/mongo.installation.php

4. download rockmongo and the unzip and put in /var/www
http://rockmongo.com/downloads

5. restart apache2 mongodb
>service apache2 restart
>service mongodb restart
(If mongodb is locked, please check below link)
http://blog.brianbuikema.com/2011/01/mongodb-ubunto-overview-installation-setup-dev-python-2/


6. Login with admin/admin on http://localhost/rockmongo
(Modify config.php to change login username/password)