• 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

  • 相关阅读:
    lua学习之循环求一个数的阶乘
    lua元表学习
    ArrayList与List性能测试
    安卓开发线程
    安卓开发
    全局设置导航栏
    LinearLayout
    安卓布局ConstraintLayout
    安卓网络请求和图片加载
    安卓启动页面
  • 原文地址:https://www.cnblogs.com/cxxszz/p/8822687.html
Copyright © 2020-2023  润新知