mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-26 23:32:15 +00:00
nohup barak in INSTALL; echo commands
This commit is contained in:
parent
dae127722c
commit
e43c97ee2d
@ -21,7 +21,7 @@ WARNING: THIS STEP WILL GIVE CONTROL OF THE CURRENT USER TO THE DEV TEAM.
|
|||||||
|
|
||||||
go get -u github.com/tendermint/tendermint/cmd/barak # get+update
|
go get -u github.com/tendermint/tendermint/cmd/barak # get+update
|
||||||
go install github.com/tendermint/tendermint/cmd/barak # install
|
go install github.com/tendermint/tendermint/cmd/barak # install
|
||||||
cat $GOPATH/src/github.com/tendermint/tendermint/cmd/barak/seed0 | barak
|
nohup barak -options-file="$GOPATH/src/github.com/tendermint/tendermint/cmd/barak/seed0" &
|
||||||
|
|
||||||
### Install/Update Tendermint
|
### Install/Update Tendermint
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ apt-get install -y make screen gcc git mercurial libc6-dev pkg-config libgmp-dev
|
|||||||
|
|
||||||
# set up firewall
|
# set up firewall
|
||||||
echo "ENABLE FIREWALL ..."
|
echo "ENABLE FIREWALL ..."
|
||||||
|
set -x
|
||||||
# white list ssh access
|
# white list ssh access
|
||||||
for ip in "${WHITELIST[@]}"; do
|
for ip in "${WHITELIST[@]}"; do
|
||||||
ufw allow from $ip to any port $SSH_PORT
|
ufw allow from $ip to any port $SSH_PORT
|
||||||
@ -40,7 +41,9 @@ for port in "${OPEN_PORTS[@]}"; do
|
|||||||
ufw allow $port
|
ufw allow $port
|
||||||
done
|
done
|
||||||
# apply
|
# apply
|
||||||
ufw enable
|
ufw --force enable
|
||||||
|
set +x
|
||||||
|
# set up firewall END
|
||||||
|
|
||||||
# watch the logs and have them emailed to me
|
# watch the logs and have them emailed to me
|
||||||
# apt-get install -y logwatch
|
# apt-get install -y logwatch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user