vscode coder安装
Last updated on November 22, 2024 pm
🧙 Questions
安装服务器版本的vscode
☄️ Ideas
下载安装包
wget https://github.com/coder/code-server/releases/download/v4.18.0/code-server-4.18.0-amd64.rpm
安装
sudo rpm -i code-server-4.18.0-amd64.rpm
用root用户启动
# 设置开机自启
sudo systemctl enable --now code-server@root
# 启动coder
sudo systemctl start --now code-server@root
# Now visit http://127.0.0.1:8080.
# Your password is in ~/.config/code-server/config.yaml
vim /root/.config/code-server/config.yaml
# 127.0.0.1修改为0.0.0.0
bind-addr: 0.0.0.0:8080
auth: password
# 下面这个是登录密码
password: 6bd9b86d665d1c27b05790f6
cert: false
重启coder
# 重启code
sudo systemctl restart --now code-server@root
# 查看code状态
sudo systemctl status --now code-server@root
🔗 Links
vscode coder安装
https://ispong.isxcode.com/github/vscode/vscode coder安装/