Skip to content

服务器使用方法

Jupyter Notebook

切换到想要打开的

在控制台输入jupyter notebook,弹出以下一大串。

[I 20:58:11.012 NotebookApp] [jupyter_nbextensions_configurator] enabled 0.6.3
[I 20:58:11.012 NotebookApp] Serving notebooks from local directory: /home/ylin
[I 20:58:11.012 NotebookApp] The Jupyter Notebook is running at:
[I 20:58:11.012 NotebookApp] http://210.28.140.133:8888/?token=76f9dc7e15384aa62a563b049ad94b36144d153dfa6cc613
[I 20:58:11.012 NotebookApp]  or http://127.0.0.1:8888/?token=76f9dc7e15384aa62a563b049ad94b36144d153dfa6cc613
[I 20:58:11.013 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 20:58:11.015 NotebookApp] No web browser found: could not locate runnable browser.

按住Ctrl点击上方的第一个地址打开,然后在浏览器操作。

http://210.28.140.133:8888/?token=76f9dc7e15384aa62a563b049ad94b36144d153dfa6cc613

这样就实现了从外网访问**启动在服务器本地的jupyter服务器**的过程。

Jupyter Lab

输入jupyte lab启动替换jupyter notebook的新用户终端。

VSCode 远程隧道

VSCode远程隧道的好处在于检查语法文件。

具体操作请自行搜索,服务器方面已经配置完毕。

客户端应该只需要安装几个扩展+左下角进入隧道即可