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

OpenLDAP Tutorial for Beginners - Install, Configure, Replicate

Free, hands-on OpenLDAP tutorial - install on RHEL/CentOS/Rocky/Ubuntu, configure TLS, set up master-slave and multi-master replication, integrate Linux clients, and migrate from one server to another. 12 …

Deepak Prasad1 min read
system-administration

Fixing 'SSH: No Route to Host' Error

The "SSH: No route to host" error to be honest can occur n number of issues. There is no specific one solution which will work for all scenarios. So in this

Deepak Prasad9 min read
system-administration

OpenLDAP vs Active Directory: Complete Comparison Guide

OpenLDAP vs Active Directory in plain language: LDAP protocol vs directory services, OpenLDAP vs LDAPS, Samba AD vs Microsoft AD, cost, GPO, Kerberos, Linux integration, and when to choose each.

Deepak Prasad13 min read
system-administration

Chrony Force Sync in Linux

Learn how to force Chrony time sync in Linux using chronyc makestep and chronyd -q. Also configure Chrony as an NTP client or server, check sync status, and understand server options like iburst, minpoll, and maxpoll.

Deepak Prasad8 min read
system-administration

Permanently disable transparent hugepages CentOS RHEL 8

Step-by-Step instructions to disable transparent hugepages GRUB2 using grub2-editenv in RHEL/CentOS 8 Linux. Check transparent huge pages status (AnonHugePages)

Deepak Prasad4 min read
system-administration

How to check and disable transparent hugepages ( CentOS / RHEL 7 )

What are transparent huge pages? How to check turn off disable transparent hugepages in RHEL / CentOS 7 Linux for this session or permanently sysctl GRUB2?

Deepak Prasad4 min read
system-administration

How to Check Filesystem Type in Linux

Learn how to check filesystem type in Linux for mounted paths, disks, partitions, LVM volumes, USB drives, ISO media, and unmounted filesystem images with tested findmnt, lsblk, blkid, df, file, stat, udevadm, fstab, …

Deepak Prasad9 min read
system-administration

Systemd Tutorial for Beginners: Units, Services, Targets, and systemctl

Learn what systemd is in Linux and how to use systemctl to check system state, list services, inspect units, view targets, read logs, verify unit files, and test transient services with practical tested examples.

Deepak Prasad10 min read
system-administration

Create cron job or schedule jobs using bash scripts in Linux or Unix

How to update crond using a shell script? Schedule cron job using command line bash shell script in Linux? Create cron job using crontab shell script Unix

Deepak Prasad3 min read
system-administration

Steps to configure NFS server & client in RHEL/CentOS 7/8

Step by Step NFS configuration Guide to install and configure NFS server in RHEL/CentOS 7/8. NFS server tutorial. How to check NFS status in Linux. setup nfs server

Deepak Prasad16 min read
system-administration

How to Clear System Storage on Mac Using Terminal (Advanced Guide)

Learn how to clear system storage on Mac using terminal commands. This advanced guide covers disk usage analysis, cache cleanup, log removal, and troubleshooting system data taking excessive space on macOS.

Deepak Prasad5 min read
system-administration

Install and Configure OpenLDAP on Rocky Linux 9 (cn=config Guide)

Step-by-step guide to install and configure OpenLDAP on Rocky Linux 9 using the cn=config backend and ldapmodify. Includes schema loading and user/group management.

Deepak Prasad4 min read
system-administration

4 ways to SSH & SCP via proxy (jump) server in Linux

You can use either ProxyCommand or ProxyJump with ssh and scp respectively to connect target host or transfer files through any jump host with examples.

Deepak Prasad4 min read
system-administration

Secure OpenLDAP with TLS, MTLS, STARTTLS in Ubuntu

Configure OpenLDAP with TLS certificates on Ubuntu . Secure LDAP connections with TLS/SSL. Create our own CA and sign our certificate to use it with LDAP.

Deepak Prasad12 min read
system-administration

Create Central Authentication Server with OpenLDAP and NSLCD in Ubuntu

In this tutorial we will cover the steps to install and configure OpenLDAP from scratch and then use the OpenLDAP server as a central authentication server

Deepak Prasad10 min read
system-administration

Add Linux to Windows Domain using realm (CentOS/RHEL 7/8)

Step by step guide to add linux to windows Domain (Active Directory) using Realm tool on RHEL/CentOS 7/8. Join linux to windows domain. sssd active directory centos 7.

Deepak Prasad10 min read
system-administration

Secure OpenLDAP with TLS, MTLS, STARTTLS in Rocky Linux

Step by Step instructions to configure OpenLDAP over SSL/TLS using self signed certificates or Third party Root CA signed certificates using OpenSSL in Rocy Linux 8.

Deepak Prasad12 min read
system-administration

Install and Configure OpenLDAP on Ubuntu [Step-By-Step]

OpenLDAP is an open-source implementation of the Lightweight Directory Access Protocol (LDAP). It's widely used for managing directory information, providing

Deepak Prasad8 min read
system-administration

Linux sftp restrict user to specific directory | setup sftp chroot jail

how to configure sftp server in linux step by step to sftp restrict user to specific directory in Linux Setup sftp chroot jail with authorized_keys passwordless

Deepak Prasad18 min read
system-administration

Step-by-Step Tutorial: Install and Configure OpenLDAP in CentOS 7 Linux

Learn the steps to install and configure OpenLDAP on Linux using ldapmodify and cn=config database. Add and delete user, group, objects from ldap database

Deepak Prasad12 min read
system-administration

Configure OpenLDAP Master Slave replication Rocky Linux 8

Step by step instructions to configure openldap master slave replication using Rocky Linux 8. test the master slave replication.

Deepak Prasad7 min read
system-administration

Basics OpenLDAP Tutorial for Beginners

ldap tutorial for beginners covers basics of LDAP and OpenLDAP like What is LDAP? Why do we use LDAP? What are the terminologies used with LDAP? Daemons of LDAP

Deepak Prasad13 min read
system-administration

8 simple steps to configure ldap client RHEL/CentOS 8

Steps to install and configure ldap client using SSSD on RHEL and CentOS 8 Linux. The configuration using SSSD over TLS and SSL encryption for ldap client

Deepak Prasad5 min read
system-administration

How to run script with systemd at shutdown only (not at reboot)

Steps to run script with systemd at shutdown only with examples in CentOS/RHEL 7/8 in Linux. Run script or command before shutdown but not at reboot

Deepak Prasad4 min read
system-administration

How to run script after N minutes of boot with systemd CentOS/RHEL 7/8

How to execute command or run script after N minutes of boot using systemd timer in CentOS/RHEL 7/8 Linux fix systemctl failing with unknown section 'Timer'

Deepak Prasad6 min read
system-administration

How to read user input during boot stage with systemd in Linux

Shell script to read user input during boot stage in Linux with a systemd service in CentOS/RHEL 7/8 Linux. Take input at the startup script in Linux.

Deepak Prasad4 min read
system-administration

How to run script on startup using systemd in Linux

How to execute and run script at startup after N minutes with delay using systemd and without cronjob in CentOS/RHEL 7/8 Linux before login prompt appears

Deepak Prasad6 min read
system-administration

How to run script with systemd right before shutdown in Linux

Steps to execute and run script with systemd right before shutdown in CentOS/RHEL 7/8 Linux. Use Before=shutdown.target to execute command before shutdown

Deepak Prasad3 min read
system-administration

How to run script with systemd right before login prompt in CentOS/RHEL 7/8

How to execute or run script with systemd right before login prompt in CentOS/RHEL 7/8 Linux between rc-local.service and getty.target in service unit file

Deepak Prasad5 min read
system-administration

How to run systemd service as specific user and group in Linux

run service as user linux. systemd allow user to start service. systemd start service as user on boot run systemd service as specific user group CentOS/RHEl 7/8

Deepak Prasad5 min read