Skip to content

jupyter

配置jupyter book ,方便运维
bash
jupyter notebook --generate-config --allow-root

jupyter notebook password

#配置 jupyter_notebook_config.py
c.NotebookApp.ip='*'
c.NotebookApp.password = u'sha:ce...刚才复制的那个密文'
c.NotebookApp.open_browser = False
c.NotebookApp.port =9998 #可自行指定一个端口, 访问时使用该端口

启动服务

bash
jupyter notebook --allow-root

测试

http://locahost:9998/tree?