linux配置jupyter notebook在局域网中访问

环境:Anaconda3-2022.10-Linux-x86_64

1.生产配置文件

jupyter notebook --generate-config

2.生产密码

jupyter notebook password

查看密码

cat  .jupyter/jupyter_notebook_config.json

 

将生成的密钥拷贝配置文件

echo "c.NotebookApp.password = 'sha1:***************'" >> ~/.jupyter/jupyter_notebook_config.py

3.设置访问IP
echo "c.NotebookApp.ip = '0.0.0.0'" >> ~/.jupyter/jupyter_notebook_config.py

4.启动jupyter notebook

 

 

posted on 2022-11-10 19:17  圆方精气神  阅读(240)  评论(0编辑  收藏  举报

导航