当前位置:网站首页>VS Code私有服务器部署(私有化)
VS Code私有服务器部署(私有化)
2022-08-05 05:25:00 【回首思】
VSCode(全称:Visual Studio Code)是一款由微软开发且跨平台的免费源代码编辑器。该软件支持语法高亮、代码自动补全(又称 IntelliSense)、代码重构、查看定义功能,并且内置了命令行工具和 Git 版本控制系统。而VS Code又能像jupyter一样配置在服务器,让使用的环境,使用的设备的局限性大大降低。
一、下载GitHub开源项目文件,并解压至文件夹
wget https://github.com/cdr/code-server/releases/download/v3.10.2/code-server-3.10.2-linux-amd64.tar.gz
tar zxvf code-server-3.10.2-linux-amd64.tar.gz -C /opt

二、运行VS Code
cd /opt/code-server-3.10.2-linux-amd64/
./code-server
ctrl+c 停止
三、修改配置文件
vim ~/.config/code-server/config.yaml
如果是部署在服务器或者需要局域网内其他人也能访问到那么ip就写为0.0.0.0:端口号
端口号自定义,只要不被占用
password刚进去看到的是加密的直接改为自己的即可

如果是服务器记得在服务器控制台对端口放行,如果服务器安装了宝塔面板,那么宝塔面板也需要设置放行端口
四、运行VS Code
./code-server
局域网访问===>ip:端口号
服务器访问====>ip(或域名):端口号
本机访问======>127.0.0.1:端口号

边栏推荐
- ES2020新特性
- Next-Generation Parsing Technology - Cloud Parsing
- Seven Ways to Center a Box Horizontally and Vertically
- sql server duplicate values are counted after
- numpy.random使用文档
- el-progress实现进度条颜色不同
- ALC experiment
- Some basic method records of commonly used languages in LeetCode
- 5分钟完成mysql离线安装
- 农场游戏果园系统+牧场养殖系统+广告联盟模式流量主游戏小程序APP V1
猜你喜欢

DevOps process demo (practical record)

农场游戏果园系统+牧场养殖系统+广告联盟模式流量主游戏小程序APP V1

教您简单几步实现工业树莓派正确安装RS232转USB驱动

Collision, character controller, Cloth components (cloth), joints in the Unity physics engine

Passing parameters in multiple threads

Some basic method records of commonly used languages in LeetCode

BIO,NIO,AIO实践学习笔记(便于理解理论)

scikit-image图像处理笔记

格式化代码缩进的小技巧

vs2017关于函数命名方面的注意事项
随机推荐
邮件管理 过滤邮件
ALC experiment
disabledDate 日期选择器 datePicker
干货!教您使用工业树莓派结合CODESYS配置EtherCAT主站
vs2017关于函数命名方面的注意事项
NB-IOT智能云家具项目系列实站
农场游戏果园系统+牧场养殖系统+广告联盟模式流量主游戏小程序APP V1
[ingress]-ingress使用tcp端口暴露服务
DevOps - Understanding Learning
浏览器存储WebStorage
Transformer interprets and predicts instance records in detail
product learning materials
The size of the screen adaptation
unity 将Text批量替换为TextMeshProUGUI
带你深入了解Cookie
## 简讲protobuf-从原理到使用
Q 2020, the latest senior interview Laya soul, do you know?
Cloud Computing Basics - Study Notes
设置文本向两边居中展示
link 和@improt的区别