设置 jupyter notebook 可远程访问
配置如下:
jupyter notebook --generate-config jupyter notebook password vim /home/jacen/.jupyter/jupyter_notebook_config.py
最后一步是在 jupyter_notebook_config.py 中追加
c.NotebookApp.ip = '*' c.NotebookApp.password = u'sha1:4f28a449292e:f462cfac22a9bcbf8ac8ec3aea6dd6bfa2b8d258' c.NotebookApp.open_browser = False c.NotebookApp.port = 9512
c.NotebookApp.password的值是生成的/home/jacen/.jupyter/jupyter_notebook_config.json中的password。
c.NotebookApp.port的值自定义。
来源:https://www.cnblogs.com/jacen789/p/12272526.html