Single Server Installation

We will be going through the single server installation, as this is the most efficient method in terms of ease of deployment.

QUESTION: What are the other installation types? How are they similar or different from the single server installation?

Minimum Requirements

Minimum Requirements
Memory 4 GB
CPU 2 cores
Storage 50 GB on SSD

Installation

Run the following in Terminal to Install:

cd /tmp
curl -O https://kasm-static-content.s3.amazonaws.com/kasm_release_1.12.0.d4fd8a.tar.gz
# This is downloading the latest version of KASM workspaces to the /tmp folder.
tar -xf kasm_release_1.12.0.d4fd8a.tar.gz
# This is extracting the package which was just downloaded.
sudo bash kasm_release/install.sh
# The installation script is being run for KASM.

Swap Partition

As recommended by KASM, a swap partition should be created for a smooth experience. Without a swap partition, a host with memory requirements being sufficiently met can meet stability problems.

If your PC does not have a swap file, you will need to create one immediately after installing KASM.

Run the following command in Terminal:

sudo bash kasm_release/install.sh --accept-eula --swap-size 4096

Login Information

After the package for the latest version of KASM has been extracted to the right folder and a swap partition has been created, you can log into the web application. The web application runs on port 443 (though configurations can be altered to run on another port):

https://WEBAPP_SERVER_NAME_HERE

You want to login with the Administrator account, which is defaulted to admin@kasm.local with randomly generated passwords. This will allow you to manage environments and workspaces.

KASM Configurations

Once you are logged in, you can change KASM configuration settings as an administrator by navigating to the "Settings" tab on the left side.

Here are all of the settings stored in server settings which you can research in your free time: https://kasmweb.com/docs/latest/guide/settings.html

Here, there are hundreds of settings which you can take a look at. Depending on the setting you are changing, you may need to restart ALL KASM services or certain individual services.

Take a look below for the commands for these service restarts:

cd /opt/kasm/bin 
# The opt directory is for all software and packages that are not installed by default on Linux. 
# This makes sense, since we installed KASM separately.

./stop 
./start 

# All the services have been restarted.


# Restarting individual services on the server:
sudo docker restart kasm_agent
sudo docker restart kasm_api 
sudo docker restart kasm_manager
sudo docker restart kasm_db
sudo docker restart kasm_proxy

IMPORTANT

You should be able to run all of this in an ec2 instance on AWS and then be able to run docker images stored on your instance through KASM. However, storage on EC2 instances is limited. If you are able to run docker images on an ec2 instance with KASM, that would be really impressive.

HACKS FOR KASM

  1. In 3-4 sentences, please explain the significance of virtual desktops and KASM. How can virtual desktops such as these be utilized in our AP CSP environment? (0.45)

  2. Attempt to work through the KASM setup with your team. Attach two screenshots to show that you have successfully gone through the setup: The first screenshot of KASM generating your credentials, and the second screenshot of the KASM workspace once you have logged in. (0.45)