flagflag  
10: 2020-08-23 (Sun) 03:36:56 iseki source 11: 2020-08-23 (Sun) 14:27:13 iseki source
Line 1: Line 1:
** JupyterHub [#mb71944e] ** JupyterHub [#mb71944e]
- マルチユーザのための [[Jupyter]] サーバー(ユーザ認証機能つき) - マルチユーザのための [[Jupyter]] サーバー(ユーザ認証機能つき)
 +- https://jupyterhub.readthedocs.io/en/0.7​.2/getting-started.html
- https://horomary.hatenablog.com/entry/20​19/11/09/181614 - https://horomary.hatenablog.com/entry/20​19/11/09/181614
- see also: ''[[Jupyter]]'' - see also: ''[[Jupyter]]''
 +- see also: [[Docker]], [[Podman]]
 +- see also: [[Kubernetes]]
#br #br
Line 28: Line 31:
** 設定 [#idb49705] ** 設定 [#idb49705]
 +- https://zero-to-jupyterhub.readthedocs.i​o/en/latest/customizing/index.html
 +- https://zero-to-jupyterhub.readthedocs.i​o/en/latest/administrator/index.html
 +
- jupyterhub --generate-config を実行すると カレントディレクトリに設定ファイル ''jupyterhub_config.py'' が生成される. - jupyterhub --generate-config を実行すると カレントディレクトリに設定ファイル ''jupyterhub_config.py'' が生成される.
- 個人的には jupyterhub が /usr/local 以下にある場合は /usr/local/etc/jupyterhub 以下に置く. - 個人的には jupyterhub が /usr/local 以下にある場合は /usr/local/etc/jupyterhub 以下に置く.
- 設定ファイルは拡張子が .py でないと,読み込まれない場合がある? - 設定ファイルは拡張子が .py でないと,読み込まれない場合がある?
 +
#br #br
 +
*** Authenticator Class (authenticator_class) [#g1e9cdae] *** Authenticator Class (authenticator_class) [#g1e9cdae]
**** auth.DummyAuthenticator [#g40f4bb4] **** auth.DummyAuthenticator [#g40f4bb4]
Line 107: Line 115:
** 実行 [#a826d7f6] ** 実行 [#a826d7f6]
 (base) # conda activate jupyterhub  (base) # conda activate jupyterhub
- (jupyterhub) # jupyterhub --no-ssl -f /usr/local/etc/jupyterhub/jupyterhub_con​fig.py+ (jupyterhub) # jupyterhub -f /usr/local/etc/jupyterhub/jupyterhub_con​fig.py
-**** 使用ポート [#me192c34] +- --no-ssl は0.7で廃止された
-- 8000 +
-- 8081+
#br #br
Line 120: Line 126:
- docker pull niicloudoperation/notebook - docker pull niicloudoperation/notebook
#br #br
 +** Spawner [#v67998b2]
 +
 +*** [[Docker]] [#e1984289]
 +- .......
 +#br
 +
 +*** [[Podman]] [#t1db1fc3]
 +- ........
 +#br
 +
 +*** [[Kubernetes]] [#af74888d]
 +- https://github.com/jupyterhub/zero-to-ju​pyterhub-k8s
 +- https://zero-to-jupyterhub.readthedocs.i​o/en/latest/
 +#br
 +
 +** DB [#v881917b]
 +*** MySQL [#ge9c722d]
 +- [[SQLAlchemy]] で PyMySQL ドライバを使用する
 +- pool_recycle の設定を忘れずに!
 +- charset は urf8mb4
 +#br
 +
** Trouble Shooting [#rf83821d] ** Trouble Shooting [#rf83821d]


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

45 user(s) are online (4 user(s) are browsing xpwiki)

Members: 0
Guests: 45

more...

Access Counter

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