flagflag  If you want to see English page, please click "English" Button at Left.
1: 2020-08-18 (火) 20:20:25 iseki ソース
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


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
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
<今日>

オンライン状況

77 人のユーザが現在オンラインです。 (15 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 77

もっと...

アクセスカウンタ

今日 : 1080310803108031080310803
昨日 : 7722772277227722
総計 : 2344228423442284234422842344228423442284234422842344228423442284
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com