# steps for setting up jupyterhub 2020.4.19
os:Linux 18.04 LTS
run the terminal
Step 1 - Install the prerequisites
~$sudo apt install python3 git curl gcc python3-dev
Step 2 - Run the JupyterHub installer
~$curl https://raw.githubusercontent.com/jupyterhub/the-littlest-jupyterhub/master/bootstrap/bootstrap.py | sudo -E python3 - --admin <admin-user-name>
//1. <admin-user-name>:please set an account name what you like,
ex.sudo -E python3 - --admin scott
//2. this step would take you about 10 minutes
step3 Installing Python3 (dependency of jupyterhub is on python3)
~$sudo apt-get -y install python3-pip
step4 Install nodejs/npm
~$sudo apt-get -y install npm nodejs
step5 Install proxy with npm
~$sudo npm install -g configurable-http-proxy
step6 Install Jupyter notebook or upgrade
~$pip3 install --upgrade notebook
step7 Test Jupyterhub default configuration
~$jupyterhub --no-ssl
step8 run the browser connecting to http://your_ip_address:8000
step9 if you are failed to connect at step7, please try this step.
~$jupyterhub --ip=0.0.0.0
step10 you would see the screen as following when your settings are fine without problems.
//username : the name you set at step2
//password : should be the one you set for your desktop or laptop
