code-server安装
2020/01
30
15:01
一、下载:
https://github.com/cdr/code-server/releases
二、解压后,获得一个绿色的执行文件code-server,执行后,立即可以从远端访问code-server
[root@VM_0_4_centos codeserver]# ./code-server
info Server listening on http://localhost:8080
info - Password is 62bc2c14156d24e45e60cd92
info - To use your own password, set the PASSWORD environment variable
info - To disable use `--auth none`
info - Not serving HTTPS
三、自定义密码并后台常驻
export PASSWORD=youpassword
添加启动文件start.sh
nohup /app/codeserver/code-server –auth password –port 8080 >> log.log 2>&1 &
CopyRights: The Post by BY-NC-SA For Authorization,Original If Not Noted,Reprint Please Indicate From 老刘@开发笔记
Post Link: code-server安装
Post Link: code-server安装