installation de jypterhub , puis de jupyter lab
installer le jupyter HUB avec https://github.com/jupyterhub/jupyterhub
installer leplugin lab avec : https://github.com/jupyterhub/jupyterlab-hub
installer le plugin ldap auth : https://github.com/jupyterhub/ldapauthenticator
attention , la creation des comptes ldap en local ne fonctionne pas , il faut mettre le serveur en nss ldap : https://wiki.debian.org/fr/LDAP/NSS
history :
145 curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
146 apt-get install nodejs
147 npm
148 npm install -g configurable-http-proxy
149 pip3 install --upgrade notebook
150 jupyterhub --ip 192.168.130.69 --port 80
162 vi /root/.jupyter/jupyter_notebook_config.py
163 jupyterhub --ip 192.168.130.69 --port 80
164 cp /root/.jupyter/jupyter_notebook_config.py /root/.jupyter/jupyter_notebook_config.py.old
165 jupyterhub --generate-config
166 ls
167 vi jupyterhub_config.py
206 rm jupyterhub_cookie_secret
229 apt-get install libnss-ldap 230 id fbitschy 231 vi /etc/nsswitch.conf 232 vi /etc/libnss-ldap.conf 233 getent passwd 234 etc/init.d/nscd stop 235 apt-get install libnss-ldapd 236 getent passwd 237 vi /etc/nsswitch.conf
280 jupyterhub --ip 192.168.130.69 --port 80 --no-ssl --debug 281 jupyter labextension install @jupyterlab/hub-extension 282 vi jupyterhub_config.py 283 vi jupyterhub_config.py 284 jupyterhub --ip 192.168.130.69 --port 80 --no-ssl --debug 285 chown fbitschy /export/home/cmp/fbitschy/.local 286 chown fbitschy /export/home/cmp/fbitschy/ 287 jupyter labhub --ip 192.168.130.69 --port 80 --no-ssl --debug 288 jupyter labhub 289 jupyter labhub --ip 192.168.130.69 290 vi jupyterhub_config.py 291 vi /root/.jupyter/jupyter_notebook_config.py 292 jupyter labhub --ip 192.168.130.69 293 jupyterhub --ip 192.168.130.69 --port 80 --no-ssl --debug 294 vi /etc/fstab