> ~/.jupyter/jupyter_notebook_config.py3.设置访问IPecho "_jupyter noteboo">
赞
踩
jupyter notebook --generate-config
jupyter notebook password
显示:Enter password: **** Verify password: ****
将生成的密钥拷贝配置文件
echo "c.NotebookApp.password = 'sha1:***************'" >> ~/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.ip = '0.0.0.0'" >> ~/.jupyter/jupyter_notebook_config.py
也可以直接编辑~/.jupyter/jupyter_notebook_config.py
在末尾添加
c.NotebookApp.open_browser = False #启动时不自动打开浏览器
c.NotebookApp.port =8888 #指定访问时使用端口
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。