Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096This will guide you through setting up a replica set in a docker environment using.
Thanks to https://gist.github.com/asoorm for helping with their docker-compose file!
| alias ll='ls -lh' | |
| alias vi='vim -u NONE' | |
| PATH=/usr/bin:$PATH:"/cygdrive/c/Program Files (x86)/Windows Kits/10/bin/x86":"/cygdrive/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29910/bin/Hostx64/x64/" | |
| PATH="/cygdrie/c/Program Files (x86)/Microsoft Visual Studio/2019/Community/Common7/IDE/":$PATH | |
| export PS1="\[$(tput bold)\]\[\033[38;5;172m\]\h\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\]-\[$(tput bold)\]\[$(tput sgr0)\]\[\033[38;5;172m\]\l\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput bold)\]\[$(tput sgr0)\]\[\033[38;5;46m\]\W\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\]\\$\[$(tput sgr0)\]" | |
| unset color_prompt force_color_prompt |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| // Add custom actions and keybindings to this array. | |
| // To unbind a key combination from your defaults.json, set the command to "unbound". | |
| // To learn more about actions and keybindings, visit https://aka.ms/terminal-keybindings | |
| "actions": | |
| [ | |
| // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json. | |
| // These two lines additionally bind them to Ctrl+C and Ctrl+V. | |
| // To learn more about selection, visit https://aka.ms/terminal-selection |