Posts

Jupyterhub configurations - https (with a self signed certificate) and starting with a shared directory for multiple users

Generate the default configuration file.   $jupyterhub --generate-config This will generate the default configuration that will be used by Jupyterhub, in the directory where the command is run. We are going to do changes. But, running this proves the fact that Jupyterhub installation has been successful in your box.  Rename the config file. Call this as def_config.py Move this config file to the site-packages directory where jupyterhub is installed.  If you do not know the site-packages directory where jupyterhub is installed, do execute the command, $sudo find / -iname jupytherhub You will find a lot of results.. In those results check for the site-packages directory.. it will be something like ……/python3.x/site-packages/jupyterhub/ Make a copy of the def_config.py and call it as ssl_config.py in the same folder ……/python3.x/site-packages/jupyterhub/ Run the following command to create a self signed certificate $ openssl req         -newkey rsa

Jupyterhub Offline install (without internet!)

Installing Jupyterhub in an offline environment (without internet) What?  Installing Jupyterhub catering to multiple users offline (without internet connectivity) Why? In scenarios where the Enterprise environment or the Corporate Lab Servers are not connected to the internet, offline installations are the only way to install a software. Sometimes many number of days (Sometimes weeks) are spent to have a successful installation. This is written to save some man days for offline Jupyterhub installations Environment Cent OS 7, Anaconda 5.1, Jupyterhub 0.8.1 For one of the projects that I am working with, we had to setup Jupyterhub in a lab environment that did not have internet connectivity. Though,  a lot of information is available for online installations, I couldn't find a link that provided the first set of complete basic steps for an offline installation .... like a "hello world" for Jupyterhub offline installs