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

更新 jupyterhub-setup.md

上级 09f84424
https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html
# jupyterhub_config.py 配置文件的内容
import os
os.environ['GITLAB_HOST'] = 'http://192.168.0.106'
c.JupyterHub.admin_access = True
......@@ -19,7 +21,17 @@ https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html
#c.Authenticator.allowed_users = {'engintime','shx', 'test'}
#c.Authenticator.admin_users = {'engintime'}
# 查看日志
sudo journalctl -u jupyterhub -f
sudo /opt/jupyterhub/bin/python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jupyterhub jupyterlab
\ No newline at end of file
# 更改镜像源进行安装
sudo /opt/jupyterhub/bin/python3 -m pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jupyterhub jupyterlab
# 使用oauth授权在 GitLab 进行的配置
# 重新启动jupyterhub服务
# 重新启动nginx服务
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论