The Jupyter Notebook is a web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text, just like RStudio’s rmarkdown. The project comes from IPython which now becomes a kernel for
Jupyterhub is a multi-user server that manages and proxies multiple instances of the single-user Jupyter notebook server.
The ubuntu-like installation guide can be found here. And here goes the installation steps for CEntOS 7.
Jupyterhub requires Python >= 3. Use
whereis -b python to check the version.
If Python3 does not show up, use
Next, install the necessary component for
npm to install
http-proxy in nodeJS:
sudo npm install -g configurable-http-proxy
You should have
wget, if not:
The dev component for Python (2 & 3):
Let’s go and get
sudo pip3 install jupyterhub ipython[notebook]
Now we are ready to start
jupyterhub by simply issuing
sudo jupyterhub, and go to http://localhost:8000 (8000 is the default port)
With the default configuration, we can only use
python3 kernel, in order to be able to use
python2, the following command is necessary: