Skip to content

Commit 7f238d4

Browse files
Try later version of ngrok
1 parent 74ab7d9 commit 7f238d4

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

scripts/configure-legacy.sh

+12-5
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,17 @@
1212
sudo apt update
1313
sudo apt install -y xfce4 xfce4-goodies tightvncserver xfonts-base xubuntu-icon-theme xubuntu-wallpapers gnome-icon-theme x11-apps x11-common x11-session-utils x11-utils x11-xserver-utils x11-xkb-utils dbus-user-session dbus-x11 gnome-system-monitor gnome-control-center
1414

15-
# Second, download ngrok
16-
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
17-
unzip ngrok-stable-linux-amd64.zip
18-
chmod +x ngrok
15+
# # Second, download ngrok
16+
# wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
17+
# unzip ngrok-stable-linux-amd64.zip
18+
# chmod +x ngrok
19+
20+
curl -s https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
21+
| sudo tee /etc/apt/trusted.gpg.d/ngrok.asc >/dev/null \
22+
&& echo "deb https://ngrok-agent.s3.amazonaws.com buster main" \
23+
| sudo tee /etc/apt/sources.list.d/ngrok.list \
24+
&& sudo apt update \
25+
&& sudo apt install ngrok
1926

2027
# Third, generate and copy passwd file and xstartup script
2128
mkdir $HOME/.vnc
@@ -25,4 +32,4 @@ chmod 0600 $HOME/.vnc/passwd
2532

2633
# Fourth and last, set up auth token from argument
2734
./ngrok authtoken $NGROK_AUTH_TOKEN
28-
exit
35+
exit

0 commit comments

Comments
 (0)