- 生成配置文件
jupyter notebook --generate-config
- 生成密码
jupyter notebook password
- 修改配置
# 允许远程访问
c.NotebookApp.ip = '*'
# 修改端口
c.NotebookApp.port = 8888
# 默认不打开浏览器
c.NotebookApp.open_browser = False
jupyter notebook --generate-config
jupyter notebook password
# 允许远程访问
c.NotebookApp.ip = '*'
# 修改端口
c.NotebookApp.port = 8888
# 默认不打开浏览器
c.NotebookApp.open_browser = False