Skip to main content

Script Installation on Debian 12

Currently, installing KASM is very straight forward for Single-Server installation. The KASM team have provided an official, scripted install method to get you started.

Screenshot 2023-10-05 001615.png

Prerequisites for Debian 12 Minimal Installations

On a fresh, new Debian 12 Minimal Installations, you will need to install the following prerequisites packages first:

sudo apt install curl

Screenshot 2023-10-05 001812.png

Install KASM Workspace

Change to the /tmp directory, and download the KASM packages with curl:

cd /tmp
curl -O

Screenshot 2023-10-05 001944.png

Extract the tar file:

tar -xf kasm_release_1.14.0.3a7abb.tar.gz

Screenshot 2023-10-05 002148.png

Run the script installer:

sudo bash kasm_release/

Screenshot 2023-10-05 002213.png

Agree to the EULA

Screenshot 2023-10-05 002228.png

The script installer will begin to install and setup KASM. Once completed, you will see the initial config details, as well as the initial user account credentials. 

Screenshot 2023-10-05 002718.png

Self-Sign SSL Cert

If you have an public SSL cert or an external self-signed SSL cert, you can import it into KASM.

First, stop the KASM service.

sudo /opt/kasm/bin/stop

Screenshot 2023-10-05 124742.png

Copy and override the existing kasm_nginx.crt and kasm_nginx.key with your own SSL cert, then restart the KASM service.

sudo /opt/kasm/bin/start

Screenshot 2023-10-05 124930.png

Access KASM in the Browser

If you have UFW enabled on your system, make sure you allow HTTPS on UFW:

sudo ufw status verbose
sudo ufw allow https

Screenshot 2023-10-05 002812.png

That's it! Head over to your KASM server's FQDN or IP address in a browser, and login with the provided credential. 

Screenshot 2023-10-05 002850.png