[英]Multi user signin on JupyterHub
我正在尝试使用这些说明在 Amazon EC2 实例上设置 JupyterHub。
在标题为运行集线器服务器的步骤中,我使用sudo jupyterhub
运行服务器。 但是我无法使用其他 Linux 用户的凭据登录(除了用于运行服务器的用户)。
它说没有这样的文件或目录:日志中的“jupyterhub-singleuser” ,我在浏览器中收到 500 内部服务器错误。 请帮忙!
以下是设置 jupyterhub 以供多用户使用的方法:
我的github在这里会帮助你。
创建一个组:
$ sudo groupadd <groupname>
将用户添加到组:
$ sudo adduser <username> <groupname>
使用:
c.LocalAuthenticator.group_whitelist = ['<groupname>']
你问这个问题已经很长时间了,但我认为我可以帮助其他有类似问题的用户。
我认为问题在于jupyterhub-singleuser
不在所有用户的 PATH 中。 我使用的解决方案是为 jupyterhub 需要的二进制文件创建符号链接。
sudo ln -s /your/jupyterhub/install/location/jupyterhub /usr/bin/jupyterhub
sudo ln -s /your/jupyterhub/install/location/configurable-http-proxy /usr/bin/configurable-http-proxy
sudo ln -s /your/jupyterhub/install/path/node /usr/bin/node
sudo ln -s /your/jupyterhub/install/path/jupyterhub-singleuser /usr/bin/jupyterhub-singleuser
我认为它会起作用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.