Update install.sh
This commit is contained in:
parent
e458e73ac3
commit
4113d7756a
20
install.sh
20
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
|
||||
Loading…
Reference in New Issue