# 1.⽣成配置⽂件

jupyter notebook --generate-config

# 2.配置密码, 远程登录时需要输⼊

from notebook.auth import passwd passwd("mypassword")
#'sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed'

# 3.修改配置⽂件 ~/.jupyter/jupyter_notebook_config.py

c.NotebookApp.ip = '*' 
c.NotebookApp.password = u'sha1:bcd259ccf...<your hashed password here>'
c.NotebookApp.open_browser = False
# It is a good idea to set a known, fixed port for server access c.NotebookApp.port = 8889

# 4.启动, 访问

jupyter-notebook http://IP:8889/
(adsbygoogle = window.adsbygoogle || []).push({});
### 参考资料