步骤:
1、服务器安装conda环境
2、安装jupyter notebook
3、开启jupyter notebook的远程访问
关键解决方案:https://www.cpolar.com/blog/remote-jupyter-notebook-public-network-remote-access-to-intranet-jupyter-servers-intranet-penetration
4、安装nginx反向代理
5、安装完成访问
注意:启动jupyter notebook服务的时候要注意跨域问题
推荐启动命令:jupyter notebook --NotebookApp.allow_origin='your address'
问题追加:
2023-3-26:Q:如何保持会话状态
A:下载一个screen工具,用screen会话打开jupyter服务,就可以保持会话状态