Forked from LeCoupa/meteor-mongo-oplog-ubuntu.bash
Last active
June 27, 2017 11:51
-
-
Save kschingiz/ca3c9ef6cf941ae16161df70228d5f71 to your computer and use it in GitHub Desktop.
Meteor: Set up Oplog Tailing on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from here https://rocket.chat/docs/installation/manual-installation/ubuntu/ | |
$ echo replSet=001-rs >> /etc/mongod.conf | |
$ service mongod restart | |
mongo | |
> rs.initiate() | |
# MONGO_OPLOG_URL=mongodb://localhost:27017/local?replicaSet=001-rs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment