Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created October 25, 2021 22:10
Show Gist options
  • Save dnburgess/4316105ac2f89e9ae7e260da7b4eb7d8 to your computer and use it in GitHub Desktop.
Save dnburgess/4316105ac2f89e9ae7e260da7b4eb7d8 to your computer and use it in GitHub Desktop.
Kasm Workspaces - Ep. 1 - Installing Kasm Workspaces
Installation Instructions and References
Resource Links
Kasm Workspaces Installation: https://www.kasmweb.com/docs/latest/index.html
Kasm Workspaces Download: https://kasmweb.com/downloads.html
System Requirements: https://www.kasmweb.com/docs/latest/install/system_requirements.html
Creating A Swap Partition
#Swap should be approximately 1gb per concurrent session you expect to run at any given time. Please adjust according to your needs.
#Default is 1g.
sudo fallocate -l 4g /mnt/4GiB.swap
sudo chmod 600 /mnt/4GiB.swap
sudo mkswap /mnt/4GiB.swap
sudo swapon /mnt/4GiB.swap
Verify swap file exists
cat /proc/swaps
To make the swap file available on boot
echo '/mnt/4GiB.swap swap swap defaults 0 0' | sudo tee -a /etc/fstab
Install
cd /tmp
sudo wget https://kasm-static-content.s3.amazonaws.com/kasm_release_1.9.0.077388.tar.gz #update to current version
tar -xf https://kasm-static-content.s3.amazonaws.com/kasm_release_1.9.0.077388.tar.gz #update to current version
sudo bash kasm_release/install.sh
If you want/need to change port 443 to something else, you can do that like this:
sudo bash kasm_release/install.sh -L 8443
@dnburgess
Copy link
Author

I would check out this video I made about it recently: https://youtu.be/6BzPmbgFQCo

@AbdinasirM
Copy link

same here, any revision ?

this means that you dont have enough ram that you can use as a swap so make sure you have enough. for example if you have 8gb ram you can give 6gb as a swap

@AbdinasirM
Copy link

I would check out this video I made about it recently: https://youtu.be/6BzPmbgFQCo

this means that you dont have enough ram that you can use as a swap so make sure you have enough. for example if you have 8gb ram you can give 6gb as a swap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment