Jupyter Notebook 访问密码重置

试想你访问 Jupyter Notebook ,忽然忘记了访问密码,该怎么作。经实践,只需利用命令行从新设置下密码便可。python

## step 1:终端输入
jupyter notebook --generate -config
## step 2:终端输入
jupyter notebook password    # 按提示,输入密码
## step 3:建立sh文件,文件全名为start-pythonNotebook.sh,文件内容以下:
jupyter notebook --no-browser --ip=0.0.0.0 --port=5002
## step 4:终端输入
chmod +x ./start-pythonNotebook.sh

reference:
Jupyter Notebook之web访问密码设定web

相关文章
相关标签/搜索