How to install and configure JupyterHub: Difference between revisions

From DISI
Jump to navigation Jump to search
No edit summary
No edit summary
Line 46: Line 46:
</pre>
</pre>


'''Install jupyterhub with Anaconda'''
'''Install JupyterHub with Anaconda'''
<pre>
<pre>
conda install -c conda-forge jupyterhub
conda install -c conda-forge jupyterhub
</pre>
'''Start and visit JupyterHub'''
<pre>
jupyterhub
Visit https://localhost:8000 in your browser, and sign in with your unix credentials.
</pre>
</pre>

Revision as of 23:46, 16 July 2018

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

Install JupyterHub with Anaconda

conda install -c conda-forge jupyterhub

Start and visit JupyterHub

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