Difference between revisions of "Jupyterhub"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 7: Line 7:
 
We do not use the Anaconda install, because that does not play nice with ROOT. We would want to use the default python3 in /bin/python3 but that is a 3.4 python, and we need a >=3.5. Yuck!
 
We do not use the Anaconda install, because that does not play nice with ROOT. We would want to use the default python3 in /bin/python3 but that is a 3.4 python, and we need a >=3.5. Yuck!
 
See: [https://jupyterhub.readthedocs.io/en/stable/quickstart.html Jupyterhub quick start]  
 
See: [https://jupyterhub.readthedocs.io/en/stable/quickstart.html Jupyterhub quick start]  
 +
 +
=== Python3 ===
  
 
First install python3.6 See: [https://janikarhunen.fi/how-to-install-python-3-6-1-on-centos-7.html Install Python3.6]
 
First install python3.6 See: [https://janikarhunen.fi/how-to-install-python-3-6-1-on-centos-7.html Install Python3.6]
Line 16: Line 18:
 
   pip3.6 install scipy numpy ipython pandas  
 
   pip3.6 install scipy numpy ipython pandas  
 
   pip3.6 install jupyter
 
   pip3.6 install jupyter
 +
 +
=== Jupyter Hub ===
  
 
   yum install npm nodejs
 
   yum install npm nodejs
Line 21: Line 25:
 
   npm install -g configurable-http-proxy
 
   npm install -g configurable-http-proxy
  
 
+
Create the /etc/jupyterhub directory for the configs. Copied starting point from roentgen. Read the docs...
Create the /etc/jupyterhub directory for the configs.
 

Revision as of 16:05, 12 October 2018

JupyterHub

The JupyterHub system allows you to serve up jupyter notebooks over the web.

Installation

We do not use the Anaconda install, because that does not play nice with ROOT. We would want to use the default python3 in /bin/python3 but that is a 3.4 python, and we need a >=3.5. Yuck! See: Jupyterhub quick start

Python3

First install python3.6 See: Install Python3.6

 yum install https://centos7.iuscommunity.org/ius-release.rpm
 yum install python36u
 yum install python36u-pip
 yum install python36u-devel
 pip3.6 install scipy numpy ipython pandas 
 pip3.6 install jupyter

Jupyter Hub

 yum install npm nodejs
 pip3.6 install jupyterhub 
 npm install -g configurable-http-proxy

Create the /etc/jupyterhub directory for the configs. Copied starting point from roentgen. Read the docs...