# jupyter notebook --h 看下help
這時我們可以生成一個jupyter配置文件
使用 jupyter notebook --generate-config
生成jupyter配置文件,
路徑一般是~/.jupyter/jupyter_notebook_config.py
修改配置下文件
1、# vi ~/.jupyter/jupyter_notebook_config.py
2、找到 #c.NotebookApp.allow_root = False
,去掉#,並修改爲True, vi查找一下按下斜槓 ' / '
3、wq 保存退出
4、這裏有個token等會要用
5、輸入token,完成登錄。