flagflag  
1: 2020-08-18 (Tue) 20:20:25 iseki source
Line 1: Line 1:
 +** JupyterHub [#mb71944e]
 +- Jupyterサーバー(ユーザ認証機能つき)
 +- https://horomary.hatenablog.com/entry/20​19/11/09/181614
 +#br
 +*** INSTALL [#nfb5f43c]
 + (base) conda create -n jupyterhub python=3.8 -y
 + (base) conda activate jupyterhub
 + (jupyterhub) conda install -c conda-forge notebook -y
 + (jupyterhub) conda install -c conda-forge jupyterlab -y
 + (jupyterhub) conda install -c conda-forge jupyterhub -y
 + (jupyterhub) conda install -c conda-forge voila -y
 + (jupyterhub) conda install jupyter_client -y
 +
 + (jupyterhub) git clone https://github.com/jupyterhub/nativeauth​enticator.git
 + (jupyterhub) pip install -e nativeauthenticator
 + (jupyterhub) pip install dockerspawner
 +#br
 +
 +*** 設定 [#idb49705]
 +- jupyterhub --generate-config を実行すると カレントディレクトリに設定ファイル ''jupyterhub_config.py'' が生成される.
 +- 個人的には jupyterhub が /usr/local 以下にある場合は /usr/local/etc/jupyterhub 以下に置く.
 +#br
 +
 +*** 実行 [#a826d7f6]
 + (base) conda activate jupyterhub
 + (jupyterhub) jupyterhub --no-ssl -f /usr/local/etc/jupyterhub/jupyterhub_con​fig.py
 +
 +**** 使用ポート [#me192c34]
 +- 8000
 +- 8081
 +#br
 +
 +*** jovyan って誰? [#w4a21247]
 +- Docker を使用すると,作業ディレクトリが /home/jovyan/work 固定なのだが?
 +- c.DockerSpawner.notebook_dir 辺りをいじっても変化しない?
 +#br
 +
 +** Trouble Shooting [#rf83821d]
 +
 +*** JupyterHub: PAM使用時に 再login するとPAMの認証エラーになる. [#cec1cefc]
 +- バグだろ.
 +- Resolve: jupyterhub_config.py に ''c.PAMAuthenticator.open_sessions = False'' を追加する
 +- see: https://github.com/jupyterhub/jupyterhub​/issues/486
 +#br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

42 user(s) are online (1 user(s) are browsing xpwiki)

Members: 0
Guests: 42

more...

Access Counter

Today : 6203620362036203
Yesterday : 1361113611136111361113611
Total : 2364461023644610236446102364461023644610236446102364461023644610
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com