How to install and configure JupyterHub

From DISI
Revision as of 23:27, 16 July 2018 by Jizhou (talk | contribs)
Jump to navigation Jump to 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 https://centos7.iuscommunity.org/ius-release.rpm
sudo yum install python36u
python3.6 -V

Install pip (if needed)

sudo yum install python-pip
wget "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
python3.6 get-pip.py

Install npm/nodejs (if needed)

curl --silent --location https://rpm.nodesource.com/setup_10.x | 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