關於Mongodb的操作

一、ubuntu系統上安裝mongodb 1、正常情況下,直接輸入命令行:sudo apt-get install mongodb 2、可能出現依賴問題,需要執行命令:sudo apt-get -f install 注意:mongoDB的數據文件默認是需要3G多的空間,如果沒有的話,就需要用smallfiles,具體使用命令:mongod –smallfiles 二、mongodb 的啓動 關閉:
相關文章
相關標籤/搜索