设置 jupyter notebook 可远程访问

设置 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的值自定义。
posted @ 2020-02-07 12:00  叶建成  阅读(402)  评论(0编辑  收藏  举报