Skip to content

Instantly share code, notes, and snippets.

@dnburgess
Created October 25, 2021 22:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • 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
@jaycharley
Copy link

I keep getting an error
Swap Exists
Not enough disk space for the installation
While trying to install on Ubuntu server running in PROXMOX with 60 gb disk attached to VM
Dependency Installation Complete
Swap Exists
WARNING: No swap limit support
Not enough disk space for the installation - Please free up disk space or use -I to not preseed images
jay@kasm:/tmp$ df
Filesystem 1K-blocks Used Available Use% Mounted on
udev 2996472 0 2996472 0% /dev
tmpfs 608332 1052 607280 1% /run
/dev/sda2 61608748 11439680 47007112 20% /
tmpfs 3041656 0 3041656 0% /dev/shm
tmpfs 5120 0 5120 0% /run/lock
tmpfs 3041656 0 3041656 0% /sys/fs/cgroup
/dev/loop0 63488 63488 0 100% /snap/core20/1611
/dev/loop1 69504 69504 0 100% /snap/lxd/22753
/dev/loop2 48128 48128 0 100% /snap/snapd/16292
tmpfs 608328 0 608328 0% /run/user/1000

Can you help

@alecko94
Copy link

same here, any revision ?

@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