<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Konstantin Krivko</title>
    <description>The latest articles on DEV Community by Konstantin Krivko (@konst_ant_in).</description>
    <link>https://dev.to/konst_ant_in</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2751181%2F144e6b23-7089-4327-b2c0-3efd5bb5a4e7.jpg</url>
      <title>DEV Community: Konstantin Krivko</title>
      <link>https://dev.to/konst_ant_in</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/konst_ant_in"/>
    <language>en</language>
    <item>
      <title>Virtual machines on QEMU on Linux</title>
      <dc:creator>Konstantin Krivko</dc:creator>
      <pubDate>Thu, 20 Mar 2025 08:44:21 +0000</pubDate>
      <link>https://dev.to/konst_ant_in/virtual-machines-on-qemu-on-linux-4g0b</link>
      <guid>https://dev.to/konst_ant_in/virtual-machines-on-qemu-on-linux-4g0b</guid>
      <description>&lt;p&gt;Just a quick note:&lt;br&gt;
I apologize for the rough draft. Because if I want to write a full article, the article never ends up being finished, or published, or written. And if it is written, it's not. So I will always write the version number of the text (v. 01) at the bottom. And I will supplement it as I have free time from work and worldly affairs. &lt;/p&gt;

&lt;p&gt;Let's start:&lt;br&gt;
Once upon a time. I had an old system based on a very strange OS like ALTLinux, it was my first time using KDE, in FreeBSD I only saw the console. But I needed to build a VM cluster. So I gave it a try.&lt;br&gt;
Now I have normal hardware, and I will build a VM cluster in VM. This is fun for me, not as fun as attacking orcs with a shovel in a gas mask.&lt;br&gt;
For this I use:&lt;br&gt;
Base OS: Debian&lt;br&gt;
Packages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;qemu-kvm&lt;/li&gt;
&lt;li&gt;qemu-img - VM creation and management tool&lt;/li&gt;
&lt;li&gt;edk2-ovmf - UEFI image&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let's take a look at the following VM:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;VM on bios&lt;/li&gt;
&lt;li&gt;VM on UEFI&lt;/li&gt;
&lt;li&gt;VM cluster shared disk&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I thought I was going to create the VM and all the environment now, but then I realized I needed to install the software first.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Installing and configuring KVM/QEMU&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Install KVM/QEMU and related packages using the commands:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;$ sudo apt-get install qemu qemu-system-gui qemu-utils
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Create the hard disk image with:&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;&lt;code&gt;$ qemu-img create debian.img 2G&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;p&gt;If you're installing a desktop environment, you'll need more than 2G&lt;/p&gt;

&lt;p&gt;(v.00.01)&lt;/p&gt;

</description>
      <category>linux</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Virtualization.</title>
      <dc:creator>Konstantin Krivko</dc:creator>
      <pubDate>Wed, 19 Feb 2025 12:02:49 +0000</pubDate>
      <link>https://dev.to/konst_ant_in/virtualization-36jg</link>
      <guid>https://dev.to/konst_ant_in/virtualization-36jg</guid>
      <description>&lt;p&gt;I am not going to write about what a hypervisor is or how virtualization works, there are more than enough texts and descriptions about it on the Internet.&lt;br&gt;
I will try to build a cluster of Linux virtual machines, and I will try to do it in different hypervisors.&lt;br&gt;
So, which hypervisors I plan to use.&lt;br&gt;
QEMU - of course, since I've already started with it, text first on Windows and then on Linux.&lt;br&gt;
XEN&lt;br&gt;
KVM&lt;br&gt;
Proxmox&lt;br&gt;
So, KVM is a kernel based virtual machine and is part of the Linux kernel. In the following articles I will touch on each of the technologies. But first, this article will be about QEMU.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Running a lightweight Linux distribution on old hardware.</title>
      <dc:creator>Konstantin Krivko</dc:creator>
      <pubDate>Mon, 17 Feb 2025 09:02:01 +0000</pubDate>
      <link>https://dev.to/konst_ant_in/running-a-lightweight-linux-distribution-on-old-hardware-4kik</link>
      <guid>https://dev.to/konst_ant_in/running-a-lightweight-linux-distribution-on-old-hardware-4kik</guid>
      <description>&lt;p&gt;I was drunk on Saturday, on Monday I will need to connect to a conference and learn basic Linux functions because the corporation is moving all OS to Linux.&lt;br&gt;
I had very glitchy hardware, Windows OS would start but other applications would sometimes stop because of errors, I needed Linux on this laptop, I couldn't install it only as a Linux PC because my wife uses it occasionally.&lt;/p&gt;




&lt;p&gt;First step. Looking for HyperVisors for Windows. Win 10 has a built-in solution like Hyper-v, but I had Win 7. VMware and VirtualBox were so heavy for this case.&lt;br&gt;
At least I found QEMU/KVM, it seemed like it should work, and it did.&lt;br&gt;
Downloading Qemu from the official site&lt;br&gt;
indows 64-bit:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzaxtavi0gx2epgyglznz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzaxtavi0gx2epgyglznz.png" alt="Image description" width="800" height="162"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9tmv04swn3nvkyvs1iur.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9tmv04swn3nvkyvs1iur.png" alt="Image description" width="800" height="791"&gt;&lt;/a&gt;&lt;br&gt;
I took the stable 2024 distribution for the installation. The latest 2024 release is 20241220.exe.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frmx9qlqu5jk0tbh8e0fy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frmx9qlqu5jk0tbh8e0fy.png" alt="Image description" width="800" height="649"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Run and agree to all questions&lt;br&gt;
Next, I download Puppy Linux: &lt;a href="https://forum.puppylinux.com/puppy-linux-collection" rel="noopener noreferrer"&gt;https://forum.puppylinux.com/puppy-linux-collection&lt;/a&gt;.&lt;br&gt;
I click “download” and choose my preferred distribution. I prefer the Debian based one.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftego040z4epyf20qu072.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftego040z4epyf20qu072.png" alt="Image description" width="800" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Well, I have short resurse for my hardware then I downloaded 32-bit version of Pupy. Time to run QEMU and run Linux&lt;br&gt;
QEMU which we are have is console tool. Then let's open command prompt and change directory: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr5t14495qbw0twlfj10f.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr5t14495qbw0twlfj10f.png" alt="Image description" width="800" height="84"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Then we need to create a disk image for the new virtual machine where we will install the distribution, the following command:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpfx0g7cimv9cqt5wqz4t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpfx0g7cimv9cqt5wqz4t.png" alt="Image description" width="563" height="78"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you get an error like the one shown on the screen above, we need to run a command prompt as administrator:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmj6iqsobyvg5o1s2sr9w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmj6iqsobyvg5o1s2sr9w.png" alt="Image description" width="593" height="62"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, we are ready to run our OS on this virtual machine:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F68kl47ddf6pk784wzvsg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F68kl47ddf6pk784wzvsg.png" alt="Image description" width="800" height="67"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And then the OS will start up and we can answer the following questions and get started:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj0bz4bl6uh82joowrftg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj0bz4bl6uh82joowrftg.png" alt="Image description" width="800" height="655"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fez7q4g03vqcyaeut5d64.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fez7q4g03vqcyaeut5d64.png" alt="Image description" width="800" height="602"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy5xn6q167sk32tz7k5d4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fy5xn6q167sk32tz7k5d4.png" alt="Image description" width="800" height="564"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Tiny distros that helped me.</title>
      <dc:creator>Konstantin Krivko</dc:creator>
      <pubDate>Tue, 11 Feb 2025 11:17:53 +0000</pubDate>
      <link>https://dev.to/konst_ant_in/tiny-distros-that-helped-me-2eoj</link>
      <guid>https://dev.to/konst_ant_in/tiny-distros-that-helped-me-2eoj</guid>
      <description>&lt;p&gt;If you have a windows PC and it is very old maybe my recommendation will help you.&lt;br&gt;
Why I needed them and maybe they will be useful to you.&lt;/p&gt;

&lt;p&gt;The only 3 distributions I have used are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Puppy Linux -  minimum system requirements: Processor with a clock frequency of at least 300 MHz; RAM not less than 128 MB; 512 MB of free space on a hard disk or USB drive; Video card with support for a screen resolution of at least 1024x768 pixels; CD/DVD drive or USB port for booting the system.&lt;br&gt;
I needed to work, my laptop had 1 GB RAM and 1 GHz processor. But it had a glitch on the motherboard and the Windows OS kept rebooting. Only installing Puppy Linux gave this hardware a new life.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Tiny core - Minimal configuration: Tiny Core needs at least 46 MB of RAM in order to run, and (micro) Core requires at least 28 MB of RAM. The minimum CPU is an i486DX. Recommended configuration: A Pentium II CPU and 128 MB of RAM are recommended for Tiny Core.&lt;br&gt;
Another story I need to install a running virtual machine and Linux on Windows. There is no talking about the latest distributions like Ubuntu. And also about highly loaded VMs. About lightweight VM installation and Puppy next time. Well, only tiny core linux allowed me to work.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;bodhi linux -Minimal configuration: 512MB RAM, 5GB hard disk space, and a 500MHz processor. 32-bit processors without PAE capability are supported on the same terms as PAE-enabled ones.&lt;br&gt;
For this distro only compared with puppy and tiny on performance, and if the previous ones wouldn't work, that would be plan B.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Off topic but the first OS I used was Knoppix linux - this distro ran from a CD, it was a temporary PC I borrowed from a friend but I couldn't install my OS on it, it was 2002 and the first distro that could run as a liveCD, on very weak hardware but now it needs 4GB RAM which is not tiny.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Do I need Linux?</title>
      <dc:creator>Konstantin Krivko</dc:creator>
      <pubDate>Mon, 10 Feb 2025 07:48:10 +0000</pubDate>
      <link>https://dev.to/konst_ant_in/do-i-need-linux-5250</link>
      <guid>https://dev.to/konst_ant_in/do-i-need-linux-5250</guid>
      <description>&lt;p&gt;*For clarity. I write because I'm trying to clarify my knowledge, about CS, not just Linux, and trying to write articles.&lt;/p&gt;

&lt;p&gt;If you're here, it means you're about to change your life or your job. Maybe just learning something new.&lt;br&gt;
So if you have an Android mobile - you're already using Linux.&lt;br&gt;
If you have a MacBook, you are close to using Linux.&lt;/p&gt;

&lt;p&gt;Five reasons for use Linux:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Security - For a long time using Windows, I worried about viruses, antiviruses, what games and programs send reports. But after installing Linux, at least half of my worries are gone.&lt;/li&gt;
&lt;li&gt;High stability - When installed, the laptop could run for a long time without rebooting, so did the applications.&lt;/li&gt;
&lt;li&gt;Cost effective - I had a very cheap laptop at that time. But even Windows Based didn't work very well. After installing a tiny Linux distribution, I used it for years.&lt;/li&gt;
&lt;li&gt;Scalability - Linux works on many platforms, now I use other devices with Linux on board.&lt;/li&gt;
&lt;li&gt;Lots of tools - I have many free tools and applications.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Of course, this OS is now part of my job. There are finite reasons why Linux doesn't make sense to use. One reason is if you don't want to change your job, such as administrator or programmer, you shouldn't use it.&lt;/p&gt;

</description>
      <category>linux</category>
      <category>opensource</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
