How to add user to sudoers on Linux

Overview This post will cover multiple procedures on how to add user to sudoers on Linux or in other words, how to give sudo privileges to a user on Linux. The steps showcased here can be applied for almost any Linux distribution. We’re also going to showcase how to add a missing sudoers file and sudoers group in Linux, which by default may occur on some minimal Linux installations(usually on the first and fresh install). ...

December 18, 2023 · 4 min · 751 words · MarkoN

Add user to the group in Linux

Overview We’re going to cover the steps how to add user to the group in Linux via terminal and how to remove a user from the group. This is also another essential skills a Linux user should know since this procedure is a part of user management practice. This post is a part of our Linux user management post series. In one of our earlier posts, we covered the process how to create and delete users in Linux via terminal(you can check out the procedure here - post). ...

December 15, 2023 · 4 min · 784 words · MarkoN

Create multiple files in Linux with one command

Overview Last time I showed you how to create a file in Linux, both ways – using text editors and using almighty terminal(link to »>POST«<). But, did you know that you can create multiple files at once? No, I don’t mean by repeating the same command over and over. I mean creating multiple files at once, with a single command. So that’s, what are going to cover in this article - how to create multiple files in Linux with one command. On a similar topic we also covered how you can create multiple directories in Linux with one command - link to »>POST«<, and how to delete folders and files in Linux too - link to »>POST«<. ...

October 27, 2022 · 3 min · 548 words · MarkoN

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

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

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