当前位置:网站首页>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:端口号
边栏推荐
- VRRP overview and experiment
- Into the pre-service, thought they play so flowers
- Billions of IT operations in the market, the product by strength to speak
- Pytorch分布式并行处理
- document.querySelector()方法
- Problems encountered in installing Yolo3 target detection module in Autoware
- 【FAQ】什么是 Canon CCAPI
- el-progress实现进度条颜色不同
- The size of the screen adaptation
- Nacos配置服务的源码解析(全)
猜你喜欢
获取预训练模型的网络输入尺寸
Autoware--Beike Tianhui rfans lidar uses the camera & lidar joint calibration file to verify the fusion effect of point cloud images
Tencent Internal Technology: Evolution of Server Architecture of "The Legend of Xuanyuan"
From "dual card dual standby" to "dual communication", vivo took the lead in promoting the implementation of the DSDA architecture
深夜小酌,50道经典SQL题,真香~
Nacos配置服务的源码解析(全)
Writing OpenCV in VSCode
多行文本省略
txt文件英语单词词频统计
LeetCode刷题记录(2)
随机推荐
【FAQ】CCAPI兼容EOS相机列表(2022年8月 更新)
【考研结束第一天,过于空虚,想对自己进行总结一下】
Problems encountered in installing Yolo3 target detection module in Autoware
花花省V5淘宝客APP源码无加密社交电商自营商城系统带抖音接口
大小屏适配
Browser Storage for H5
Difference between link and @improt
ALC experiment
DevOps process demo (practical record)
Q 2020, the latest senior interview Laya soul, do you know?
LaTeX image captioning text column automatic line wrapping
Next-Generation Parsing Technology - Cloud Parsing
网络排错基础-学习笔记
txt文件英语单词词频统计
selenium学习
reduce()方法的学习和整理
前置++和后置++的区别
D39_ coordinate transformation
【FAQ】CCAPI Compatible EOS Camera List (Updated in August 2022)
获取预训练模型的网络输入尺寸