全球主机交流论坛

标题: [荐]vscode web在线版 code-server 绿云99大鸡鸡用起来不浪费了 [打印本页]

作者: 鸡不择食    时间: 2022-11-9 11:56
标题: [荐]vscode web在线版 code-server 绿云99大鸡鸡用起来不浪费了
本帖最后由 鸡不择食 于 2022-11-11 13:32 编辑

教程参考
https://zhuanlan.zhihu.com/p/342964881  
https://coder.com/docs/code-server/latest

curl -fsSL https://code-server.dev/install.sh | sh # 安装
sudo systemctl enable --now code-server@$USER   #开机启动
nano ./.config/code-server/config.yaml  #修改密码
sudo systemctl restart --now code-server@$USER   #重启生效

宝塔的 nginx 反代 片段
```nginx
location / {
      proxy_pass http://localhost:8080/;
      proxy_set_header Host $host;
      proxy_set_header Upgrade $http_upgrade;
      proxy_set_header Connection upgrade;
      proxy_set_header Accept-Encoding gzip;
    }
```

作者: emptysuns    时间: 2022-11-9 11:58
https://github.com/features/codespaces
作者: 鸡不择食    时间: 2022-11-9 11:59
emptysuns 发表于 2022-11-9 11:58
https://github.com/features/codespaces

自己的鸡鸡和github 的鸡鸡 感觉不一样嘛.
作者: gfef    时间: 2022-11-9 12:26
最小配置多少才开的起来?
作者: 鸡不择食    时间: 2022-11-9 14:10
gfef 发表于 2022-11-9 12:26
最小配置多少才开的起来?
  1. TL;DR: Linux machine with WebSockets enabled, 1 GB RAM, and 2 vCPUs

复制代码

作者: bluxessssc    时间: 2022-11-9 14:23
部署个 JB 家的呗, JB 家现在也自持 web 部署.  感觉 JB 家比 vscode 强点
作者: 鸡不择食    时间: 2022-11-9 14:23
bluxessssc 发表于 2022-11-9 14:23
部署个 JB 家的呗, JB 家现在也自持 web 部署.  感觉 JB 家比 vscode 强点

jb 那个叫啥名也是开源的嘛?
作者: qanniu    时间: 2022-11-9 14:25
一两年前用过, 当时很多vsc插件装不了,比如 python. 不知现在啥情况
作者: bluxessssc    时间: 2022-11-9 14:30
鸡不择食 发表于 2022-11-9 14:23
jb 那个叫啥名也是开源的嘛?

https://www.v2ex.com/t/761155
https://github.com/JetBrains/projector-docker
https://www.jetbrains.com/remote-development/gateway/
https://www.jetbrains.com/zh-cn/remote-development/gateway/

你了解了解, 我没安装过, 只是知道有这个玩意
作者: 鸡不择食    时间: 2022-11-9 14:56
bluxessssc 发表于 2022-11-9 14:30
https://www.v2ex.com/t/761155
https://github.com/JetBrains/projector-docker
https://www.jetbrains ...

好像生态比这个code-server还差.
作者: honus    时间: 2022-11-9 19:39
code server好用,不折腾了
作者: bluxessssc    时间: 2022-11-10 12:59
https://github.com/features/codespaces

Spin up fully configured dev environments in the cloud that start in seconds with up to 60 hours a month free.

60 hours a month free.
鸡总, 这个有免费额度了, 一天,2 小时
作者: 鸡不择食    时间: 2022-11-10 14:16
bluxessssc 发表于 2022-11-10 12:59
https://github.com/features/codespaces

Spin up fully configured dev environments in the cloud that ...

可以,不错,但是我主要是废物利用




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4