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
玉不琢,不成器。人不学,不知义。