Add ngrok for debugging

This commit is contained in:
Taylor Helsper 2019-10-09 21:50:07 -05:00
parent fa7e8d4244
commit 9358fbba1f
3 changed files with 30 additions and 2 deletions

View File

@ -1,3 +1,7 @@
=== v0.1.51 ===
- Logging and RAM tweaks for Rock64
- Add ngrok for debugging
=== v0.1.50 ===
- Big fixes for myNode VM (still beta)
- Display footer on status page

View File

@ -11,7 +11,7 @@ systemctl stop quicksync
systemctl stop bitcoind
# Install any new software
apt -y install pv sysstat network-manager
apt -y install pv sysstat network-manager unzip
# Install any pip software
pip install tzupdate
@ -138,6 +138,17 @@ if [ "$CURRENT" != "$BTCRPCEXPLORER_UPGRADE_URL" ]; then
echo $BTCRPCEXPLORER_UPGRADE_URL > $BTCRPCEXPLORER_UPGRADE_URL_FILE
fi
# Install ngrok for debugging
if [ ! -f /usr/bin/ngrok ]; then
cd /tmp
NGROK_URL=https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
if [ $IS_X86 = 1 ]; then
NGROK_URL=https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-386.zip
fi
wget $NGROK_URL
unzip ngrok-*.zip
cp ngrok /usr/bin/
fi
# Enable any new/required services
systemctl enable firewall

View File

@ -52,7 +52,7 @@ apt-get -y install clang hitch zlib1g-dev libffi-dev file toilet ncdu
apt-get -y install toilet-fonts avahi-daemon figlet libsecp256k1-dev
apt-get -y install inotify-tools libssl-dev tor tmux screen
apt-get -y install python-grpcio python3-grpcio
apt-get -y install pv sysstat network-manager rsync parted
apt-get -y install pv sysstat network-manager rsync parted unzip
# Install other things without recommendation
@ -308,6 +308,19 @@ if [ "$CURRENT" != "$LNDCONNECT_UPGRADE_URL" ]; then
echo $LNDCONNECT_UPGRADE_URL > $LNDCONNECT_UPGRADE_URL_FILE
fi
# Install ngrok for debugging
if [ ! -f /usr/bin/ngrok ]; then
cd /tmp
NGROK_URL=https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip
if [ $IS_X86 = 1 ]; then
NGROK_URL=https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-386.zip
fi
wget $NGROK_URL
unzip ngrok-*.zip
cp ngrok /usr/bin/
fi
#########################################################