Benutzer-Werkzeuge

Webseiten-Werkzeuge


cowork:schulung:bhs:jupyterlaptop

offizielle Doku: https://jupyterhub.readthedocs.io/en/4.0.2/

Installations PresentationsPDF + Youtube https://github.com/minrk/jupyterhub-pydata-2016

Hub Installation im localen Netzwerk

Anleitung mit eigenem Dockerfile https://youtube.com/watch?v=hoz7uhgEHcI&feature=shared


Auf dem Laptop 💻

Docker version 24.0.7, build afdd53b

https://tljh.jupyter.org/en/latest/contributing/dev-setup.html

hostibex:~/bhCode/the-littlest-jupyterhub$ docker build -t tljh-systemd . -f integration-tests/Dockerfile
(base) intrepid-ibex@intrepid-ibex:~/bhCode/the-littlest-jupyterhub$ docker images

REPOSITORY TAG IMAGE ID CREATED SIZE tljh-systemd latest 4fb657f73884 11 seconds ago 275MB

root@f3368cbc4850:/# python3 /srv/src/bootstrap/bootstrap.py –admin stefan:ibex

root@f3368cbc4850:/# l /home/jupyter-stefan/ -l

-rw-r–r– 1 jupyter-stefan jupyter-stefan 957 Dec 4 18:34 erstenotebook.ipynb

docker exec -it tljh-dev /bin/bas

ibexhubtoken 1db22c34a3104f54b8de1ae139d93d7b

Jupyterlab

conda create -n p38lab python=3.8

pip install jupyterlab

jupyter –version Selected Jupyter core packages… IPython : 8.15.0 ipykernel : 6.25.0 ipywidgets : not installed jupyter_client : 7.1.2 jupyter_core : 5.5.0 jupyter_server : 1.23.4 jupyterlab : not installed nbclient : 0.8.0 nbconvert : 7.10.0 nbformat : 5.9.2 notebook : 6.5.4 qtconsole : not installed traitlets : 5.13.0

(p38lab) intrepid-ibex@intrepid-ibex:~$ jupyter lab

http://127.0.0.1:8888/lab ibex

.jupyter/jupyter_server_config.json
{
  "ServerApp": {
    "password": "argon2:$argon2id$v=19$m=10240,t=10,p=8$vWT9HmpWgcSmme0s9BSRMw$FJtvbHZhsr19VF85PLmddYZBz2+QcttcCuOKBGCoURk"
  }
}

Streamlit

conda activate p38lab cd /home/intrepid-ibex/bhCode/onlinecodestream streamlit run streamlit_app.py

Network URL: http://192.168.178.56:8501

https://welcome2onlinecodes.streamlit.app/

https://github.com/itbsStefan/streamlit-example

/var/services/web/dokuwiki/data/pages/cowork/schulung/bhs/jupyterlaptop.txt · Zuletzt geändert: 2024/01/06 21:43 (Externe Bearbeitung)