欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

远程访问Jupyter Notebook

程序员文章站 2022-03-03 15:10:27
...
  • 生成配置文件
jupyter notebook --generate-config
Writing default config to: /home/openwhisk/.jupyter/jupyter_notebook_config.py
  • 生成密码
jupyter notebook password

Enter password: 
Verify password: 
[NotebookPasswordApp] Wrote hashed password to /home/openwhisk/.jupyter/jupyter_notebook_config.json
  • 修改配置信息
{
  "NotebookApp": {
    "password": "sha1:33d194d2538a:054bfc65c22597595aba21967b9106465c7489de",
    "ip": "*"
  }
}
  • 启动服务
jupyter notebook --no-browser --port=8889
  • 建立隧道后浏览器访问