A simple startup script to run code-server with --link on a VM, designed to run on Ubuntu 20.10.
Coming soon: One-click templates in popular marketplaces.
- launch-code-server.sh - Command tested on Ubuntu machines (uses --link)
- launch-linode.sh - launch-code-server.sh adapted for Linode
-
Ensure you have port 80 open on your server's firewall
-
SSH or use the built-in console to connect to your machine
-
Check the code-server status
systemctl status code-server@coder # if not working: systemctl restart code-server@coder
-
Ensure journalctl is capturing logs
journalctl -u code-server@coder
-
Ensure the HTTP redirect server is working
systemctl status coder-cloud-redirect # systemctl restart coder-cloud-redirect
-
- code-server, CloudFlare, and Caddy: Sets up code-server and configures CloudFlare DNS