2017-06-06 97 views
0

我試圖在使用these instructions的Amazon EC2實例上安裝JupyterHub。JupyterHub上的多用戶登錄

在標題爲的步驟運行Hub服務器我使用sudo jupyterhub運行服務器。但是我無法使用其他Linux用戶的憑證(與用於運行服務器的用戶不同)登錄。

它說沒有這樣的文件或目錄:'jupyterhub-singleuser'在日誌中,我在瀏覽器中得到500內部服務器錯誤。請幫忙!

回答

1

自從你問這個問題已經很長時間了,但我認爲我可以幫助其他有類似問題的用戶。

我認爲問題在於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 

我認爲它會工作