jupyter notebook --generate-config --allow-root
vim /root/.jupyter/jupyter_notebook_config.py
c.NotebookApp.allow_root =True
# Set ip to '*' to bind on all interfaces (ips) for the public server
c.NotebookApp.ip = '*'
# c.NotebookApp.password = #u'sha1:8edfae1b217b:df011545abf9d858fb76797957fd6c12bbffe6c0'
c.NotebookApp.open_browser = False
# It is a good idea to set a known, fixed port for server access
c.NotebookApp.port = 8888
c.NotebookApp.allow_remote_access = True
设置密码:
jupyter password
进入目录后
jupyter notebook --ip=9.135.10.107 --allow-root
https://blog.csdn.net/Castlehe/article/details/108711383?ops_request_misc=&request_id=&biz_id=102&utm_term=ip%20to%20%27*%27%20to%20bind%20on%20all%20inter&utm_medium=distribute.pc_search_result.none-task-blog-2allsobaiduweb~default-2-108711383.pc_search_result_control_group&spm=1018.2226.3001.4187