- Deep Learning with PyTorch Quick Start Guide
- David Julian
- 262字
- 2021-07-02 15:00:10
Tunneling in to IPython
IPython is an easy and convenient way to edit code through a web browser. If you are working on a desktop computer, you can just launch IPython and point your browser to localhost:8888. This is the port that the IPython server, Jupyter, runs on. However, if you are working on a cloud server, then a common way to work with code is to tunnel in to IPython using SSH. Tunneling in to IPython involves the following steps:
- In your SSH client, set your destination port to localhost:8888. In PuTTY, go to Connection | SSH | Tunnels.
- Set the source port to anything above 8000 to avoid conflicting with other services. Click Add. Save these settings and open the connection. Log in to your droplet as usual.
- Start the IPython server by typing jupyter notebook into Command Prompt of your server instance.
- Access IPython by pointing your browser to localhost: source port; for example, localhost:8001.
- Start the IPython server.
Note that you may need a token to access the server for the first time. This is available from the command output once you start Jupyter. You can either copy the URL given in this output directly into your browser's address bar, changing the port address to your local source port address, for example: 8001, or you can elect to paste the token, the part after token=, into the Jupyter start-up page and replace it with a password for future convenience. You now should be able to open, run, and save IPython notebooks.
- Ansible Configuration Management
- 電氣自動(dòng)化專業(yè)英語(yǔ)(第3版)
- Hands-On Internet of Things with MQTT
- R Data Analysis Projects
- PLC與變頻技術(shù)應(yīng)用
- MATLAB-Simulink系統(tǒng)仿真超級(jí)學(xué)習(xí)手冊(cè)
- 三菱FX/Q系列PLC工程實(shí)例詳解
- AMK伺服控制系統(tǒng)原理及應(yīng)用
- 數(shù)字多媒體技術(shù)與應(yīng)用實(shí)例
- Flash CS3動(dòng)畫制作
- Mastering Android Game Development with Unity
- 人工智能:重塑個(gè)人、商業(yè)與社會(huì)
- 軟件需求十步走
- INSTANT R Starter
- 探索中國(guó)物聯(lián)網(wǎng)之路