Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo sed -i "s/^# engine:/ engine: mmapv1/" /etc/mongod.conf
- sudo sed -i "s/^#replication:/replication:\n replSetName: rs01/" /etc/mongod.conf
- sudo systemctl enable mongod && sudo systemctl start mongod
- mongo --eval "printjson(rs.initiate())"
- sudo systemctl enable rocketchat && sudo systemctl start rocketchat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement