My IPython notebooks as code examples for myself.
First you have to install and update conda. Here are the commands:
wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh
sh Miniconda3-latest-Linux-x86_64.sh
source ~/miniconda3/etc/profile.d/conda.sh # replace "~/miniconda3/" with your conda path if you've changed it
conda config --add channels conda-forge
conda update -n base -c defaults conda
To install envoirement containing: geant4
, root
, ostap
, scipy
:
conda create --name hep-env --file requirements.txt
To run Jupyter at the remote host
jupyter notebook --port=8888
To use SSH-tunneling on a browser machine:
ssh -L localhost:8888:localhost:8888 USERNAME@IP-ADDRESS