配置 jupyter远程访问

  1. 安装anaconda

下载 然后安装
bash Anaconda-latest-Linux-x86_64.sh

  1. 配置jupyter notebook 实现远程访问

2.1 生成jupyter配置文件

jupyter notebook --generate-config
2.2 配置访问jupyter密码保护

ipython

from notebook.auth import passwd

然后生成密码
2.3 修改配置文件

vim ~/.jupyter/jupyter_notebook_config.py

c.NotebookApp.ip=’*’
c.NotebookApp.password = u’sha1:ce…粘贴上一步生成的密文’
c.NotebookApp.open_browser = False
c.NotebookApp.port =8888

最新版需要修改如下参数
uncomment and set c.NotebookApp.allow_remote_access = True

猜你喜欢

转载自blog.csdn.net/weixin_39165863/article/details/85232132