赞
踩
1、安装 jupyter
pip install jupyter
2、生成密码
jupyter-notebook password
这将会在 ‘~/.jupyter/jupyter_notebook_config.json’ 文件中生成一个哈希键
vi .jupyter/jupyter_notebook_config.json
3、生成配置文件
jupyter lab --generate-config
4、修改配置文件
vi ~/.jupyter/jupyter_notebook_config.py
c.NotebookApp.ip = '*'
# Fill in the hash key
c.NotebookApp.password = u'sha1:1e39d24dcd6c:b265321ca0c4cb798888bcb69b0024983a8ac439'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 6666
c.NotebookApp.allow_remote_access = True
5、 打开jupyter server
jupyter lab
6、 打开浏览器访问jupyter lab
http://server-ip-address:6666
7、如果访问失败了,配置SHH隧道
8、最终登录上jupyter lab
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。