我正在尝试使用SSH隧道在Ubuntu服务器上安装jupyter笔记本。
我的服务器限制对根目录的访问。我可以设置隧道,但是当我转到http时,会生成一个权限错误。
在这个服务器上,即使列出根目录的内容,也似乎是被禁止的。因此,我试图更改配置路径以删除系统路径。
(jupyter) an25562@ochmcomp01:~$ jupyter --path
config:
/stor/home/an25562/.jupyter
/stor/home/an25562/miniconda3/envs/jupyter/etc/jupyter
/usr/local/etc/jupyter
/etc/jupyter
data:
/stor/home/an25562/.local/share/jupyter
/stor/home/an25562/miniconda3/envs/jupyter/share/jupyter
/usr/local/share/jupyter
/usr/share/jupyter
runtime:
/stor/home/an25562/.local/share/jupyter/runtime如何更改配置路径以删除的根方向,即:
/usr/local/etc/jupyter,
/etc/jupyter,
/usr/local/share/jupyter,
/usr/share/jupyter发布于 2019-10-12 11:23:22
权限问题很可能不是这些文件夹造成的,因为其中大多数都是回退文件夹。您可以以调试模式(启动服务器时使用parameter命令行参数)运行服务器,并检查服务器日志以寻找任何线索。
如果您仍然认为需要更改的是文件夹,请参考https://jupyter.readthedocs.io/en/latest/projects/jupyter-directories.html
https://stackoverflow.com/questions/58346004
复制相似问题