Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
F
first
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
问题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
银宸大学计算机学院
教师群组
宋海霞-shx
exchange
first
提交
e91ab2dd
提交
e91ab2dd
1月 13, 2021
创建
作者:
宋海霞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新 jupyterhub-setup.md
上级
09f84424
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
12 行增加
和
0 行删除
+12
-0
jupyterhub-setup.md
jupyterhub-setup.md
+12
-0
没有找到文件。
jupyterhub-setup.md
浏览文件 @
e91ab2dd
https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html
https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html
# jupyterhub_config.py 配置文件的内容
import os
import os
os.environ['GITLAB_HOST'] = 'http://192.168.0.106'
os.environ['GITLAB_HOST'] = 'http://192.168.0.106'
c.JupyterHub.admin_access = True
c.JupyterHub.admin_access = True
...
@@ -19,7 +21,17 @@ https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html
...
@@ -19,7 +21,17 @@ https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html
#c.Authenticator.allowed_users = {'engintime','shx', 'test'}
#c.Authenticator.allowed_users = {'engintime','shx', 'test'}
#c.Authenticator.admin_users = {'engintime'}
#c.Authenticator.admin_users = {'engintime'}
# 查看日志
sudo journalctl -u jupyterhub -f
sudo journalctl -u jupyterhub -f
# 更改镜像源进行安装
sudo /opt/jupyterhub/bin/python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jupyterhub jupyterlab
sudo /opt/jupyterhub/bin/python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jupyterhub jupyterlab
# 使用oauth授权在 GitLab 进行的配置
# 重新启动jupyterhub服务
# 重新启动nginx服务
编写
预览
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论