Manage Your Virtual Machines With Cockpit

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024
  • Manage your virtual machines locally or remotely using Cockpit, which is the successor to Virt-Manager (now deprecated). You access your VMs in Cockpit via a web interface using your web browser. The interface is friendly and it has most of the features that I would expect to be there.
    REFERENCED:
    ► cockpit-projec...
    WANT TO SUPPORT THE CHANNEL?
    💰 Patreon: / distrotube
    💳 Paypal: www.paypal.com...
    🛍️ Amazon: amzn.to/2RotFFi
    👕 Teespring: teespring.com/...
    SOCIAL PLATFORMS:
    🗨️ Mastodon: distrotoot.com...
    💬 IRC: irc://freenode #distrotube
    👫 Reddit: / distrotube
    📽️ LBRY: lbry.tv/$/invi...
    DT ON THE WEB:
    🕸️ Website: distrotube.com/
    🐿️ Gemini Capsule: gemini://distro.tube
    📁 GitLab: gitlab.com/dwt1
    🔊 Audio Podcasts: www.buzzsprout...
    FREE AND OPEN SOURCE SOFTWARE THAT I USE:
    🌐 Brave Browser - brave.com/dis872
    📽️ Open Broadcaster Software: obsproject.com/
    🎬 Kdenlive: kdenlive.org
    🎨 GIMP: www.gimp.org/
    🎵 Audacity: www.audacityte...
    💻 VirtualBox: www.virtualbox...
    🗒️ Doom Emacs: github.com/hli...
    Your support is very much appreciated. Thanks, guys!

Комментарии • 104

  • @stephenreaves3205
    @stephenreaves3205 3 года назад +48

    The Cockpit main package is for remote management of physical servers. They have the extra -machines and -containers in case you don't use those remote machines as a hypervisor or a container host. Modularity is flexibility at the expense of ease of use

  • @nichtgestalt
    @nichtgestalt 3 года назад +13

    VMs are saving my arse. With it help i learned to install Arch linux and right now I learn to install gentoo linux. And all this within a couple months thanks to RUclips Tutorials and the second Lockdown here in germany. It is just so much fun. I love it.
    Thank you and thank you, linux community. You're the best.

  • @LordDevi
    @LordDevi 3 года назад +18

    You know what wasn't a meme operating system? Solaris. Solaris was an amazing variant on our Unixes.

  • @sharjeel_mazhar
    @sharjeel_mazhar 3 года назад +46

    Thank you DT sir for teaching me linux and making me fall in love with arch linux, big fan sir☺❤

    • @DistroTube
      @DistroTube  3 года назад +15

      Thanks! :D

    • @holymegadave
      @holymegadave 3 года назад

      I use cockpit with Debian trough OpenMediaVault and runs fine!
      Yesterday i bring a friend to Linux 😊
      2021 is the Linux years my friends. Thanks to the shitty Windows updates you can see a lot of people jumping into libre boats hehe. Perhaps the Stallman GNU dance makes this possible 😋

  • @nevoyu
    @nevoyu 3 года назад +18

    I use cockpit to manage my VMs, Containers, and two physical servers.
    Because it's a server management interface. Not a Virtual Machine Managment suite.

    • @cp_pdn
      @cp_pdn 3 года назад +3

      Pls do a video and share

    • @nevoyu
      @nevoyu 3 года назад +1

      @@cp_pdn sure

    • @latlov
      @latlov 2 года назад

      Does Cockpit manage Virtual Box VMs?

    • @nevoyu
      @nevoyu 2 года назад

      @@latlov you have to import them to the same format virt manager uses. Which is something DT covers there.

  • @Time4Technology
    @Time4Technology 3 года назад +5

    The intro might be a bit confusing for people who are new to KVM, because virt-manager is very well able to connect to remote hosts. It does so pretty well too, i.e. by supporting SSH tunnels.

  • @ykahveci
    @ykahveci 3 года назад +11

    I still prefer virt-manager, probably sooner than later someone will make an electron app with this ^^

  • @KeepItTechie
    @KeepItTechie 3 года назад +9

    Cockpit is great! Thanks for the video DT!

  • @AlianeAbdelouahab
    @AlianeAbdelouahab 2 года назад +2

    Thank you very much for the video
    Just to add, virt-manager is not deprecated, you can still pull from the original git repo and it's regulary updated

  • @__hetz
    @__hetz 3 года назад +6

    I like the idea of Cockpit. Hopefully it gets fleshed out a bit more. I've been planning to either build or buy an old rack server (maybe an r620) to VM some stuff like a PiHole, Windows Deployment Server (for when family inevitably gets malware'd), and various nix machines. So far the best suited software for management has looked to be Proxmox but maybe Cockpit will eventually prove a nice alternative.
    I can definitely see how it's already overkill for just fiddling with a handful of VMs locally but I dig the networking integration even if I'll likely never tie anything remote into the mix.

  • @DevDungeon
    @DevDungeon 3 года назад +8

    Oh cool, I had only ever used cockpit to check logs and restart services. It comes on with Fedora Server. I have never used it to manage virtual machines though.

  • @jeffreyplum5259
    @jeffreyplum5259 3 года назад +3

    Cockpit can just manage raw machines, servers or desktops. You could use cockpit to manage a house full of systems from one seat. I believe it might run across distros. Thanks for a great video.

  • @kjakobsen
    @kjakobsen 3 года назад +2

    I'm glad to see, Cockpit has evolved a great deal since i played with it last time. It lacked a great deal back then IMO. Two years ago.

  • @illuminaut9148
    @illuminaut9148 3 года назад +5

    Temple OS. Yes, that's a good idea.

  • @cevizagaci31
    @cevizagaci31 3 года назад +6

    Strange choice of name :D

  • @thundreturtle
    @thundreturtle 3 года назад +2

    Yes, you really should install the best OS ever, the one you mention in the end

  • @noferblatz
    @noferblatz 3 года назад +10

    Why in the world would I want to run VMs only accessible through a browser?

    • @slalomsk8er397
      @slalomsk8er397 3 года назад +1

      Why would the resulting VMs only be accessible through a browser?
      As far as I know KVM-QEMU uses spice - remote-viewer spice://127.0.0.1:5900
      most of the time I just use SSH after setup anyway

  • @brunojesus5444
    @brunojesus5444 3 года назад +6

    If you really want something like that for the purpose of running vms you should take a look at proxmox

    • @Gabifuertes
      @Gabifuertes 3 года назад +1

      That is what I was thinking while seeing this. I wonder what's the difference between using proxmox and just a relatively basic arch installation with these packages though.

    • @littlepeon
      @littlepeon 3 года назад

      Proxmox and Cockpit are enterprise tools, not really user tools.. Yes you can use them singularly on your home system for your one or two VMS, but where they really shine is when you have to deploy and service a few hundred systems.

    • @JJSloan
      @JJSloan 3 года назад

      virtuozzo/openvz for the win

  • @fullsleevetats
    @fullsleevetats 3 года назад

    I use virt-manager all the time to manage local and several dozen remote VMs running on various servers. I manage my MAAS nodes with virt-manager that sit inside a local container and a remote MAAS region controller, it works great, and secure, and I can do that without the need to install, load and use a web browser. Cheap web interfaces to these tools are really considered legacy at this point. Also look into Boxes, a GNOME project that replaces virt-manager.

  • @Oswee
    @Oswee 3 года назад +1

    If i am right then the Cockpit is the Fedora Server UI you can get out of the box. But to extend the basic functionality you need to install modules. You can get module to manage containers as well. And some other modules. I see some similarity to Webmin/Virtualmin project. Also i think there is something similar for Ubuntu servers. I believe once they will get the architecture right, there will be standard API to develop your own modules, let's say to manage specific software like Bind, DHCP, PXE, etc, etc. Just a speculation.

  • @akistr2883
    @akistr2883 3 года назад +1

    Nice video DT, actually i didn't now that Red Hat is the dev. Funny thing it's embedded on openmediavault as a special tool along with portainer and other things and it actually works just fine :)

  • @stephenreaves3205
    @stephenreaves3205 3 года назад +3

    Love me some cockpit!

  • @millankumar9245
    @millankumar9245 3 года назад +8

    WHAT!? I just spend the weekend setting up Virt-Manager :(. Is it still "usable" or because it is deprecated for so long, I should use something that is maintained?

    • @DistroTube
      @DistroTube  3 года назад +6

      It's perfectly usable. Red Hat is deprecating it. So not an issue for most people.

    • @DistroTube
      @DistroTube  3 года назад +5

      >but it is sorely lacking
      Yea, I'm already a little disappointed in the lack of configuration as compared to virt-manager.

  • @DavidAlsh
    @DavidAlsh Месяц назад

    Any chance you could show how to use LXC with Cockpit? I read that it can be used with the virt-manager section in Cockpit

  • @pablogonzales6194
    @pablogonzales6194 3 года назад +1

    how to enable uefi bios in cockpit? do i ha e to setup it before starting the machine?

  • @C6438911
    @C6438911 3 года назад +2

    Edit : Hey DT! Could you please take a look at Proxmox ? you can manage vm's through that and have more options as well. thanks for this vid.

    • @EliSmith
      @EliSmith 3 года назад

      You definitely don't need two computers for Proxmox, I've got it installed on a single server with the default installation method. Highly recommend if you need something that can do nearly everything.

    • @C6438911
      @C6438911 3 года назад

      @@EliSmith indeed ! Thank you Eli for your reply. Nice to know you need a single server.

  • @vaporoussunrise2198
    @vaporoussunrise2198 3 года назад +7

    When do virt-manager developers declared that it was deprecated?
    Besides, the git repo is still active: github.com/virt-manager/virt-manager

    • @DistroTube
      @DistroTube  3 года назад +7

      Red Hat announced a year or so ago that they would deprecate Virt-Manager in favor of Cockpit:
      www.redhat.com/en/blog/managing-virtual-machines-rhel-8-web-console

    • @thierrybo6304
      @thierrybo6304 3 года назад +3

      I wish virt-manager development will continue because it is a lot more suitable for personal use.

    • @DistroTube
      @DistroTube  3 года назад +7

      Virt-manager is FOSS so as long as people want to contribute, it won't die. It's mainly that RHEL and it's derivatives are deprecating it. But keep using virt-manager if you want to. I know I plan to still use it.

    • @thierrybo6304
      @thierrybo6304 3 года назад +1

      @Mr. Rich B.O.B i agree with that but we need also a simple gui for simple users that do not use the command line and do not want to use a web tool with monitoring features that's is "bloat" for them.

  •  3 года назад +1

    Danke, Derek!

  • @ShaunakHub
    @ShaunakHub 3 года назад

    So, they are adding features to the 'old' cockpit which I used to manage Headless Fedora servers. Which was a cool tool. I think you can install it on Ubuntu Server too...

    • @littlepeon
      @littlepeon 3 года назад

      You could or use Proxmox..this is basically a Fedora tool where Proxmox is a Debian tool.

  • @rottenfist220
    @rottenfist220 3 месяца назад

    how to bridge vm's network to physical network? that thing is confusing is hell...

  • @YellowCable
    @YellowCable 10 месяцев назад

    @distrotube what is your current experience with cockpit-machine for VMs after a couple years?

  • @ninjaniflotstv9618
    @ninjaniflotstv9618 20 дней назад

    bro you dont give sample for the IMPORT VM option

  • @LucianoEvaristoGuerche
    @LucianoEvaristoGuerche Год назад

    Have you ever successfully created a VM through cockpit-machines interface? Every time I try it, when I finish SO installation e reboot, got message stating virtual HD is not bootable.

  • @Spiritualitydefined
    @Spiritualitydefined 2 года назад

    Cant login have plasma do I need to add to firewall use ufw?

  • @alcapuccino
    @alcapuccino 3 года назад

    That temple os joke 😂

  • @robprupe
    @robprupe 3 года назад +3

    Any option for managing containers?

    • @DistroTube
      @DistroTube  3 года назад +2

      cockpit-podman in Arch.

  • @erottegmail
    @erottegmail 2 года назад

    I'm trying to use it instead of Virtualbox.
    There's something doesn't work ("access denied"), it's quite cumbersome.

  • @con-f-use
    @con-f-use 4 месяца назад +1

    🔫 👮"Cop Kit" 🚓 🚨

  • @adam.gibson
    @adam.gibson 8 месяцев назад

    They also got rid of Spice protocol in RHEL 9. No audio, No local filesystem sharing, No spice accelerated video, no easy dynamic USB redirection. Big downgrade for those that used Spice extensively for desktop dev/IT.

  • @martinhertz4957
    @martinhertz4957 3 года назад +1

    Qemu(kvm) / virt-manager isn't faster for desktop, only stated to be for servers, VirtualBox is more optimized for that(desktop), which I also found, and clearly saw a diff on lower powered(2gb 2cores) vms. Virtualbox has a complete cli interface which has more options than the gui, btw, so nicely scriptable no-matter requirements, hence I personally stick to that, though would prefer the more lightweight non-gui and kernel backed qemu/kvm, but I tried everything to make qemu comparable, but failed, I.e paravirtualized disk and network and propper drivers etc.

    • @brodriguez11000
      @brodriguez11000 3 года назад

      I use VB to make customized images, then export that to a remote server for daily use.

  • @arjunn4684
    @arjunn4684 2 года назад

    Dear Thanks for the great explanation!
    How can I manage Different Physical Hypervisors(Qemu/KVM)s from a single console ?
    I keep loggin in to the different physical Qemu/KVM to manage the VMs on it now and it is difficult, since we do have many Physical Hypervisiors (Qemu/KVM)

  • @retrixdev0
    @retrixdev0 2 года назад

    can someone help to assign a public ip over there to a vm

  • @gradientO
    @gradientO 3 года назад +3

    Derek, can you do videos on Display Managers?

    • @DistroTube
      @DistroTube  3 года назад +4

      Uh...I only use Lightdm. And a display manager is just a place to enter user/pass. What do we need to talk about?

    • @millankumar9245
      @millankumar9245 3 года назад +5

      @@DistroTube Maybe how to theme/customize them? (I have seen many fancy lightdm themes)

    • @gradientO
      @gradientO 3 года назад +3

      @@DistroTube about disabling it, logging in from TTY, startx, or something like that

    • @anti-propietarywarrior2452
      @anti-propietarywarrior2452 3 года назад +5

      Arch Wiki (Text) : wiki.archlinux.org/index.php/display_manager
      Video : ruclips.net/video/R2jgZErXeOI/видео.html
      Though the video may appear aged to you, it is still relevant to today's techonology.
      Lightdm Customization: wiki.archlinux.org/index.php/LightDM
      1. Install display manager (Lightdm, GDM, SDDM, etc.) Terminal: sudo pacman -S lightdm
      2. Enable the service | Terminal command: sudo systemctl enable lightdm (You will type gdm, sddm, or the respective name if you select anything other than lightdm)
      3. Reboot
      Lightdm Customization: wiki.archlinux.org/index.php/LightDM
      Greeter Used in example: lightdm-slick-greeter
      1. Install a greeter for lightdm | yay -S lightdm-slick-greeter --noconfirm (paru will suffice as well)
      2. sudo vim /etc/lightdm/lightdm.conf (You can replace vim with your favorite text editor such as nano)
      3. Edit the line that contains greeter-session (Use "/text" in normal mode to search for specific text)
      3b. Command to discover which greeters are installed: ls -1 /usr/share/xgreeters/
      4. Reboot
      This information is contained within the Arch Wiki and is still relevant to today's technology.
      Startx is used whenever display managers are not.
      wiki.archlinux.org/index.php/Xinit
      You will have to install xorg-xinit. (sudo pacman -S xorg-xinit)
      Then copy the startx file to home directory | Terminal command: cp /etc/X11/xinit/xinitrc ~/.xinitrc
      Then use the text editor (vim, nano, etc.) in order to edit the .xinitrc file.
      The last line must contain the "exec window manager/desktop environment" (openbox-session, /usr/bin/qtile start)
      If the other lines are unnecessary, you can delete them. The default configuration will remain in /etc/X11/xinit/xinitrc in case you with to refer to that configuration.

  • @kronikpillow
    @kronikpillow 3 года назад

    this is strange, for a deprecated project you still seem to be using virt-manager, also on their github there is no indication of deprecated ??

  • @WiseWorker908
    @WiseWorker908 Год назад

    I tried removing the Kernel Dump application as I thought it wasn't necessary and once I clicked Remove it uninstalled the whole Cockpit panel lmao.

  • @komolunanole8697
    @komolunanole8697 3 года назад

    What's with the flickering at 2:43 ?

  • @WC1376C22
    @WC1376C22 3 года назад

    Why is Facebook all over the licensing for Cockpit?

  • @VijinMeshram
    @VijinMeshram 3 года назад

    which linux distribution are you using

  • @gl0sek
    @gl0sek 3 года назад +1

    He was sitting in the cockpit for a few days and at the end he just had to eject...

  • @jrep
    @jrep 3 года назад

    Why is your CPU running at 80C? or is that F? If its C id look into a better cooler, or at least clean out some dust. Wouldnt wanna run such a expensive cpu at those temps at any time really :)

  • @littlepeon
    @littlepeon 3 года назад

    Overkill, DT! Cockpit is an enterprise level virtual management tool and your using it for local user use...Such Bloat! Luke Smith would not approve! You might as well advise people to kill houseflys with shotguns...lol.

  • @MrUploader14
    @MrUploader14 Год назад

    i use cockpit to manage my nextcloud and plex server

  • @Aerodos12
    @Aerodos12 3 года назад

    Fun fact: I almost distro hopped to Arch. (Un)fortunately, sudo worked (i was going to reset my main hdd due to the so files not being linked right). Also, i was considering using virt manager for testing my distro, but Im glad you told us that its deprecated beforehand. Nevertheless, I'll still use it
    Edit: Just got manjaro. Never going back.

    • @littlepeon
      @littlepeon 3 года назад

      Fun Fact: Ubuntu is an ancient African word that translates to "I couldn't figure out how to install Debian!"

  • @tmakademia3526
    @tmakademia3526 2 года назад

    I never hear of paru...

  • @emvdl
    @emvdl 3 года назад

    thnx

  • @octavylon9008
    @octavylon9008 3 года назад +9

    > soystemd
    Cringe

  • @ambassadorofpain1
    @ambassadorofpain1 3 года назад

    Real chads use Proxmox.

  • @markissboi3583
    @markissboi3583 3 года назад +1

    Something about NVIDIA released virtual upgrade for gpus
    it wasnt really an upgrade they blocked GTX cards for ages now its availble linux virtual machines .
    EDIT - Look up - * Dummie plugs hdmi- 4k increase GPU by 30%
    used on Bitcoin machines eg- 6x rtx 3060s 1 IS plug in Monitor the others all Dummie plugs = +30% hashing 💯

  • @VulcanOnWheels
    @VulcanOnWheels 3 года назад

    TempleOS?! Please, tell me that was a joke! :O

  • @michi1743
    @michi1743 3 года назад +7

    First?

    • @DistroTube
      @DistroTube  3 года назад +2

      Confirmed.

    • @jaymoney424
      @jaymoney424 3 года назад +2

      Based and checked.

    • @michi1743
      @michi1743 3 года назад +2

      @@DistroTube Another high quality content ^^ I'm signing up for Patreon next month! ^^

  • @homerjones3490
    @homerjones3490 Год назад

    LOL VMs are not the main point. It's modular

  • @artedwards717
    @artedwards717 3 года назад +1

    slow down Please!!!

  • @learningbird9940
    @learningbird9940 3 года назад +1

    Cockpit, packagekit and all the usual Red Hat systemd services...bloat, bloat, bloat!!!

  • @termile510
    @termile510 3 года назад

    First

  • @youp1tralala
    @youp1tralala 3 года назад

    This is bloat and the main point of Cockpit is not even managing VMs... Real people just use virsh.

  • @urbanduck9934
    @urbanduck9934 3 года назад +1

    8th