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
[4921] 2021/10/21 16:59:00.201527 [INF] Starting nats-server | |
[4921] 2021/10/21 16:59:00.245599 [INF] Version: 2.6.2 | |
[4921] 2021/10/21 16:59:00.245620 [INF] Git: [f7c3ac5] | |
[4921] 2021/10/21 16:59:00.245627 [DBG] Go build: go1.16.9 | |
[4921] 2021/10/21 16:59:00.245633 [INF] Name: nats-cluster-2 | |
[4921] 2021/10/21 16:59:00.245647 [INF] Node: VpUo9efM | |
[4921] 2021/10/21 16:59:00.245658 [INF] ID: NC5BJX54OY2DLE5M2PW6NYAVGLZN34YUICMW3JNG5RZB74NNZU66L33J | |
[4921] 2021/10/21 16:59:00.245707 [INF] Using configuration file: nats2.conf | |
[4921] 2021/10/21 16:59:00.245767 [DBG] Created system account: "$SYS" | |
[4921] 2021/10/21 16:59:00.247275 [INF] Starting JetStream |
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
#!/usr/bin/env bash | |
set -exuo pipefail | |
# Create a private key for a CA. | |
# genrsa :: create an RSA private key | |
# -out :: the output filename | |
# 4096 :: size of the private key |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
version=${1:-} | |
if [[ -z "$version" ]]; then | |
echo "missing version" | |
echo "usage: install-node.sh <version>" | |
exit 1 | |
fi |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
create_ca() { | |
domain="myca.private" | |
cakey="${domain}-ca-key.pem" | |
cacrt="${domain}-ca-cert.pem" | |
echo "Creating CA for domain: ${domain}" |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
version=${1:-} | |
if [[ -z "$version" ]]; then | |
echo "missing version" | |
echo "usage: install-go.sh <version>" | |
exit 1 | |
fi |