diff options
Diffstat (limited to 'setup')
| -rwxr-xr-x | setup/core/install-packages.sh | 2 | ||||
| -rwxr-xr-x | setup/port-forward/ssh-port-forward.sh | 2 |
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 | |||
| 6 | sudo 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 | 6 | sudo 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 |
| 7 | sudo dnf install -y xclip | 7 | sudo dnf install -y xclip |
| 8 | 8 | ||
| 9 | sudo dnf install -y gcc gcc-c++ | 9 | sudo dnf install -y gcc gcc-c++ openssl-devel |
| 10 | sudo dnf install -y java-latest-openjdk-devel | 10 | sudo 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 | ||
| 14 | ssh $HOST $(for i in $(seq ${j}000 ${j}005); do echo "-R $i:localhost:$i"; done; echo "-R ${j}022:localhost:22") | 14 | ssh $HOST $(for i in $(seq ${j}000 ${j}005); do echo "-R $i:localhost:$i"; done; echo "-R ${j}022:localhost:22") |
| 15 | 15 | ||
| 16 | echo "port forward is available on port {j}00x" | 16 | echo "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 |
