It basically runs on Nethserver…the script just installs the RPM even if CentOS 7 is not supported and it worked in first tests.
curl -fsSL https://code-server.dev/install.sh | sh
Add vscode user to not use root for better security:
Set a password for the vscode user:
Enable and start service for the vscode user:
systemctl enable --now code-server@vscode
/home/vscode/.config/code-server/config.yaml to get/edit the login password and maybe edit port (8080 is used by tomcat too)
Restart service if you changed something in config.yaml:
systemctl restart code-server@vscode
Create name reverse proxy to
localhost:<Used Port> like
localhost:8080, you need to enable websocket (top new feature!!!) in the advanced settings. To force SSL enable “Require SSL encrypted connection”.
I added the host “rptest.local” to my local DNS server, pointing to the Neth IP so clients can reach it for testing.
Browse to the created reverse proxy domain (
https://rptest.local in this example) and login with the password from