2010å¹´04æ11æ¥13:34 NoSQL MongoDBã®ã¬ããªã±ã¼ã·ã§ã³ãç°¡åããã⦠ã¡ãã£ã¨ MongoDB ã®ã¬ããªã±ã¼ã·ã§ã³ã試ãã¦ã¿ãã®ã§ã¡ã¢ãã³ã£ãããããããç°¡åã§ããã¬ããªã±ã¼ã·ã§ã³ã試ããããmongod ã master ç¨ãslave ç¨ã§ããããç«ã¡ä¸ãã¾ãããï¼ ã¾ã master ç¨ã®ãµã¼ããç«ã¡ä¸ãã¾ããããã£ã â» host, port ãæå®ãã¦ããªããããlocalhost ã§ãport 㯠27017 ã使ããã¾ãã mongod --master --dbpath /var/tmp/master ãã®ã㨠slave ç¨ã®ãµã¼ããç«ã¡ä¸ãã¾ãããããã£ãããã§çµããï¼ï¼ mongod --slave --port 27018 --source localhost --dbpath /var/tmp/slave slave ã§ã¯ --source
{{#tags}}- {{label}}
{{/tags}}