## 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
Jupyter Notebook之web访问密码设定