summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorYour Name <you@example.com>2026-02-11 10:50:51 +0800
committerYour Name <you@example.com>2026-02-11 10:50:51 +0800
commitee4d10a65dc0864263608ad1ef3679a1f6cea958 (patch)
tree41b112bd79226ce593e57ce14007c367d2d36745 /setup
parent052d108d0092f14b706e0872f10bea901e5d239f (diff)
cleanup
Diffstat (limited to 'setup')
-rwxr-xr-xsetup/core/install-packages.sh2
-rwxr-xr-xsetup/port-forward/ssh-port-forward.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/setup/core/install-packages.sh b/setup/core/install-packages.sh
index dd3e69d..fb0a75d 100755
--- a/setup/core/install-packages.sh
+++ b/setup/core/install-packages.sh
@@ -6,7 +6,7 @@ sudo dnf install -y epel-release
6sudo dnf install -y nc openssl bat autossh tmux htop tar bmon gzip tree wget curl plocate nano vim unzip net-tools git python3 python3-pip make wireguard-tools usbutils yum 6sudo dnf install -y nc openssl bat autossh tmux htop tar bmon gzip tree wget curl plocate nano vim unzip net-tools git python3 python3-pip make wireguard-tools usbutils yum
7sudo dnf install -y xclip 7sudo dnf install -y xclip
8 8
9sudo dnf install -y gcc gcc-c++ 9sudo dnf install -y gcc gcc-c++ openssl-devel
10sudo dnf install -y java-latest-openjdk-devel 10sudo dnf install -y java-latest-openjdk-devel
11#sudo dnf install -y asio-devel boost-devel openssl-devel 11#sudo dnf install -y asio-devel boost-devel openssl-devel
12 12
diff --git a/setup/port-forward/ssh-port-forward.sh b/setup/port-forward/ssh-port-forward.sh
index 4483ef4..c4cb0a8 100755
--- a/setup/port-forward/ssh-port-forward.sh
+++ b/setup/port-forward/ssh-port-forward.sh
@@ -13,7 +13,7 @@ echo "cleaning attempted."
13 13
14ssh $HOST $(for i in $(seq ${j}000 ${j}005); do echo "-R $i:localhost:$i"; done; echo "-R ${j}022:localhost:22") 14ssh $HOST $(for i in $(seq ${j}000 ${j}005); do echo "-R $i:localhost:$i"; done; echo "-R ${j}022:localhost:22")
15 15
16echo "port forward is available on port {j}00x" 16echo "port forward is available on ports ${j}000-${j}005, ssh on ${j}022"
17 17
18#ideally port forward from 2 onwards, there seems to be a problem for 1000(or just change all to j001) 18#ideally port forward from 2 onwards, there seems to be a problem for 1000(or just change all to j001)
19#jupyter lab --port=2001 --ip=0.0.0.0 19#jupyter lab --port=2001 --ip=0.0.0.0