Showing headlines posted by dba477
« Previous ( 1 2 3 4 5 6 7 8 9 10 11 ... 30 ) Next »Iinstall Cockpit Flatpak Client (version 297) on Fedora 38 WKS
Cockpit Client provides a graphical interface to your servers, containers, and virtual machines. Connections are made over SSH, using the SSH configuration of the local user (including aliases, known hosts, key files, hardware tokens, etc). The server needs to have Cockpit installed, but the Cockpit webserver doesn't need to be enabled, and no extra ports need to be opened.
No-GIL mode coming for Python
The Python Steering Council has announced its intent to accept PEP 703 (Making the Global Interpreter Lock Optional in CPython), with initial support possibly showing up in the 3.13 release. There are still some details to work out, though.
Install Virtualbox 7.0.10 on Manjaro Linux 22.1 ( kernel 6.4.6 )
Upgrade kernel on Manjaro instance up to 6.4.6 via Manjaro Settings Manager and reboot instance. Then issue $ sudo pacman -Syu virtualbox .This command will report you - There are 12 providers available for VIRTUALBOX-HOST-MODULES: Repository extra . If you select option 10 then linux64-virtualbox-host-modules would be installed on your Manjaro 22.1 instance .
Install Windows 11 KVM Guest on Manjaro Linux 22.1 (Gnome)
On Manjaro Linux we intend to convert virtio-win-0_1_229-1_noarch.rpm to Arch format and install corresponding Arch package as pre-installation step on KVM Hypervisor's Manajaro Linux Host.
Install VirtualBox 7.0.10 on Sparky Linux 2023.07 ( kernel 6.4.4 ) as KVM Guest
Upgrade kernel on Sparky Linux 2023.07 up to 6.4.4-sparky8 via Synaptic Manager . Then atcivate Debian 12 repo per https://linuxiac.com/virtualbox-7-0-10-released/ and proceed as follows . . .
Install VirtualBox 7.0.10 on Fedora 38 WKS (kernel 6.4.3)
Coming three months after VirtualBox 7.0.8, the new release adds initial support for the Linux 6.4 kernel series for both guests and hosts, initial support for the upcoming Linux 6.5 kernel series only for hosts. Proceed as follows per official Oracle's instructions
Setting up VirtualBox 7.0.8 on Fedora 38 Server (kernel 6.4.2)
Acivate on system following repo $ sudo dnf copr enable jforbes/kernel-stabilization and upgrade system via $ sudo dnf update -y . Make sure that kernel 6.4.2-201 has been installed:
[boris@ServerFedora38 ~]$ rpm -qa | grep kernel | grep "6.4.2" => kernel-devel-6.4.2-201.fc38.x86_64 kernel-devel-matched-6.4.2-201.fc38.x86_64 kernel-6.4.2-201.fc38.x86_64 . . . Now setup rpmfusion . . . .
[boris@ServerFedora38 ~]$ rpm -qa | grep kernel | grep "6.4.2" => kernel-devel-6.4.2-201.fc38.x86_64 kernel-devel-matched-6.4.2-201.fc38.x86_64 kernel-6.4.2-201.fc38.x86_64 . . . Now setup rpmfusion . . . .
How to install Windows 11 in a VirtualBox with Ubuntu Linux (Review)
Just one notice regarding current review. Quoting mentioned "Howto" :
Officially, Windows 11 requires Secure Boot and TPM 2.0. These features are not (yet) available in VirtualBox. The result is that you will get the error as you can see on the right image. Important note for Windows 11:
To bypass these settings, click on the X icon at the right upper corner and quit the setup. Hold the SHIFT key and press F10. Then give the command ‘regedit’. Navigate to HKEY_LOCAL_MACHINESYSTEMSetup and create a new key (folder) here named ‘LabConfig’. Within this key, create a new DWORD (32 bits) value named ‘BypassSecureBootCheck’. Create another DWORD (32 bits) value named ‘BypassTPMCheck’. Don’t forget to set both values to 1.
To bypass these settings, click on the X icon at the right upper corner and quit the setup. Hold the SHIFT key and press F10. Then give the command ‘regedit’. Navigate to HKEY_LOCAL_MACHINESYSTEMSetup and create a new key (folder) here named ‘LabConfig’. Within this key, create a new DWORD (32 bits) value named ‘BypassSecureBootCheck’. Create another DWORD (32 bits) value named ‘BypassTPMCheck’. Don’t forget to set both values to 1.
Install Win11 as Virtualbox 7 Guest on Ubuntu 22.04 and SparkyLinux 7
Post below was inspired by article "How to install Windows 11 in a VirtualBox with Ubuntu Linux as host" . In particular, mentioned "Howto" suggests a known registry hack descscribed in section "Important note for Windows 11" . Down here follows another aproach, proposed in http://lxer.com/module/newswire/view/331458/index.html for KVM Hypervisor, it is supposed to be applied to Virtualbox 7.0. Once again we intend to work via "alien" conversion on Ubuntu 22.04 and SparkyLinux 7 .
Install Win11 KVM Guest on SrarkyLinux 7 via conversion virtio-win-0.1.229.noarch.rpm to format *.deb
Conversion via "alien" utility virtio-win-0.1.229-1.noarch.rpm to debian format (*.deb) and deploying virtio-win_0.1.229-1_all.deb on SparkyLinux 7 allows straightforward install Windows 11 KVM Guest in UEFI mode on SparkyLinux 7 and Debian BookWorm as well .
Install Windows 11 as KVM Guest in SparkyLinux 7 using virt-manager
First of all make sure that packages :
$ sudo apt install ovmf swtpm swtpm-tools
are already installed on your system, then the configuration of TPM is no longer your concern. Howevere, original setup would still look like . . . . . .
Set up KVM && Cockpit WEB Console on Debian BookWarm (12)
Virt-manager still appears to be the most powerful tool in regards of deployment and managment of KVM guests. Also sometimes it seems to be more functional rather then Cockpit Web console, in my very personal opinion. In particular, it allows to configure some features required by Windows 11 KVM Guest in the most recent builds of Fedora Linux 38,37.
Install Windows 11 as KVM Guest in Fedora 38 WKS using virt-manager
Brief instruction for setting up Virt-manager to perform straightforward installation of Windows 11 KVM Guest on Fedora 38 Workstation under 6.3.4 kernel.
Install Virtual Box 7 on Fedora 37 Server via rpmfusion repository
To make system ready for VitualBox 7 setup via rpmfusion repos,install the Linux kernel "header" files matching the current kernel for adding new hardware support to the system. The distribution packages containing the headers is probably: kernel-devel-6.0.9-300.fc37. Kernel packages installation has been done as follows.
Verification CLT via flask && matplotlib
Central limit theorems (CLT) are a class of theorems in probability theory stating that the sum of a sufficiently large number of weakly dependent random variables that have approximately the same scale (none of the terms dominates, does not make a decisive contribution to the sum), has a distribution close to normal.
Uploading dictionaries into SQLite tables via Pandas DataFrames on Python
The following below is a not entirely trivial algorithm for students that creates a Python dictionary after scanning text according to the conditions of the problem, which gets converted into Pandas Dataframe and uploaded to SQLite database table to be analyzed via nested SQL Query.
Exersing Python 3.10 on Fedora 25 via sorting Pandas DataFrame
The following below is a not entirely trivial algorithm for students that creates a Python dictionary when scanning text according to the conditions of the problem, which is then processed as Pandas Dataframe to provide the output required
Python Wrapper to find all primes from a given interval via sieve of Eratosthenes released in C++
We intend to rely on https://github.com/mathbunnyru/python-cpp-extension . We also would convert lists to sets and vice-versa and utilize method set1.difference(set2) . Sometimes Python tricks make you really excited
Python Wrapper for sieve of eratosthenes released as C++ procedure (YandexQ question)
This post is an immediate follow up for http://lxer.com/module/newswire/view/306255/index.html what will result significant performance boost vs python's version of the sieve of Eratosthenes procedure.
Solution another YandexQ question via sieve of eratosthenes in Python
The major target of this approach is performance improvement when looking for the highest prime number less than 10.000.000 with a given sum of decimal digits. The problem requires implementation of sieve of Eratosthenes