提交 85a36afd 创建 作者: 宋海霞's avatar 宋海霞

更新 jupyterhub-setup.md

上级 6cbd85df
# 安装jupyterhub参考的链接
https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html
# jupyterhub_config.py 配置文件的内容 # jupyterhub_config.py 配置文件的内容
...@@ -31,7 +33,7 @@ https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html ...@@ -31,7 +33,7 @@ https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html
# 使用oauth授权在 GitLab 进行的配置 # 使用oauth授权在 GitLab 进行的配置
点击导航栏中的“Admin area”,然后点击左侧导航栏中的“Applications”链接,在右侧打开的页面中,点击“New Application”按钮。 点击导航栏中的“Admin area”,然后点击左侧导航栏中的“Applications”链接,在右侧打开的页面中,点击“New Application”按钮。
在New Application页面中,填写相关内容,注意Redirect URI的格式,需要勾选Trusted对应的复选框(勾选之后,用户在Gitlab登录页面输入用户名和密码后不用确认,可以直接跳转到jupyterhub页面) 在New Application页面中,填写相关内容,注意Redirect URI的格式(如果配置了nginx,注意更改,例如:http://192.168.0.107/jupyter/hub/oauth_callback),需要勾选Trusted对应的复选框(勾选之后,用户在Gitlab登录页面输入用户名和密码后不用确认,可以直接跳转到jupyterhub页面),Scopes对应的复选框全部勾选
# 重新启动jupyterhub服务 # 重新启动jupyterhub服务
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论