jupyterlab远程服务器配置
jupyterlab远程服务器配置
1、首先安装jupyterlab
pip install jupyterlab
2、初始化jupyter配置
jupyter notebook --generate-config
通常来说生成的文件位于~/.jupyter/jupyter_notebook_config.py
3、设置访问密码
jupyter notebook password
然后会弹出需要输入两次密码,输入完成后密码会被记录到~/.jupyter/jupyter_notebook_config.json,将生成的密码hash复制存档,后续会用到
接下来修改远程访问需要修改的配置项,修改~/.jupyter/jupyter_notebook_config.py文件
c.NotebookApp.password = '' # 粘贴上面生成的密码hash
c.NotebookApp.allow_remote_access = True
c.NotebookApp.ip='*'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 19630
原文地址:https://blog.csdn.net/weixin_45014634/article/details/142458137
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!