Тёмный

Install Kasm Server in Proxmox LXC 

Allen Sampsell
Подписаться 3,4 тыс.
Просмотров 15 тыс.
50% 1

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.

Наука

Опубликовано:

 

29 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 67   
@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'
@YTmanisvs
@YTmanisvs 3 года назад
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 3 года назад
Thanks! I appreciate the feedback.
@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!
@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.
@DelioC
@DelioC 2 месяца назад
For people who do not want to edit the script, you can just install the sudo command with "apt install sudo"
@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 :)
@uno-tu9xx
@uno-tu9xx 3 года назад
Thank you for sharing this.
@jamaligus2441
@jamaligus2441 3 года назад
OMG thank you very much. Really good Video! & got it xD
Год назад
nice, thank you!
@havour
@havour 7 месяцев назад
nice guide!
@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.
@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 :)
@eugenesmirnov252
@eugenesmirnov252 Год назад
If you try ctrl-w ctrl-R in nano it will go lot faster. Sure, apt install sudo even better.
@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.
@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/
@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. :)
@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!! :)
@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.
@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.
@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.
@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, RU-vid channel, goes into detail on this.
@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.
@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.
@cmespy2005
@cmespy2005 5 месяцев назад
you could just install sudo
@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.
Далее
Install Kasm Server in Proxmox TKL VM
25:58
Просмотров 6 тыс.
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Просмотров 7 млн
Викторина от МАМЫ 🆘 | WICSUR #shorts
00:58
Proxmox Automation with Proxmox Helper Scripts!
24:15
Best operating system for Servers in 2024
11:41
Просмотров 41 тыс.
HomeLab Services Tour 2024 - What Am I Self Hosting?
40:00
Proxmox LXC - How To Guide - Better Than A VM?
17:01
Просмотров 55 тыс.
How to run TrueNAS on Proxmox?
17:36
Просмотров 225 тыс.
Plex on ProxMox Tutorial WITH nVidia Hardware Encoding
26:41
Новодельный ноутбук Pocket386
1:16:17