-
生成配置文件
jupyter notebook --generate-config
-
自动生成密码
jupyter notebook password
-
修改配置文件vim ~/.jupyter/jupyter_notebook_config.py
c.NotebookApp.allow_remote_access = True
c.NotebookApp.open_browser = False
c.NotebookApp.ip='*'
c.NotebookApp.port =8888
然后在浏览器输入服务器的ip地址加端口即可。
http://ip:8888