搜索
搜索
天涯的知库
显示页面
过去修订
您的足迹:
•
Deutsch lernen
本页面只读。您可以查看源文件,但不能更改它。如果您觉得这是系统错误,请联系管理员。
====== 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 (选择一个不要与之前端口冲突的,然后修改密码)。尝试过可用以后,就可以用第一条命令在后台运行。 ===== 设置 https ===== 修改配置文件并重启服务 <color #ff7f27>''%%systemctl restart code-server@$USER%%''</color> <code | download> bind-addr: 0.0.0.0:8888 auth: password password: 138629 #cert: false cert: /root/ssl-keys/yfmai/fullchain.pem cert-key: /root/ssl-keys/yfmai/private.key </code>
工具/编辑/vscodeonline.txt
· 最后更改: 2024-03-24 19:06 由
goldentianya
回到顶部