flagflag  If you want to see English page, please click "English" Button at Left.
2: 2020-08-21 (金) 17:45:56 iseki ソース 3: 2020-08-23 (日) 02:49:18 iseki ソース
Line 115: Line 115:
 #      Use JupyterHub.bind_url  #      Use JupyterHub.bind_url
 #c.JupyterHub.base_url = '/'  #c.JupyterHub.base_url = '/'
 +
 + # My IP Address
 + my_ip_addr = '192.168.27.40'
 ## The public facing URL of the whole JupyterHub application.  ## The public facing URL of the whole JupyterHub application.
 #  #
 #  This is the address on which the proxy will bind. Sets protocol, ip, base_url  #  This is the address on which the proxy will bind. Sets protocol, ip, base_url
- c.JupyterHub.bind_url = 'http://192.168.27.20:8000'+ c.JupyterHub.bind_url = 'http://'+my_ip_addr+':8000'
 ## Whether to shutdown the proxy when the Hub shuts down.  ## Whether to shutdown the proxy when the Hub shuts down.
Line 255: Line 258:
 #  #
 #  .. versionadded:: 0.9  #  .. versionadded:: 0.9
- c.JupyterHub.hub_bind_url = 'http://192.168.27.20:8081'+ c.JupyterHub.hub_bind_url = 'http://'+my_ip_addr+':8081'
 ## The ip or hostname for proxies and spawners to use for connecting to the Hub.  ## The ip or hostname for proxies and spawners to use for connecting to the Hub.
Line 270: Line 273:
 #  #
 #  .. versionadded:: 0.8  #  .. versionadded:: 0.8
- c.JupyterHub.hub_connect_ip = '192.168.27.20'+ c.JupyterHub.hub_connect_ip = my_ip_addr
 ## DEPRECATED  ## DEPRECATED
Line 304: Line 307:
 #  See `hub_connect_ip` for cases where the bind and connect address should  #  See `hub_connect_ip` for cases where the bind and connect address should
 #  differ, or `hub_bind_url` for setting the full bind URL.  #  differ, or `hub_bind_url` for setting the full bind URL.
- #c.JupyterHub.hub_ip = '192.168.27.20' 
 #c.JupyterHub.hub_ip = '127.0.0.1'  #c.JupyterHub.hub_ip = '127.0.0.1'
 c.JupyterHub.hub_ip = '0.0.0.0'  c.JupyterHub.hub_ip = '0.0.0.0'
Line 354: Line 356:
 #  .. deprecated: 0.9  #  .. deprecated: 0.9
 #      Use JupyterHub.bind_url  #      Use JupyterHub.bind_url
- c.JupyterHub.ip = '192.168.27.20'+ c.JupyterHub.ip = my_ip_addr
 ## Supply extra arguments that will be passed to Jinja environment.  ## Supply extra arguments that will be passed to Jinja environment.
Line 499: Line 501:
 #    "coursewarehub": "niicloudoperation/jupyterhub-singleuser",  #    "coursewarehub": "niicloudoperation/jupyterhub-singleuser",
 #}  #}
- c.DockerSpawner.remove = True + #c.DockerSpawner.remove = True 
- c.DockerSpawner.extra_create_kwargs​ = {'user': 'root'}+ #c.DockerSpawner.extra_create_kwargs = {'user': 'root'}
 #c.DockerSpawner.extra_host_config = {'runtime': 'nvidia'}  #c.DockerSpawner.extra_host_config = {'runtime': 'nvidia'}
 c.Spawner.environment = {'GRANT_SUDO': 'yes'}  c.Spawner.environment = {'GRANT_SUDO': 'yes'}
- notebook_dir = '/home/jovyan/work' + #notebook_dir = '/home/jovyan/work' 
- c.DockerSpawner.notebook_dir = notebook_dir + #c.DockerSpawner.notebook_dir = notebook_dir 
- c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir }+ #c.DockerSpawner.volumes = { 'jupyterhub-user-{username}': notebook_dir }
 #from jupyter_client.localinterfaces import public_ips  #from jupyter_client.localinterfaces import public_ips
Line 804: Line 806:
 #  path! They can do so with many other means.  #  path! They can do so with many other means.
 #c.Spawner.notebook_dir = '/home/jupyter'  #c.Spawner.notebook_dir = '/home/jupyter'
- c.Spawner.notebook_dir = '~/notebook'+ #c.Spawner.notebook_dir = '/notebook'     note set!  it is because, this has bug!
 ## An HTML form for options a user can specify on launching their server.  ## An HTML form for options a user can specify on launching their server.


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

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

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

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 1711217112171121711217112
昨日 : 1529415294152941529415294
総計 : 2341181223411812234118122341181223411812234118122341181223411812
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com