Install Kasm Server in Proxmox LXC

  Рет қаралды 15,245

Allen Sampsell

Allen Sampsell

Күн бұрын

In this video I show you how to install a Kasm Server into a Proxmox LXC. Please visit their site for more information a reach out to them if you have questions about their services. Justin Travis (a Co-Founder) was very helpful and responded to emails quickly with exactly what I needed. www.kasmweb.com/
Install instructions are embedded in the video so please pause on those slides if needed.
The link for downloading the install package with wget:
wget kasm-static-content.s3.amazon...
Keep in mind as this video ages, that install file will most likely change...
One note: As of release 1.7.0 the admin account has a feature enabled that limits the amount of time that Kasms can be used to 2 hours. This is done just to demonstrate that feature and can be turned of in the admin Group.

Пікірлер: 67
@YTmanisvs
@YTmanisvs 2 жыл бұрын
Oh My... Allen ! I happen to stumble upon your videos... You really find gems and present them so very well Your homelab is admirable too. Please continue to bring them on...
@AllenSampsell
@AllenSampsell 2 жыл бұрын
Thanks! I appreciate the feedback.
@mrshahram7
@mrshahram7 7 ай бұрын
Thank you, I had to turn on FUSE too for the my LXC : )
@cmespy2005
@cmespy2005 5 ай бұрын
me too i just made a directory '/dev/fuse'
@leondewerker5644
@leondewerker5644 2 ай бұрын
Thanks a lot! I first installed Kasm in a VM on Proxmox but that took away quite some system resources. I now installed Kasm in a LXC on Proxmox, following your instructions, and all works great. A lot less resources are used up now. I did complain about FUSE in my version of Proxmox etc but that was easily solved.
@AllenSampsell
@AllenSampsell 2 ай бұрын
Glad it’s still helpful!
@PetterAarak
@PetterAarak 3 жыл бұрын
Thanks for a good guide KASM works very well. hope you can make a sequel where you go through settings with tips tricks :)
@johnwalshaw
@johnwalshaw Жыл бұрын
Very helpful and thank you. The 2023 script checks disk space greater than 50,000,000,000 bytes so a disk larger than 32GB is needed under the current version to ensure minimum free space is met. e.g. 60GB. I also found that script prompts to create swap and should be answered as no due to issues and script abort. I did not research to validate any adverse effects yet.
@AllenSampsell
@AllenSampsell Жыл бұрын
Good info, thanks for the update.
@jamaligus2441
@jamaligus2441 3 жыл бұрын
OMG thank you very much. Really good Video! & got it xD
@uno-tu9xx
@uno-tu9xx 3 жыл бұрын
Thank you for sharing this.
@havour
@havour 7 ай бұрын
nice guide!
@DelioC
@DelioC 2 ай бұрын
For people who do not want to edit the script, you can just install the sudo command with "apt install sudo"
@AllenSampsell
@AllenSampsell 3 жыл бұрын
As someone mentioned. The audio might be just a half second off. Guess I'll check my settings... Sorry if it annoys. :)
@naami2004
@naami2004 3 жыл бұрын
It's ok, but i think frame rate is off ! video not smooth. thank you
@AllenSampsell
@AllenSampsell 3 жыл бұрын
Hichem Naami Thanks that actually makes sense. I think I filmed at 60 and Davinci brought it down to 24. I might try rendering it again. But I don’t think I I can replace it.
Жыл бұрын
nice, thank you!
@dufflepod
@dufflepod 3 жыл бұрын
Useful video, thanks for that. Just out of interest, how did you reskin the Proxmox web GUI? Did you roll your own?
@AllenSampsell
@AllenSampsell 3 жыл бұрын
Dufflepod full credit for that goes to this guys github theme github.com/Weilbyte/PVEDiscordDark I use a browser plugin called Stylus which uses that theme only for Proxmox pages.
3 жыл бұрын
@@AllenSampsell Could you share your Stylus css in an pastebin or similar? I seem to get white backgrounds in my diagrams when i try out the code from Weilbyte's github
@AllenSampsell
@AllenSampsell 3 жыл бұрын
Mathias Fröjd let me see what I can do. I just copied from that site.
@AllenSampsell
@AllenSampsell 3 жыл бұрын
@ Try this out and let me know if you can get to it... www.allenscloud.com/wordpress/2020/09/23/weilbytes-proxmox-discord-dark-theme-for-stylus-plugin/
@damacucu2823
@damacucu2823 Жыл бұрын
Hi thx for the great tutorial, under the local ip everything works. When I use my domain trough Cloudflare tunnel I can reach the main page and headman site but as soon as I want to start a workspace and not matter if I open it in the same window, an extra tab or in a new window it will be stuck at connecting ...... checket it with safari, chrome and firefox same thing everywhere. Any Idea on that one. THX
@AllenSampsell
@AllenSampsell Жыл бұрын
My apologies... I replied to this but it was to the youtube NoReply email address.... Actually I do have a suggestion here.... Under Zones you should have only one and there are three dots that allow you to "Update Deployment Zone". The zone name is "default". Upstream Auth Address is proxy, Proxy Connections is checked, and finally Proxy Port is 0. Try that and let me know. I had to reach out to the folks at Kasm directly to get help with this. The way I had it setup before these settings, I could get to it internally inside my network if I left things default. But If I changed (I think it was) the upstream Auth Address to the IP of my Kasm server, I could only get to it by coming in from outside my home network (the internet). But this new config with the Proxy and Proxy port allows both. Sounds like your answer is somewhere in there. If it doesn't work, I would contact the folks at KASM directly. They have a sub-Reddit that they actively monitor as well.
@renesrensen2840
@renesrensen2840 3 жыл бұрын
i get this error know in why : failed to register layer: Error processing tar file(exit status 1): invalid argument
@AllenSampsell
@AllenSampsell 3 жыл бұрын
Yes I saw that error multiple times when trying this until I used that particular LXC template in the video. Or even better check out the video for using a VM for KASM. It works just as well and is more secure for exposing to the internet like I did.
@renanwillian4006
@renanwillian4006 3 жыл бұрын
I would like to know if I can use the same GPU for 2 virtual machines, is it possible? (GPU Passthrough)
@AllenSampsell
@AllenSampsell 3 жыл бұрын
Renan Willian at the same time? No. Not that I’m aware of unless it’s one of the special (expensive) nvidia cards.
@renanwillian4006
@renanwillian4006 3 жыл бұрын
@@AllenSampsell Ok, Thank you!! :)
@thinkpad7365
@thinkpad7365 2 жыл бұрын
@28:00 in nano do ctrl + \ to replace sudo with " "(nothing) press y for every sudo in the file and its a bit quicker.
@AllenSampsell
@AllenSampsell 2 жыл бұрын
Thanks for sharing that nano tip. In the next video I just took another users advice and installed sudo. :) That way I didn't have to change anything. Never would have thought of it. lol
@andresoliz1544
@andresoliz1544 2 жыл бұрын
@@AllenSampsell lol. ... installing sudo, genius. ;) ... on another note, vi user here. .. if you use vi, from the : prompt you can type "%s/sudo //g" to replace all instances of sudo with the space.
@AllenSampsell
@AllenSampsell 2 жыл бұрын
@@andresoliz1544 thanks for that... vi has always been a mystery to me lol. I just prefer nano but I have used vi before when I couldn't install nano. :)
@eugenesmirnov252
@eugenesmirnov252 Жыл бұрын
If you try ctrl-w ctrl-R in nano it will go lot faster. Sure, apt install sudo even better.
@knofi7052
@knofi7052 Жыл бұрын
Nice, but why should someone bother using Docker when he is having already LXC containers?
@user-ug1eo4xb7z
@user-ug1eo4xb7z 11 ай бұрын
Generally, LXC containers are OS, Docker containers are applications. The Scottibyte, KZbin channel, goes into detail on this.
@abbaaabccabbaaabcc2350
@abbaaabccabbaaabcc2350 3 жыл бұрын
CIAB-remote desktop is base basically for the same component and functionality . CIAB Is totally for FREE for all users/VDI desktops so kasm with 4/9$ per user/desktop is extremely expensive in Open source world.
@AllenSampsell
@AllenSampsell 3 жыл бұрын
While CIAB is similar and looks pretty cool BTW... it is quite a bit different in function. Maybe the options are there to create “disposable” apps but it seems like CIAB isn’t specific for that purpose. And I don’t think KASM is fully Open Source anyway so not a fair comparison. There are zero limitations that I’ve seen in KASM running it on my home server. But I can completely understand them having a pricing plan for commercial use. They are a business after all.
@harrydundee641
@harrydundee641 Жыл бұрын
Hey mate, I've followed your tutorial to the letter and I am up to the part where I run the install script and its telling me the following: I have read and accept End User License Agreement (y/n)? y Checking if docker docker-compose are installed Installation Not Supported for this Operating System. Exiting Any help would be awesome, my vm is identical to yours up until that point.
@AllenSampsell
@AllenSampsell Жыл бұрын
Hello, what is the underlying storage type that the LXC container is sitting on? i.e. EXT4/Directory based hard drive or, maybe ZFS?
@harrydundee641
@harrydundee641 Жыл бұрын
@@AllenSampsell you'll have to pardon me, where can I find that information? I am still relatively new to all this haha.
@AllenSampsell
@AllenSampsell Жыл бұрын
@@harrydundee641 well a few ways to check. I would start with the Hardware section of the LXC itself, there will be a Hard Disk label. That's where it's at, then go to the PVE itself and go to the Disks tab. You should find the Hard Disk label in one of those sections. LVM, Directory or ZFS. Whatever you set up your storage as.
@harrydundee641
@harrydundee641 Жыл бұрын
@@AllenSampsell by the look of my hardware specs, i ve got LVM
@AllenSampsell
@AllenSampsell Жыл бұрын
@@harrydundee641 Then I am at a loss. The only issues I've ever seen, when everything else was the same, came down to someone using ZFS where I use EXT4. Of course the container you use as a base matters for compatibility, and using the latest version of Kasm is important as well. You might try creating a VM instead of Ubuntu Server instead of the LXC and install it that way. I've moved away from LXCs and run Kasm on bare metal for a speed increase from the hardware it's on vs the older server I run Proxmox on.
@tbhinteractieve
@tbhinteractieve 3 жыл бұрын
The sudden remove lines part. You just can: apt install sudo -y And after the installation completes remove sudo 🤔
@AllenSampsell
@AllenSampsell 3 жыл бұрын
H0pH0p now there’s a thought. I didn’t even think to try it that way. I’ll have to test that out. I have been unsuccessful in my attempts to make the TurnKey Linux Priv container work as an Unprivileged one. I found out how to do it but I run into the same Docker issues as every other distro. Kasm really wants root.
@tbhinteractieve
@tbhinteractieve 3 жыл бұрын
@@AllenSampsell I did spin up a vm with turnkey core as you mentioned and installed kasm the way you said but I installed the sudo package first and didn't edit the lines. It did work, and installed fine. But I'm on vacation at the moment with an unstable connection to my servers. So if the install was 100% successful... I'll let you know when I get back home :)
@ItherSeed
@ItherSeed 3 жыл бұрын
I created an LXC with 32Gb of disk as the video says and it filled it up and stop installing. I added more space but keep filling it, I surpassed the 106Gb and still pulling images... Edit: it stopped at 118Gb 😮
@AllenSampsell
@AllenSampsell 3 жыл бұрын
Ither Seed what kind of storage are you using? I’m using the LVM-local for my real one and a directory mounted ext4 disk in the demo. Something is definitely wrong if you’re using that much space.
@ItherSeed
@ItherSeed 3 жыл бұрын
@@AllenSampsell Is not LVM-local but an M.2 SSD installed in the same machine that proxmox is. Maybe because is a zfs drive? Don't make sense. Besides that, I can't start any kasm. Firefox and Chrome say "Error: Gateway timeout"
@AllenSampsell
@AllenSampsell 3 жыл бұрын
Ither Seed you might try an actual VM on that drive and see what happens. Try a Ubuntu 20.04 and do the same things for install that makes sense. Update first then just run the install script “sudo ./install.sh -L 8443”. Don’t edit the script files or anything else. Let me know what happens. Use HD size of say 60 Gig.
@donaldwilliams6821
@donaldwilliams6821 2 жыл бұрын
Anyone try this recently? I can't get kasm to complete an install. It runs downloads packages, builds the db, etc.. Then just keeps downloading non stop. Until it comsumes all the space on the drive. I started with 1.10 went from 64GB to 128GB to 256GB drive. It just took longer to file the drive. I just tried 1.09 with same result. I'm saving to a ZFS mirror. UPDATE: Going back to this version 1.7.0 worked as expected. ??
@jbarr
@jbarr 2 жыл бұрын
I just got it working. I installed it in an LXC Container on an LVM drive (not ZFS) and it works just fine. Be sure to ignore his line numbers in his instructions to remove occurrences ot sudo in the two installer files, as the files have changed since the video was published. Just search for and replace ALL occurrences of sudo. I specifically don't know why you are having the issue, but I do know that I had major RAM, CPU, and space issues with zfs. So much so that I just gave up on zfs and reverted everything to LVM.
@donaldwilliams6821
@donaldwilliams6821 2 жыл бұрын
@@jbarr Thanks. I think ZFS is the issue. I build a VM with EXT4 and installed it with no issues. I am not using a dev build at the moment.
@AllenSampsell
@AllenSampsell 2 жыл бұрын
@@donaldwilliams6821 I think ZFS is the issue as well...
@donaldwilliams6821
@donaldwilliams6821 2 жыл бұрын
@@AllenSampsell yeah :( Seems to be. Which is too bad. I use ZFS a lot . It saved my data a few times. I am eventually going to deploy another PMX server I'll skip ZFS on that one. Thank you your videos and help
@donaldwilliams6821
@donaldwilliams6821 2 жыл бұрын
@@AllenSampsell I just built a PMX server using LVM and it worked as expected with v1.10 KASM Not sure what I am actually going to use it for but learning about cloud tech, docker, LXC, etc It's really interesting. Thanks for the video and the replies.
@Michaelmaertzdorf
@Michaelmaertzdorf 3 жыл бұрын
Why not just first do a "apt-get install sudo" then "sudo" is a valid command ...
@AllenSampsell
@AllenSampsell 3 жыл бұрын
Lol I know that now. It’s in the other KASM video. But at the time I just assumed it wasn’t available or that it might have a negative effect. I am not a Linux expert so I have lots to learn.
@cmespy2005
@cmespy2005 5 ай бұрын
you could just install sudo
Using Nginx Proxy Manager with pfSense, Proxmox, and Docker
14:35
Allen Sampsell
Рет қаралды 50 М.
New model rc bird unboxing and testing
00:10
Ruhul Shorts
Рет қаралды 24 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 9 МЛН
Homelab Setup Guide - Proxmox / TrueNAS / Docker Services
2:44:39
Matthias Benaets
Рет қаралды 140 М.
KASM: Isolated Disposable Remote Workspace Via Your Browser
14:41
Novaspirit Tech
Рет қаралды 46 М.
Turning Proxmox Into a Pretty Good NAS
18:31
apalrd's adventures
Рет қаралды 222 М.
Getting Started with Proxmox Containers
25:09
DB Tech
Рет қаралды 84 М.
Virtual Machines vs Containers
8:57
PowerCert Animated Videos
Рет қаралды 854 М.
you need this FREE CyberSecurity tool
32:06
NetworkChuck
Рет қаралды 1,2 МЛН
Копия iPhone с WildBerries
1:00
Wylsacom
Рет қаралды 4,7 МЛН
Самый тонкий смартфон в мире!
0:55
Не шарю!
Рет қаралды 91 М.
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 648 М.
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 432 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 2,8 МЛН