这是本文档旧的修订版!
Online VS Code
在线版的IDE。 安装Code-Server
curl -fsSL https://code-server.dev/install.sh | sh
To have systemd start code-server now and restart on boot:
sudo systemctl enable --now code-server@$USER
Or, if you don't want/need a background service you can run:
code-server
运行一次 code-server 就会生成配置文件
/root/.config/code-server/config.yaml
将 bind-addr 设置为 0.0.0.0:8888 (选择一个不要与之前端口冲突的,然后修改密码)。尝试过可用以后,就可以用第一条命令在后台运行。