This installation creates a remote accessible jupyter server.
The installation is based on linux (ubuntu server).
The repo is available at github.com/saravji/notebook-server
This installation script:
follow Readme at github.com/saravji/notebook-server
Note: Network configuration should be static IP address to allow a persistent address to access the server.
A script to set the ip address static is included in the repo.
after successfull deploy of the base server log into the server or VM.
cd ~
git clone https://github.com/saravji/notebook-server.git
(you can skip ahead if your server is set up with static network settings)
find your network interface:
ip addr
There will be a loopback entry and a network address.
Find the adapter name. If it is other than "enp0s3", replace "enp0s3" with your adapter entry.
There is one locations this needs to happen:
Above example shows the ip address as 192.168.0.108/24 and the adapter name as enp0s3
to change / adjust the network settings to your network:
nano ./notebook-server/interfacesthis is a .yaml file (with no extension at the moment). Make sure to precisely adhere to the spacing structure.
exit out of nano and save your changes!
apply the changes:
you should be able to log into your server via ssh at this point.
start the main installation script:
source ./notebook-server/setup.sh
This will kick off the download and installation of anaconda:
In the basic usage, simply start the server with
jupyter notebook
from the terminal.
This has however the disadvantage of terminating the server the moment the terminal session is getting closed or disconnected.
I suggest to use the screen terminal application. This already comes pre-installed with ubuntu server.
For a quick reference / how-to see: Linuxize - How to use screen.
For a complete reference / official handbook see: Screen manual.
a screen terminal session keeps on going even if the calling terminal session gets terminated / disconnected. This means, you can let the jupyter notebook server run independently from your desktop.
At this time, most nbextensions are not exlictly compatible with jupyter notebook 6.x
As a result, most extensions are marked as not usable, if the checkmark to "disable configurtaions for nbextensions without explicit compatablity" is set.
To the best of my knowledge, extensions work fine with the jupyter notebook 6.x; it should therefore be ok to unckeck this box and use the extensions.
re: github jupyter nbextensions configurator.
for the previous installation, refer to the git repo at github.com/saravji/notebook-server.