Navigation

    Gpushare.com

    • Register
    • Login
    • Search
    • Popular
    • Categories
    • Recent
    • Tags

    【工具篇8】安装code-server,通过网页就可以使用vscode啦!

    新手教程
    2
    2
    108
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 183****0229
      183****0229 last edited by

      结果展示


      简略流程

      • 复制install.sh文件,并安装
      • 关闭tensorboard服务,开启code-server服务
      • 查看code-server登录密码,并登录

      详细流程

      • 复制install.sh文件,并安装
        创建install.sh文件并将 https://raw.githubusercontent.com/cdr/code-server/main/install.sh 内容复制进去。

        使用命令安装 bash install.sh
      • 关闭tensorboard服务supervisorctl stop tensorboard,开启code-server服务code-server --bind-addr 0.0.0.0:6006
      • 查看code-server登录密码cat ~/.config/code-server/config.yaml,并登录


        注:访问登录的网址可以查看原先tensorboard链接

      Tips:

      • 如果实例重启,需要重新关闭tensorboard服务,并开启code server服务

      • 安装教程 https://github.com/cdr/code-server/blob/main/docs/install.md

      1 Reply Last reply Reply Quote 4
      • Alice_恒源云
        Alice_恒源云 last edited by

        mark~官方文档候补入选+1

        1 Reply Last reply Reply Quote 0
        • Unpinned by  System 
        • Pinned by  Alice_恒源云 Alice_恒源云 
        • Unpinned by  System 
        • First post
          Last post