赞
踩
vscode-server离线安装及配置 - 八字环~ - 博客园 (cnblogs.com)
https://update.code.visualstudio.com/commit:${commit_id}/server-linux-x64/stable
~/.vscode-server/bin/${commit_id}
~/.vscode-server/extensions
,将~/.vscode-server/bin/${commit_id}/extensions/
中的插件复制到~/.vscode-server/extensions/
中- commit_id=***
- VSCODE_SERVER_PATH=***
-
- rm -rf ~/.vscode-server
- mkdir -p ~/.vscode-server/bin
-
- tar -xzf ${VSCODE_SERVER_PATH} -C ~/.vscode-server/bin
- mv ~/.vscode-server/bin/vscode-server-linux-x64/ ~/.vscode-server/bin/${commit_id}/
-
- mkdir -p ~/.vscode-server/extensions
- cp -r ~/.vscode-server/bin/${commit_id}/extensions/* ~/.vscode-server/extensions
备注:sshd_config(/etc/ssh/sshd_config)文件需要设置AllowTcpForwarding=yes
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。