安装:
下载code-server的安装包
地址https://github.com/coder/code-server/releases/download/v3.12.0/code-server-3.12.0-amd64.rpm
安装 rpm -ivh code-server-3.12.0-amd64.rpm
启动 nohup code-server --port 8080 --host 0.0.0.0 --auth none >> vscode.log 2>&1 &
并且在后台运行
在你的游览器下输入公网ip地址加端口号,就可以访问了 http://ip:8080
下图已安装了中文语言包
http://192.168.1.104:8080/?folder=/home/code
带参数:http://192.168.1.104:8080/?folder=/home/code
安装C#开发dotnet 的 debug 内容如下:
Downloading package '.NET Core Debugger (linux / x64)' (59506 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package '.NET Core Debugger (linux / x64)'
Downloading package 'Razor Language Server (Linux / x64)' (61682 KB).................... Done!
Installing package 'Razor Language Server (Linux / x64)'
Finished