Last active
March 18, 2018 10:43
-
-
Save dzeyelid/a645098bc8ebdc3ba04f57060964f530 to your computer and use it in GitHub Desktop.
Installation of JupyterHub and JupyterLab with jupyterlab-hub extension.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set password for JupyterHub login | |
sudo password $USER | |
# Update yum pacakges | |
sudo yum update -y | |
# Install anaconda3 | |
cd /tmp | |
curl -O https://repo.continuum.io/archive/Anaconda3-5.1.0-Linux-x86_64.sh | |
bash Anaconda3-5.1.0-Linux-x86_64.sh -b | |
# Install packages that are required by jupyterlab/hub-extension | |
sudo yum groupinstall -y "Development tools" | |
sudo yum install -y cairo-devel libjpeg-turbo-devel | |
# Install jupyterhub, jupyterlab and extension | |
cd ~ | |
source ~/anaconda3/bin/activate | |
(base) $ conda install -y -c conda-forge jupyterhub | |
(base) $ conda install -y -c conda-forge jupyterlab | |
(base) $ jupyter labextension install -y @jupyterlab/hub-extension | |
# Run jupyterhub (Note: this is just an example, please configure according to your situation.) | |
(base) $ jupyterhub --Spawner.cmd="['jupyter-labhub']" --no-ssl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment