Configure IPtables rules using Ansible

Overview The following article will act as a guide and to demonstrate the process how to configure IPtables rules using Ansible. What does this means is - by using Ansible we will create a playbook that we’re going to use to automatically set IPtables firewall rules on a remote Linux server. This solution may prove to be a good option since not only it will do the job automatically but also enables to perform the same procedure on multiple different hosts at once. ...

July 14, 2022 · 4 min · 641 words · MarkoN

How to extract tar.gz file in Linux

Overview The topic for this post will be how to extract tar.gz file in Linux using the tar tool in terminal. In addition we’ll showcase other basic tar options too. If you are new to Linux OS, you must be heard of the tar files. Most open-source packages are distributed in tar format. Every Linux user should be familiar with the the tar command, at least the basics. The tar is the most wildly used archive package in Linux OS, just like zip files. Most Linux distributions used tar by default. A tar archive is pre-installed on many Linux Operating Systems, and it stands for “Tape Archive” every so often it is also referred to as the tarball. ...

June 25, 2022 · 3 min · 539 words · MarkoN

How to jump to the end of file in VIM

Overview This article will act as a simple guide to demonstrate how to jump to the end of file in VIM. Vim is a powerful text editor but it requires time and a learning curve to master it. Vim is made in a way that all commands, functions and editing is done via keyboard. Because of that, Vim has a lot of keyboard shortcuts to execute all those commands and functions. Today we’ll demonstrate how to jump to the end of a file in Vim and some other commands on how to move down the file(or in another words move cursor page up and page down in vim). Small note: These commands also are valid for VI and NVIM. ...

May 10, 2022 · 4 min · 658 words · MarkoN

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

May 4, 2022 · 4 min · 789 words · MarkoN

IPtables commands cheat sheet

IPtables commands cheat sheet Overview IPtables is one of the most well know firewalls(and quite effective as well) which also comes on many Linux distro’s pre-installed by default. The purpose of this post is to act as an Iptables commands cheat sheet, considering how Iptables is powerfull, it’s also has a numerous commands for many networking scenarios. Iptables uses various different table rules with multiple chains to block and allow traffic: ...

March 17, 2022 · 11 min · 2211 words · MarkoN

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

December 1, 2021 · 4 min · 651 words · MarkoN

Install Gnome on Debian 11

Install Gnome on Debian 11 Overview In this article we will cover the process how to Install Gnome Debian 11. That’s one of the most wonderful features that you can do with Linux. The ability to install multiple different desktop environments and to fully customize it per your liking. Thing to consider before installing another Desktop Environment Installing multiple Desktop Environments is not without risks. It requires time and some in-depth GNU/Linux knowledge in order to make ti all working smooth and to troubleshoot with ease, if some issues do come up. Here are some things that can pop-up when running more than one DE: ...

November 23, 2021 · 4 min · 697 words · MarkoN

Setup Urbackup server on Ubuntu

Setup Urbackup server on Ubuntu Overview The following post will showcase the steps how to setup Urbackup server on Ubuntu. By this we mean that we’ll be install Urbackup server on Ubuntu and also, we’ll show to add a client on the server and how to run a backup job. UrBackup is an Open Source client/server backup system, that through a combination of image and file backups features, differential backups and other tools can do various backup jobs while the system is running without interrupting current processes. ...

November 14, 2021 · 6 min · 1085 words · MarkoN

Install NFS server on Rocky Linux 8[NFS share mount]

Install NFS server on Rocky linux 8[NFS share mount] Overview The post will showcase the steps how to install NFS server on Rocky linux. On another post, we covered the other method as well where we showed the process mounting the network shared drive on Linux, but with this method we used cifs-utils tools(LINK). The principle behind this process is basically the same - mount a network shared folder or drive from another machine and access it via local network. ...

November 11, 2021 · 7 min · 1354 words · MarkoN

Install OpenVPN server on Rocky Linux 8

Overview On this post we are going to showcase the steps how to Install OpenVPN server on Rocky Linux 8. OpenVPN is one of the well-known and a great open-source VPN solution. The scenario of our process on how to install OpenVPN server is going to be performed as following: Deployed Rocky Linux 8 machine with firewall. We’ll be using an OpenVPN installation script from Github made by angristan(huge shutout and kudos to him for making such an amazing script). The Installation process done manually is not difficult, it actually requires many steps and can be time consuming(especially if you miss-configured a step which can consume more time by troubleshooting). For the simplicity and ease of setup we’re using the angristan’s script(big thanks to him for sharing the script). Another interesting method of deploying OpenVPN server is via Docker container. The process can be looked at this post - LINK. ...

October 23, 2021 · 5 min · 920 words · MarkoN

How to create a user in Ubuntu

Overview The following article will demonstrate the steps on how to create a user in Ubuntu. Also, we’ll be demonstrating how to delete user in Ubuntu and all actions we’ll be executed in terminal. Knowing how to create a user in Ubuntu and how to delete a user is one of the basic skills a Linux user(admin) should know and still one of the most important skills as well to have(user management). Reason behind this is, because in every multi user operating system(Linux as well) there are and there should be a sets of different user permissions and different user groups. This is because of security reasons. ...

October 14, 2021 · 5 min · 938 words · MarkoN

Install KDE Plasma on Pop OS 20.04

Install KDE Plasma on Pop OS 20.04 Overview The article is covering steps how you can install KDE Plasma on Pop OS 20.04. Pop OS by default comes with Gnome desktop environment, but it’s not “locked” to use only Gnome DE and like many other distros, you can install other desktop environments you like. So, if you’re fan of Pop!_OS distro and you prefer more KDE desktop over Gnome, you can install KDE Plasma on Pop OS just as that(or just want to try another DE on Pop OS to see will it work). ...

October 12, 2021 · 4 min · 760 words · MarkoN