Centos 部署Code-server

官网指导

https://github.com/cdr/code-server


Getting Started

For a full setup and walkthrough, please see./doc/guide.md.

Quick Install

We have ascriptto install code-server for Linux, macOS and FreeBSD.

It tries to use the system package manager if possible.

First run to print out the install process:

curl -fsSL https://code-server.dev/install.sh|sh -s -- --dry-run

Now to actually install:

curl -fsSL https://code-server.dev/install.sh|sh

The install script will print out how to run and start using code-server.


网络不好就 重复执行

curl -fsSL https://code-server.dev/install.sh|sh

部署好之后

直接 code-server 运行

[vscweb@x220 code_server]$ code-server

info  Using config file ~/.config/code-server/config.yaml



自定义密码并后台常驻

export PASSWORD=youpassword

添加启动文件start.sh

nohup /app/codeserver/code-server –auth password –port 8080 >> log.log 2>&1 &


最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容