Add install.sh
This commit is contained in:
commit
8375be3947
|
|
@ -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
|
||||
|
||||
Loading…
Reference in New Issue