Skip to content

Instantly share code, notes, and snippets.

@LeCoupa
LeCoupa / meteor-mongo-oplog-ubuntu.bash
Last active February 27, 2020 05:54
Meteor: Set up Oplog Tailing on Ubuntu --> https://github.com/LeCoupa/awesome-cheatsheets
# How to set up Oplog Tailing on your Meteor application on Ubuntu. (production environment)
# We are going to create a replica set with only one member (the primary) so as to benefit from oplog tailing.
# More: https://github.com/meteor/meteor/wiki/Oplog-Observe-Driver
# 1. Stop MongoDB
$ sudo service mongodb stop