Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
playground:about:coworking:jupyterhub [2025/03/14 14:42] 20.171.207.209 alte Version wiederhergestellt (2025/03/13 02:52) |
playground:about:coworking:jupyterhub [2025/03/30 12:23] (aktuell) 20.171.207.32 alte Version wiederhergestellt (2025/03/14 07:26) |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | http:// | ||
+ | |||
offizielle Doku: https:// | offizielle Doku: https:// | ||
Installations PresentationsPDF + Youtube https:// | Installations PresentationsPDF + Youtube https:// | ||
+ | |||
+ | ===== Jupyter Server aus lokalen Verzeichnisen starten ===== | ||
+ | This launches a Tornado-based Jupyter Server. \\ | ||
+ | '' | ||
+ | '' | ||
+ | Currently running servers: \\ | ||
+ | http:// | ||
+ | http:// | ||
+ | |||
+ | https:// | ||
===== Hub Installation im lokalen Netzwerk ===== | ===== Hub Installation im lokalen Netzwerk ===== | ||
+ | |||
Anleitung mit eigenem Dockerfile https:// | Anleitung mit eigenem Dockerfile https:// | ||
Zeile 44: | Zeile 57: | ||
Nun noch folgenden Befehl ausführen um JupyterHub-Server zu starten. | Nun noch folgenden Befehl ausführen um JupyterHub-Server zu starten. | ||
- | docker-compose up -d | + | docker compose up -d --build |
| | ||
Öffne `http:// | Öffne `http:// | ||
Zeile 76: | Zeile 89: | ||
Falls noch eine zweite Subdomain möglich ist sozusagen als Meisterstückadresse wäre ibex.spielwiese.bergemann-hoehne.com super wobei spielwiese auch durch beliebige Domainnamensyntax variabel sein kann. Diese zweite geht auf die IP 185.89.38.58 | Falls noch eine zweite Subdomain möglich ist sozusagen als Meisterstückadresse wäre ibex.spielwiese.bergemann-hoehne.com super wobei spielwiese auch durch beliebige Domainnamensyntax variabel sein kann. Diese zweite geht auf die IP 185.89.38.58 | ||
// | // | ||
+ | |||
+ | ==== Authentifikation mit GitHub ==== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | benötigt: | ||
+ | - Application name Something users will recognize and trust. | ||
+ | * ibex-tljh | ||
+ | - Homepage URL The full URL to your application homepage. | ||
+ | * http:// | ||
+ | - Application description This is displayed to all users of your application. | ||
+ | * The Littlest JupyterHub Server auf dem IBEX Laptop wenn dieser im Büro-Netzwerk der Synology angeschlossen ist. | ||
+ | - Authorization callback URL Your application’s callback URL. Read our OAuth documentation for more information. | ||
+ | * http:// | ||
+ | |||
+ | |||
+ | |||
+ | Client ID 5fd0150ba241c0c8fde1 | ||
+ | Client secrets f889d2ef26ca21b758db34ae868ecb9a6ddc9b6c | ||
+ | Added Jan 8, 2024 by itbsStefan Never used | ||
+ | You cannot delete the only client secret. Generate a new client secret first. | ||
+ | |||
+ | bearbeite die Konfiguration: | ||
+ | < | ||
+ | sudo tljh-config set auth.GitHubOAuthenticator.client_secret '< | ||
+ | sudo tljh-config set auth.GitHubOAuthenticator.oauth_callback_url ' | ||
+ | sudo tljh-config set auth.type oauthenticator.github.GitHubOAuthenticator | ||
+ | sudo tljh-config reload | ||
+ | </ | ||
+ | |||
+ | ==== Authentifikation zurück setzen ==== | ||
+ | |||
+ | the FirstUseAuthenticator is enabled by default in TLJH. | ||
+ | < | ||
+ | sudo tljh-config set auth.type firstuseauthenticator.FirstUseAuthenticator | ||
+ | sudo tljh-config reload | ||
+ | </ | ||
+ | Users who are currently logged in will continue to be logged in. When they log out and try to log back in, they will be asked to provide a username and password. | ||
+ | Users changing their own password | ||
+ | |||
+ | Users can change their password by first logging into their account and then visiting the url < | ||
+ | |||
+ | Allowing anyone to log in to your JupyterHub | ||
+ | |||
+ | By default, you need to manually create user accounts before they will be able to log in to your JupyterHub. If you wish to allow any user to access the JupyterHub, run the following command. | ||
+ | < | ||
+ | tljh-config set auth.FirstUseAuthenticator.create_users true | ||
+ | tljh-config reload | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | $ docker network create --subnet=255.255.255.0/ | ||
====== Startvoraussetzungen ====== | ====== Startvoraussetzungen ====== | ||
intrepid-ibex@intrepid-ibex: | intrepid-ibex@intrepid-ibex: |