Add install.sh

This commit is contained in:
RomanNum3ral 2025-04-10 11:59:48 +00:00
commit 8375be3947
1 changed files with 19 additions and 0 deletions

19
install.sh Normal file
View File

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