CodeServer安装
温馨提示
- 安装前请检查任务中是否可以
访问互联网
# 下载
- 官方github地址:https://github.com/coder/code-server (opens new window)
- Releases地址:https://github.com/coder/code-server/releases (opens new window)
# 下载
curl -L https://github.com/coder/code-server/releases/download/v4.22.1/code-server_4.22.1_amd64.deb -o /tmp/code-server_4.22.1_amd64.deb
1
2
2
# 安装
cd /tmp
# 安装CodeServer,注意code-server_4.22.1_amd64.deb名称可能会变化
dpkg -i code-server_4.22.1_amd64.deb
1
2
3
2
3
# 启动
# 使用Supervisorctl启动CodeServer服务
supervisorctl start code-server
1
2
2