Category

System Administration Guides and Best Practices

Learn system administration with practical guides on user management, services, monitoring, and Linux server management.

The System Administration section focuses on managing and maintaining Linux systems efficiently.

These tutorials cover identity and access, remote administration, file services, install-time networking, monitoring, and day-two operations on production servers.

Browse the articles below for step-by-step administration guides and best practices.

You can also explore Linux and Networking for deeper insights.

107 articles

System administration category illustration with server rack, services, and monitoring graphics
system-administration

8 ways to prevent brute force SSH attacks in Linux (CentOS/RHEL 7)

Prevent brute force SSH attacks in RHEL CentOS 7 with examples using Fail2ban, account lockout, SSH rate limit using iptables, sshd_config, SHA512 hashing

Deepak Prasad10 min read
system-administration

How to use cin for an array in C++

In c++ cin array is not performed in one cin statement. In this article we will learn about array input in c++. To understand array input, we first need to

Azka Iftikhar4 min read
system-administration

2 ways to boot with old kernel version in RHEL 8 using grubby

Steps to set default boot kernel in RHEL 8 using grubby and boot with old kernel version. Check the kernel version which will get activated after reboot

Deepak Prasad7 min read
system-administration

How to configure ssh host based authentication per user (CentOS/RHEL 7/8)

Configure SSH Host Based Authentication using sshd_config, shosts,equiv per user RHEL/CentOS 7/8. Compare Host based authentication vs public key authentication

Deepak Prasad8 min read
system-administration

How to restrict or allow ssh only from certain users, groups or hosts in Linux

How to allow SSH for root login only from specific host or IP address? How to configure and restrict SSH to permit login only for certain users and/or groups?

Deepak Prasad6 min read
system-administration

Shell script to resize image, convert image format in Linux

Steps to convert image format, resize image percentage, scale using imagemagick in linux. shell script to batch resize image and convert image format in linux.

Deepak Prasad6 min read
system-administration

How to update GRUB2 using grub2-editenv and grubby in RHEL 8 Linux

Set and Modify kernel command line arguments, update GRUB2 in RHEL 8 using grub2-editenv, grubby and grub2-mkconfig with examples to disabled IPv6 RHEL 8 Linux

Deepak Prasad5 min read
system-administration

Steps to join/add CentOS 8 to Windows Domain Controller (RHEL 8)

Step by step tutorial to join or add CentOS 8 to Windows Domain Controller running on Windows Domain Controller Active Directory on 2012 R2 using winbind RHEL 8

Deepak Prasad10 min read
system-administration

How to PROPERLY boot into single user mode in RHEL/CentOS 7/8

linux single user mode, centos 7 single user mode, rhel 7 single user mode, single user mode linux, how to boot into single user mode linux, centos single user mode, single user mode

Deepak Prasad4 min read
system-administration

Install iRedMail on Rocky Linux 8 [Step-by-Step]

Step by Step instructions to install iredmail on rocky linux 8 with screenshots. Install and Configure iredmail server GUI

Deepak Prasad7 min read
system-administration

Add timestamp to SSHD DEBUG logs

Add timestamp to SSHD DEBUG logs using while loop. Prepend timestamp to STDOUT and log file for DEBUG logs

Deepak Prasad9 min read
system-administration

Show NFS shares | List NFS mount points | List NFS clients Linux

Examples and commands to show NFS shares on NFS server, List NFS mount points on NFS Clients, List NFS clients connected to the NFS server, List NFS shares in Linux

Deepak Prasad4 min read
system-administration

10 practical examples to export NFS shares in Linux

This tutorial contains a list of nfs exports options in Linux with examples to create NFS share using /etc/exports. You can share with multiple hosts, single or world

Deepak Prasad8 min read
system-administration

Solved: Kickstart clearpart not working in RHEL CentOS 7 8

Fix kickstart clearpart not working error in RHEl/CentOS 7/8 Linux, kickstart fails to delete existing partitions using zerombr and clearpart in Linux

Deepak Prasad3 min read
system-administration

How to restrict IP Address to use postfix smtp relay

How can I restrict my postfix smtp relay server to be used by only certain IP Address, How to block or allow postfix relay access using mynetworks example

Deepak Prasad6 min read
system-administration

How to reject mail for unknown users in postfix (local_recipient_maps)

How to reject mail for unknown users on localhost with Postfix with local_recipient_maps with example

Deepak Prasad3 min read
system-administration

5 easy steps to blacklist kernel module in CentOS RHEL 7 8

Step by step guide to disable and blacklist kernel module using GRUB2 and modprobe.d in Red Hat and CentOS 7 and 8 Linux. Permanently unload kernel module

Deepak Prasad6 min read