How to install and configure JupyterHub

Jump to: navigation, search

This tutorial shows how to install and configure JupyterHub on Centos 7.

Install Python3.6 (if needed)

sudo yum update
sudo yum install yum-utils
sudo yum groupinstall development
sudo yum install
sudo yum install python36u
python3.6 -V

Install pip (if needed)

sudo yum install python-pip
wget "" -o ""

Install npm/nodejs (if needed)

curl --silent --location | sudo bash -
sudo yum -y install nodejs

Install proxy with npm

npm install -g configurable-http-proxy

Install jupyter notebook

python3.6 -m pip install notebook

Install Anaconda

Enter(many times) >> yes >> give directory or keep it as Default

Add Anaconda to PATH

export PATH=/PATH to Anacond/:$PATH

Install JupyterHub with Anaconda

conda install -c conda-forge jupyterhub

Start and visit JupyterHub

sudo jupyterhub
Visit https://localhost:8000 in your browser, and sign in with your unix credentials.

Create a configuration file in current folder and use the configuration file

jupyterhub --generate-config 
jupyterhub -f /path/to/