mirror of
https://github.com/btdig/dhtcrawler2.git
synced 2024-12-13 20:16:21 +00:00
11 lines
438 B
Markdown
11 lines
438 B
Markdown
|
The scripts in this directory can help you to deply a repl set mongodb, which there is a primary database used by the crawler, and the secondary database is used to query by the http server.
|
||
|
|
||
|
[Check here if you know Chinese](http://www.cnblogs.com/dennisit/archive/2013/01/28/2880166.html)
|
||
|
|
||
|
Make sure mongod is in your path.
|
||
|
|
||
|
* db-start-primary.bat
|
||
|
* db-start-slave.bat
|
||
|
* init-primary-db.bat, make sure `rs.initiate()` success
|
||
|
|