How to edit codes on the server which runs jupyter notebook using your pc's bwroser
Posted cxxszz
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How to edit codes on the server which runs jupyter notebook using your pc's bwroser相关的知识,希望对你有一定的参考价值。
If you don‘t use jupyter, you may have to edit your source codes on your pc and upload them to your server.
1.install ipython
sudo apt -y install ipython ipython-notebook
2.jupyter
python -m pip install jupyter
3.start a new screen session
screen -U -S jupyter
4.run jupyter and make it visible to all machines on your LAN, simply instruct it to listen on all interfaces:
jupyter notebook --ip=‘*‘
5.then it will ask you to copy an address to your pc browser
http://localhost:8888/tree?token=***
6.replace the localhost with the server ip and we can see
Enabling the password looks unnecessary. So I didn‘t do that.
Next time you log in, you can just visit
http://server_ip:8888/
which requires the token.
Use ssh to connect to your server and run
jupyter notebook list
It will display the token
以上是关于How to edit codes on the server which runs jupyter notebook using your pc's bwroser的主要内容,如果未能解决你的问题,请参考以下文章
How to get the edited text from itext in fabricjs
Inno Script - How to make “I Accept the Agreement” radio button on EULA page selected by Default(代码片
svn: how to set the executable bit on a file?
How to install the latest NVIDIA drivers on Debian 9 Stretch Linux