当前位置:网站首页>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:端口号

边栏推荐
- One-arm routing experiment and three-layer switch experiment
- Billions of IT operations in the market, the product by strength to speak
- LeetCode中常用语言的一些基本方法记录
- Programmers should understand I/O this way
- 教您简单几步实现工业树莓派正确安装RS232转USB驱动
- D39_ coordinate transformation
- D45_Camera assembly Camera
- unity 将Text批量替换为TextMeshProUGUI
- NB-IOT智能云家具项目系列实站
- Browser Storage WebStorage
猜你喜欢

el-autocomplete使用

自营商城提高用户留存小技巧,商城对接小游戏分享

Wireshark packet capture and common filtering methods

Into the pre-service, thought they play so flowers

初识网页与浏览器

【FAQ】CCAPI Compatible EOS Camera List (Updated in August 2022)

transport layer protocol
![[issue resolved] - jenkins pipeline checkout timeout](/img/3d/c14276d2b5ce18fc3d1288abb059c0.png)
[issue resolved] - jenkins pipeline checkout timeout

NACOS配置中心设置配置文件

LeetCode练习及自己理解记录(1)
随机推荐
D45_Camera assembly Camera
config.js related configuration summary
The method of using ROS1 bag under ROS2
NACOS配置中心设置配置文件
记录vue-页面缓存问题
VRRP overview and experiment
Teach you simple steps to achieve industrial raspberries pie properly installed RS232 USB drive
docker部署完mysql无法连接
LaTeX使用frame制作PPT图片没有标号
Take you in-depth understanding of cookies
请问下通过flink sql读取hologres 的两张表的 binlog,然后如何进行join?
From "dual card dual standby" to "dual communication", vivo took the lead in promoting the implementation of the DSDA architecture
Successful indie developers deal with failure & imposters
Alibaba Cloud Video on Demand
UI刘海屏适配方式
Nacos集群搭建
Does flink cdc currently support Gauss database sources?
One-arm routing experiment and three-layer switch experiment
Met with the browser page
Introduction to Network Layer Protocols