From 8375be39472307a063d3653c4a807c86d72a5413 Mon Sep 17 00:00:00 2001 From: RomanNum3ral Date: Thu, 10 Apr 2025 11:59:48 +0000 Subject: [PATCH] Add install.sh --- install.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..8f079e9 --- /dev/null +++ b/install.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# Install Python & pip +apt update +apt upgrade +apt install -y python3 python3-pip +pip3 install --upgrade pip + +# Install Proxy +apt install -y npm +npm install -y -g configurable-http-proxy + +# Install JupyterHub & Notebook +sudo -H pip3 install notebook jupyterhub + +# Generate config & move +jupyterhub --generate-config +mv jupyterhub_config.py /root +