1.安装jupyter:
sudo pip3 install jupyterlab
注:安装错误可能是flack没安装:pip install flask
之后再次安装jupyter
2.设置web密码:
jupyter-notebook password
3.设置端口和可访问ip:
jupyter notebook --no-browser --port 8888 --ip=0.0.0.0
注:0.0.0.0表示都可以访问
4.访问jupyter:
http://公网ip/8888