Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mochi1351/dd929a32ebdfe38f20bc45056f9b0f4f to your computer and use it in GitHub Desktop.
Save mochi1351/dd929a32ebdfe38f20bc45056f9b0f4f 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
@mochi1351
Copy link
Author

nice

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