安装网页版 VS Code (code-server)
下载&安装&启动
1 | wget https://github.com/coder/code-server/releases/download/v4.8.0/code-server_4.8.0_amd64.deb -e use_proxy=yes -e https_proxy=192.168.3.126:10811 |
1 | sudo dpkg -i code-server_4.8.0_amd64.deb |
1 | code-server |
Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml
在服务器上配置 code-server
启动后密码在这个配置文件中
注意将配置文件中的 127.0.0.1 改为 0.0.0.0 以免只能本地访问。
1 | nano ~/.config/code-server/config.yaml |
安装网页版 VS Code (code-server)
https://blog.josway.cc/2022/10/27/yuque/安装网页版 VS Code (code-server)/