intel 2013-9-4 14:21
在 Ubuntu 下安裝 MongoDB Web 管理工具 - rockmongo
如果要安裝 mongodb 資料庫請參考這篇:<br><a href="http://dz.adj.idv.tw/thread-136340-1-1.html" target="_blank">http://dz.adj.idv.tw/thread-136340-1-1.html</a><br><br><div>底下是針對 MongoDB Web 管理工具安裝做說明<br><br>系統環境: ubuntu 12.04 + Nginx + php-fpm </div><div><br></div><div>$ wget https://github.com/mongodb/mongo-php-driver/archive/master.zip</div><div>$ unzip master.zip</div><div>$ cd mongo-php-driver-master</div><div>$ phpize</div><div>$ ./configure</div><div>$ make all</div><div>$ make install</div><div><br></div><div>To load the extension on PHP startup</div><div>$ echo extension=mongo.so > /etc/php5/fpm/conf.d/mongo.ini</div><div><br></div><div>安裝 mongo</div><div>$ pecl install mongo</div><div><br></div><div>重啟 nginx </div><div>$ /etc/init.d/nginx restart</div><div><br>下載 rockmongo => <a href="http://rockmongo.com/downloads" target="_blank">http://rockmongo.com/downloads</a><br>目前版本 rockmongo-1.1.5.zip<br><br>將檔案放置網頁目錄 => /usr/share/nginx/www/rockmongo<br><br>打開Browser:<br>http://localhost/rockmongo<br><br>軟體預設帳號密碼: admin / admin<br>這樣就可以囉~~<br><br></div><div>如圖示:</div><div>[attach]9169[/attach]<br></div><div><br></div><div><br></div><div>From: http://www.php.net/manual/en/mongo.installation.php</div>