Convert Virtualbox VMs to QEMU/KVM[VDI to QCOW2]
Overview In the following article, we’ll go through the steps how to convert Virtualbox VMs to QEMU/KVM hypervisor, or in another words, how to convert VM files from VDI to QCOW2 extenstion. This process is useful especially when you need to migrate from virtualbox to KVM or just want to try out the KVM hypervisor without the need to create new machines from the start. What is VDI? VDI(Virtual desktop infrastructure) is an file extension of the HDD disc image file for an Virtual machines that are commonly used by hypervisor solutions such as Virtualbox. ...
How to setup NFS server on Alma Linux(NFS share)
This article will act as a guide for a procedure - how to setup NFS server on Alma Linux or in another words and how to create an NFS share on Alma Linux. NFS stands for Network File System is a network file sharing protocol that allows you to share files and directories over the network. You can mount the file systems over a network and use them as your local drive. NFS server is a client-server architecture where multiple clients can mount the shared drive from the NFS server and share resources between Linux systems. By using NFS, you can save space and the cost of storage, especially when you are using cloud instances. ...
6 Open Source Kubernetes Desktop Tools for local development
Exploring Open Source Kubernetes Desktop tools for local development Overview Hello there Kubernetes adventurers. Kubernetes is the go-to solution for container orchestration in modern software development. But for many developers, working with Kubernetes locally can be challenging. Fortunately, there are variety of desktop Kubernetes tools to simplify the process, allowing you to experiment, learn, and develop applications right on your machine. In this post, we’ll explore some of the best open source Kubernetes desktop tools available, highlighting their pros and cons to help you choose the one that suits your needs. So, let’s get started. ...
Sudo vs su command differences
Sudo vs su command differences Overview Hello there fellow Linuxers. Hopefully you’re all being practicing your skills or at least learning new skills. On your journey learning or trying to master Linux you must have came across certain commands that you saw others use and you just copy-paste it? For example, I’ve noticed that new users have troubles understanding the difference in (not holy) trinity of commands sudo, su and su- so they don’t use them properly. Ergo, on today’s menu is a special about sudo vs su command differences -. Let’s get started. ...
Use MinIO as a Backend for Terraform Remote State
Overview Hello there DevOps and IaC enthusiast. In this article we will introduce MinIO, an interesting piece of software that can be self-hosted and help us solve a problem managing the Terraform remote state on the on-premises environemnts(Bare metal servers and data centers). And that’s our goal essentially - to use MinIO as a backend for Terraform remote state. My best use case for this setup is to utilizite it for hypervisor softwares(VMware, Proxmox), on prem kubernetes, docker too and so on. ...
Deploy Docker container using Ansible
Overview Hello there fellow Linux adventurers. I hope you’re ready for today’s adventure in the land of automation. Through this article you’ll be shown steps how to deploy Docker container using Ansible on a remote Linux machine that runs Docker engine. By the end of article you should have enough understanding how to automate process of Docker container deployment on a multiple Linux inventory, with preset of environment variables and configs for needed Docker container. ...
Kubernetes overcommitment best practices
Overview Greetings knowledge seekers and kubernetes explorers. In the following post we will take a look at some of kubernetes overcommitment best practices and how to manage pods resources and how to manage pods request and limits. When working with Kubernetes and handling pods resources, this topic doesn’t get much attention than it needs or gets overlooked(guilty as charged). But understanding this and correctly managing these are crucial if you want to retain healhty and effecient cluster and avoiding a plethora of problems in the long run. ...
5 examples to create multiple directories in Linux
Overview Here we will show couple of ways/tips/hints on how to create multiple directories in Linux. The steps we want to cover in this article are how to create multiple directories in linux and sub-directories with the mkdir tool and for each individual example to create the directories with only one command. In other words, we want to run one mkdir command in terminal that will enables us to create multiple directories and sub-directories at once. For those are curios and keen on to learn, we also covered the steps on how to delte folders in this »>POST«<. ...
How to upgrade Debian 11 to Debian 12
How to upgrade Debian 11 to Debian 12 Overview Hi there fellow Linuxers! On today’s article we’re all about how to upgrade Debian, in this case, how to upgrade Debian 11 to Debian 12. For my upgrade scenario, I’ll be using a VM that runs Debian I use for one my Docker servers for my home lab and is in dire need for an upgrade. Gathering info To check your exact version you can use: ...
How to delete lines from a file using sed
How to delete lines from a file using sed Overview Today we’re looking at one of the powerfull tools you can add in your Linux toolbelt and yet underrated standard tool – sed. Sed, shortly for stream editor, is a command with which you can do various actions on a file, amongst which are search, find and replace, insert or delete. And “delete” part is what we’re focused at this time, meaning that we’re covering various methods how to delete lines from a file using sed. Without further ado, let’s get our hands busy, so you’ll see how handy sed really is. ...
How to kill a process in Linux
How to kill a process in Linux Overview Hi there fellow Linuxers. Hopefully you’re all well, primed and ready for new learning adventure because this one is going to be one hell of a ride. Every Linux user that comes to age faces this so-called rite of passage. The very moment you start killing processes is very moment that you entered Linux adulthood. I’m joking of course, but it’s not far from the truth. A moment you start carrying out ‘seek and destroy’ missions on processes is a moment that you’re a on path to be an experienced Linux user. ...
Mount a network shared drive on Linux
Overview In this post we will go through the process on how to mount a network shared drive on Linux. We are going to cover the methods with cifs-utils in order to mount the network shared drive with the SMB protocol and the NFS share as well, by using the nfs tools. Also in this post, we will cover the steps how to mount the network drives permanently and to mount automatically on boot. ...