Update install.sh

This commit is contained in:
RomanNum3ral 2025-04-10 15:10:24 +00:00
parent e458e73ac3
commit 4113d7756a
1 changed files with 6 additions and 14 deletions

View File

@ -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