Monday, June 22, 2020

Install KVM && Web Cockpit Console on Fedora 32 Server

*******************************************
UPDATE 06/25/2020
Hardware issue - I've reinstalled expensive cordless mouse and appear to be able manage VM's installation via Cockpit VNC Console. 


**********************************************

The core target of deployment below is to create KVM guest on F32 Server Virthost attached to external office LAN rather then to default libvirt network. As bridge creating tool Web Cockpit Console was selected. Spice console is still utilized to manage guest forked via Web Console.

Original setup

$ sudo dnf groupinstall 'Virtualization'

Setup Web Cockpit Console of F32 Server
    $ sudo dnf install cockpit cockpit-machines

Service start up

$ sudo  systemctl start cockpit.socket
$ sudo systemctl status cockpit.socket
$ sudo systemctl enable cockpit.socket

Firewall tuning 

$ sudo firewall-cmd --add-service=cockpit --permanent
$ sudo firewall-cmd --reload
$ sudo reboot

Attach bridge0 to network interface enp2s0


   Fork and deploy KVM guest attached to office LAN

 

Deploying managed by Spice Console via network installation minimal DVD - debian-10.4.0-amd64-netinst.iso .








   Debian 10.4 KVM guest deployed to office LAN







    Ubuntu 20.04 KVM guest with IP obtained via outgoing office router ( another test )


   Another option to manage deployment is to invoke virt-viewer ( click the button "Launch Remote Viewer" in Cockpit console area ) and open VNC session with guest in separate window

     References
  1.  https://fedoramagazine.org/create-virtual-machines-with-cockpit-in-fedora/

Friday, June 19, 2020

Install Grub Customizer on SparkyLinux 2020.06

This is an immediate follow up for 
https://vitux.com/install-grub-customizer-on-debian/
Grub Customizer is a GUI management tool for updating the default configurations of the grub bootloader. Utilizing Grub Customizer you can add, delete and rearrange boot menu entries via graphical interface.It allows you to edit kernel parameters and change the time delay at boot time. The important thing is that in the case when something went wrong during editing session you have an option to discard updates when quieting Grub Customizer .

Build
   $ sudo apt-get install build-essential \
          cmake libgtkmm-3.0-dev \
          libssl-dev gettext libarchive-dev
   $ tar xzf grub-customizer_5.1.0.orig.tar.gz
   $  cd grub-customizer-5.1.0/
   $  cmake . && make -j8
   $  sudo make install

Test



   Web Cockpit embedded VNC Console 
  ( CentOS 8.2 VirtHost ) . See for details
   https://www.tecmint.com/install-kvm-in-centos-8/


However, for myself Spice connection to KVM guest keeps to stay the best vs VNC tunneled into http.





Thursday, June 11, 2020

SparkyLinux 2020.06 shows up amazing performance even running Gnome 3.36.2 ( kernel 5.7.1)

Sparky 2020.06 is based on Debian testing “Bullseye” . This release ships with Linux kernel 5.6.14, you can also switch to Linux kernel version 5.7.1 via standard Debian's commands
$ sudo apt-cache search linux-image
$ sudo apt install linux-image-5.7.1-sparky-amd64
Sparky Linux has received the system upgrade powered by the latest Debian testing reports as of June 5, 2020, so you are supposed to get a lot of improvements with this release. Just keep in mind Sparky 2020.06 belongs the (semi-)rolling line. 
I intentionally did performance appraisal on Penryn's (Q9550) box rather then Haswell's (i4790) one.

Setting up Gnome 3.36 on SparkyLinux 2020.06
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install snapd 
$ reboot

At this point system should automatically enable all of the systemd services on SparkyLinux that Snapd needs to function properly.
$ sudo snap install gnome-3-34-1804
$ sudo apt install gnome
$ reboot 
$ sudo snap refresh
$ reboot


 



Friday, June 5, 2020

Install Gnome 3.36 on top of Linux Lite 5.0 via snapd daemon

Dropping Snap support on Linux Mint 20 forces me to consider Linux Lite 5.0 as a preferred choice of light weight clone for Ubuntu 20.04. Snapd daemon could be installed on Linux Lite 5.0 with no issues. Snap avoids dependency problem by incorporating the application and its libraries into a single package, afterwards been installed and mounted on a SquashFS virtual file system. When you run a snap, you're running it inside a secured container of its own. 
So Gnome 3 Desktop installation might be done via "sudo snap install" as quite straight forward procedure.
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install snapd 
$ reboot
At this point system should automatically enable all of the systemd services on Linux Lite 5.0 that Snapd needs to function properly.



$ sudo snap install gnome-3-34-1804
$ sudo apt install gnome
$ reboot 
$ sudo snap refresh
$ reboot
Please, see for details of snap refresh policy
https://snapcraft.io/docs/keeping-snaps-up-to-date
I've also placed two links into references to make my point of view as clear as possible.


   Relogin to Ubuntu on Wayland


   Tested on bare metal




  References
  1.  https://www.debugpoint.com/2020/06/linux-lite-5-release-download/ 
  2.   https://askubuntu.com/questions/808524/whats-the-main-difference-between-docker-and-snap