Jupyter Notebook集群有什么用 [英] What is the use of Jupyter Notebook cluster

查看:1263
本文介绍了Jupyter Notebook集群有什么用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您能告诉我jupyter群集的用途是什么.我创建了jupyter集群,并建立了连接.但是我还是很困惑,如何有效地使用该集群?

Can you tell me what is the use of jupyter cluster. I created jupyter cluster,and established its connection.But still I'm confused,how to use this cluster effectively?

谢谢

推荐答案

使用Jupyter Notebook群集,您可以在本地计算机上运行Notebook,并通过设置适当的端口号连接到群集上的Notebook.示例代码:

With Jupyter Notebook cluster, you can run notebook on the local machine and connect to the notebook on the cluster by setting the appropriate port number. Example code:

  1. 使用ssh username@ip_address转到服务器.
  2. 设置运行笔记本的端口号.在远程终端上,运行jupyter notebook --no-browser --port=7800
  3. 在服务器的本地终端run ssh -N -f -L localhost:8001:localhost:7800 username@ip_address上.
  4. 在本地计算机上打开Web浏览器,然后转到http://localhost:8001/
  1. Go to Server using ssh username@ip_address to server.
  2. Set up the port number for running notebook. On remote terminal run jupyter notebook --no-browser --port=7800
  3. On your local terminal run ssh -N -f -L localhost:8001:localhost:7800 username@ip_address of server.
  4. Open web browser on local machine and go to http://localhost:8001/

这篇关于Jupyter Notebook集群有什么用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆