How to install and configure JupyterHub

From DISI
Revision as of 23:39, 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

Install Anaconda

wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda2-4.0.0-Linux-x86_64.sh
bash Anaconda2-4.0.0-Linux-x86_64.sh
Enter(many times) >> yes >> give directory or keep it as Default

Add Anaconda to PATH

export PATH=/PATH to Anacond/:$PATH