Skip to content
On this page

安装办法

bash
pip install jupyter

运行时指定

bash
nohup jupyter notebook
--no-browser --port=8889
--ip 0.0.0.0 2>&1 $ > jupyter.log

nohup表示守护进程,即使关闭SSH也会运行。最后的&表示后台运行

永久更改配置文件

生成jupyter notebook 配置文件

bash
jupyter notebook --generate-config

设置访问密码

bash
jupyter notebook password

更改配置文件

bash
c.NotebookApp.ip = '*'
c.NotebookApp.allow_root = True
c.NotebookApp.port = 8888

Released under the MIT License.