mirror of
https://github.com/btdig/dhtcrawler2.git
synced 2024-12-12 19:46:22 +00:00
.. | ||
db-start-primary.bat | ||
db-start-slave.bat | ||
init-primary-db.bat | ||
init-rs.js | ||
key1.txt | ||
key2.txt | ||
README.md |
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
Make sure mongod is in your path.
- db-start-primary.bat
- db-start-slave.bat
- init-primary-db.bat, make sure
rs.initiate()
success