[App Sharing] code-server : 可以在浏览器里运行的vscode
Tofloor
poster avatar
ThinkYoung
deepin
2023-04-25 07:05
Author

可以在浏览器里运行的vscode
截图_2023-04-24_22-54-07.png

项目地址

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

安装说明

debian

curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server_${VERSION}_amd64.deb
sudo dpkg -i code-server_${VERSION}_amd64.deb
sudo systemctl enable --now code-server@$USER
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml

Arch

# Install code-server from the AUR using yay.
yay -S code-server
sudo systemctl enable --now code-server@$USER
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml

centos

curl -fOL https://github.com/coder/code-server/releases/download/v$VERSION/code-server-$VERSION-amd64.rpm
sudo rpm -i code-server-$VERSION-amd64.rpm
sudo systemctl enable --now code-server@$USER
# Now visit http://127.0.0.1:8080. Your password is in ~/.config/code-server/config.yaml

配置文件

谨慎!!!个人的免密设置

~/.config/code-server/config.yaml


bind-addr: 0.0.0.0:8080
auth: none
password: false
cert: false

服务启动 $USER为用户名

sudo systemctl enable --now code-server@$USER
sudo systemctl restart --now code-server@$USER
Reply Favorite View the author
All Replies
青稚
deepin
2023-04-25 15:37
#1

点赞了。

Reply View the author
fuuko
deepin
2023-04-25 21:14
#2

有点类似于朱庇特笔记本confused

Reply View the author
阿尼樱奈奈
deepin
2023-04-25 21:22
#3

👍🏻

Reply View the author