- 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.
- 計(jì)算機(jī)應(yīng)用
- Mastering Proxmox(Third Edition)
- 會(huì)聲會(huì)影X5視頻剪輯高手速成
- Getting Started with Clickteam Fusion
- 極簡(jiǎn)AI入門(mén):一本書(shū)讀懂人工智能思維與應(yīng)用
- 自動(dòng)化控制工程設(shè)計(jì)
- 最簡(jiǎn)數(shù)據(jù)挖掘
- 西門(mén)子S7-200 SMART PLC實(shí)例指導(dǎo)學(xué)與用
- 統(tǒng)計(jì)學(xué)習(xí)理論與方法:R語(yǔ)言版
- 網(wǎng)絡(luò)化分布式系統(tǒng)預(yù)測(cè)控制
- 中國(guó)戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·工業(yè)機(jī)器人
- 網(wǎng)絡(luò)安全技術(shù)及應(yīng)用
- 嵌入式GUI開(kāi)發(fā)設(shè)計(jì)
- Wireshark Revealed:Essential Skills for IT Professionals
- 開(kāi)放自動(dòng)化系統(tǒng)應(yīng)用與實(shí)戰(zhàn):基于標(biāo)準(zhǔn)建模語(yǔ)言IEC 61499