那麼,重新啓動與停止和啓動命令一起工作,但我似乎無法執行帶有--auth選項的mongodb命令。如何在Ubuntu 10.04中使用--auth選項重新啓動mongodb?
[email protected]:/home/random/public_html# mongodb stop
[email protected]:/home/random/public_html# start mongodb --auth
start: invalid option: --auth
[email protected]:/home/random/public_html# start mongodb
mongodb start/running, process 29473
[email protected]:/home/random/public_html#
如何用--auth選項啓動mongodb?
我安裝了正確的配置
在字符串格式作爲apt-get mongodb軟件包,它給了我/etc/mongodb.conf中的配置文件。我編輯該文件來設置nohttpinterface = true,我認爲這是所有... – user482594 2011-06-04 18:09:41