From 4113d7756adfd2daf9a770cbf5088a92bd1a65a6 Mon Sep 17 00:00:00 2001 From: RomanNum3ral Date: Thu, 10 Apr 2025 15:10:24 +0000 Subject: [PATCH] Update install.sh --- install.sh | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/install.sh b/install.sh index 0f7a11d..89374de 100644 --- a/install.sh +++ b/install.sh @@ -1,19 +1,11 @@ #!/bin/bash -# Install Python & pip +# Update & Upgrade machine apt update -apt upgrade -apt install -y python3 python3-pip -pip3 install --upgrade pip +apt upgrade -y -# Install Proxy -apt install -y npm -npm install -g configurable-http-proxy - -# Install JupyterHub & Notebook -pip3 install notebook jupyterhub --break-system-packages - -# Generate config & move -jupyterhub --generate-config -mv jupyterhub_config.py /root +# Install Prerequisites +apt install -y python3 python3-dev git curl +# Pull & install JupyterHub +curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin anon \ No newline at end of file