Hello there 👋

Welcome! Thank you for your visit. I hope you enjoyed your stay.

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. ...

November 7, 2024 · 6 min · 1104 words · MarkoN

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. ...

November 6, 2024 · 5 min · 1024 words · MarkoN

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«<. ...

August 30, 2024 · 4 min · 649 words · MarkoN

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: ...

August 30, 2024 · 4 min · 701 words · MarkoN

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. ...

August 29, 2024 · 4 min · 800 words · MarkoN

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. ...

August 28, 2024 · 6 min · 1183 words · MarkoN

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. ...

August 27, 2024 · 7 min · 1373 words · MarkoN

Mastering Linux file permissions: A Deep Dive

Linux file permissions Overview Hi there fellow Linux explorers! Are you ready to take another dive into the depths of Linux waters? Hopefully you’re ready for today’s topic, because we’re about to dwell in linux file permissions and try to learn and explore as much as possible of this in-depth topic in a single post. File permissions in Linux explained As a beginner you’ve probably been puzzled the first time you listed files and folders. ...

July 31, 2024 · 11 min · 2199 words · MarkoN

How to Install Docker using Ansible[Ubuntu/Debian]

Overview This article will showcase a process how to install Docker using Ansible. We’ll be covering two different approaches how to install Docker with Ansible, one for production environment and other for development/testing purposes. This process can be applied on any type of Linux machine - bare metal, VM or a cloud VM instance. For this example we’ll be running the playbook on Ubuntu 24.04 LTS. Side note - we also covered a process how to deploy Docker containers using Ansible - The process can be looked at this post, and how to deploy Nextcloud and Wordpress on Docker using Ansible. ...

July 28, 2024 · 7 min · 1425 words · MarkoN

Rename files and directories in Linux

Rename files and directories in Linux Overview Hello there Linux aficionados! Today’s chapter is all about how to rename files and directories in Linux using many different tools in cli and applying various diferrent techniques. We’ll also cover some example how to rename multiple files and directories in linux, aka - batch renaming. Last time we discussed how to copy files and directories and I mentioned ‘mv’ command. Like its name suggests, it’s used primarily for moving files or directories from one destination to another, practically doing cut & paste operations. But appart from that it’s also capable of renaming the files and directories as well and we’re going to start of this post with introducing the rename files and directories in linux with ‘mv’. ...

April 4, 2024 · 8 min · 1551 words · MarkoN

Deploy Nextcloud on Docker using Ansible

Overview In this article we are going to go through the steps how to deploy Nextcloud on Docker using Ansible. Purpose of this procedure is to automatize the deployment process of Nextcloud on Docker with the Ansible playbook. In order to deploy nextcloud on docker using ansible successfully, there are some requirements first to configure(listed bellow in the prerequisites) Prerequisites Docker installed and running on the target host machine(Docker installation can also be automated with Ansible - link to the POST) SSH access enabled on the remote hosts with the login parameters preset in the Ansible hosts file Ansible installed on client machine(your machine) Installed Python and Python docker module for Ansible on target machine Installed Python on your local machine Install Python Docker module for Ansible Most Linux distros have Python3 preinstalled but for others the Python Docker module that Ansible uses may be missing. You’ll know that it’s if you get an error mentioning that the module is missing or not found. Picture example of the error bellow: ...

December 24, 2023 · 6 min · 1158 words · MarkoN

Clone a git repository with ansible

Overview One of cool things that Ansible can do is to clone a git repository and that’s what we’ll be talking about in this article - how to clone a git repository with Ansible. This enables us to have an automated solution for various setup processes(ie, downloading and setting up a dev environment on a remote location, need of download a script that needs to execute after the git repo is cloned, etc… ). ...

December 24, 2023 · 4 min · 659 words · MarkoN