远程访问Jupyter Notebook
2016-11-28 16:07
603 查看
Jupyter Notebook很好用,但是直接远程在服务器上用体验当然不如本地计算机好,那么如何远程访问呢?
首先需要在服务器上安装好ipython, jupyter notebook,
pip install ipython pip install jypyter
生成配置文件
jupyter notebook --generate-config
生成密码
打开ipython, 创建一个密文密码In [1]: from notebook.auth import passwd In [2]: passwd() Enter password: Verify password: Out[2]: 'sha1:ce23d945972f:34769685a7ccd3d08c84a18c63968a41f1140274'
把生成的密文‘sha:ce…’复制下来
修改默认配置文件
vim ~/.jupyter/jupyter_notebook_config.py
进行如下修改:
c.NotebookApp.ip='*' # 就是设置所有ip皆可访问 c.NotebookApp.password = u'sha:ce...刚才复制的那个密文' c.NotebookApp.open_browser = False # 禁止自动打开浏览器 c.NotebookApp.port =8888 #随便指定一个端口
启动jupyter notebook
jupyter notebook
此时应该可以直接从本地浏览器直接访问http://address_of_remote:8888就可以看到jupyter的登陆界面。
参考: 远程访问jupyter notebook
相关文章推荐
- 远程访问jupyter notebook
- 远程访问jupyter notebook
- 远程访问jupyter notebook--->出现网络无法连接的问题
- 设置 jupyter notebook 可远程访问&&设置jupyer 权限问题&
- Python---jupyter notebook 远程访问
- 深度学习环境搭建:linux下 Ubuntu16.04+cuda8.0+cudnn+anaconda+tensorflow并配置远程访问jupyter notebook
- Mac远程访问Ubuntu Jupyter notebook
- 远程访问jupyter notebook
- jupyter notebook远程访问不了的问题解决
- jupyter notebook设置远程访问权限
- 远程访问jupyter notebook
- 设置 jupyter notebook 可远程访问
- 远程访问jupyter notebook
- jupyter notebook远程访问
- 实验教程1:如何在阿里云服务器ECS上安装anaconda,配置远程访问的jupyter notebook
- 深度学习环境搭建:linux下 Ubuntu16.04+cuda8.0+cudnn+anaconda+tensorflow并配置远程访问jupyter notebook
- 本地远程访问Ubuntu16.04.3服务器上的Jupyter notebook
- 远程访问jupyter notebook
- 远程访问jupyter notebook
- Jupyter notebook 配置无问题 但就是无法远程访问,解决方法