


We will be using Linux's systemd service manager to create a service for code-server.Ĭreate a new unit file for the code-server service. To run code-server on system startup, you can install it as a service. To stop the server, press CTRL + C in the SSH terminal. The Visual Studio Code interface will open up.

Use the password displayed in the SSH terminal. Untar the downloaded archive and rename the extracted folder. A valid domain name pointing to the instance (Required for setting up SSL)ĭownload the latest release of code-server from the official repository.The following are required to successfully follow along the tutorial: This tutorial will guide you through the process of installing code-server on an Ubuntu 18.04 LTS VPS, and securing the installation with SSL and fail2ban. It allows leveraging powerful cloud servers to speed-up compilations and tests, and to save battery when on the go. Code-server allows developers to access their development environment from anywhere, as well as to have a consistent development environment across different devices. Code-server is an open-source server application that serves Visual Studio Code on a remote server, accessible through a browser.
