This file contains hidden or 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
#!/bin/bash | |
######## Run this bash script on ONE replica set node to initiate the Mongodb replica set ######### | |
# HOWTO: | |
# System recommendation : Ubuntu 16.04 | |
# Download the script on your master/primary replica set node | |
# Open in bash and make it executable with command: chmod +x replicaset_initiate.sh | |
# Run with command: sudo ./replicaset_initiate.sh |
This file contains hidden or 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
#!/bin/bash | |
######## Run this bash script on EACH replica set node to configure a Mongodb replica set ######### | |
# HOWTO: | |
# System recommendation : Ubuntu 16.04 | |
# Download the script on each system of the replica set | |
# Open in bash and make it executable with command: chmod +x mongo_replica_config.sh | |
# Run with command: sudo ./mongo_replica_config.sh |
This file contains hidden or 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
#!/bin/bash | |
######## Run this bash script with to install Mongodb on your system ########## | |
# HOWTO: | |
# System recommendation : Ubuntu 16.04 | |
# Download the script | |
# Open in bash and make it executable with command: chmod +x mongodb_install.sh | |
# Run with command: sudo ./mongodb_install.sh |