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

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 Prasad13 min read
system-administration

LDAP and OpenLDAP Basics: DN, RDN, DIT, Schema and Operations

Learn LDAP and OpenLDAP basics, including entries, attributes, DN, RDN, DIT, schemas, object classes, LDAP operations, slapd, cn=config and the MDB backend.

Deepak Prasad19 min read
system-administration

Configure Apache LDAP Authentication with OpenLDAP

Configure Apache HTTP Server to authenticate and authorize users with OpenLDAP using mod_authnz_ldap, group restrictions, TLS, and practical troubleshooting.

Deepak Prasad15 min read
system-administration

Fix Bash History Not Saving All Commands in Linux

Fix missing Bash history commands in Linux, including commands lost across multiple terminals, delayed .bash_history writes, HISTCONTROL exclusions, and permission problems.

Deepak Prasad19 min read
linux

TTY vs PTY vs PTS in Linux: /dev/tty and /dev/pts Explained

Understand TTY, PTY and PTS in Linux, including /dev/tty, /dev/pts, controlling terminals, terminal emulators, SSH, tmux, and practical commands.

Deepak Prasad13 min read
system-administration

Configure LDAP Users with NFS Home Directories and autofs

Configure OpenLDAP users with NFS home directories using SSSD and autofs on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream.

Deepak Prasad16 min read
system-administration

Configure Transparent HugePages on RHEL 8–10: always, madvise or never

Check, disable or set Transparent HugePages to madvise on RHEL 8–10, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux.

Deepak Prasad10 min read
system-administration

Download and Sync an Entire DNF Repository for Offline Use

Download and sync complete RPM repositories on RHEL 8/9/10, Rocky Linux, AlmaLinux, CentOS Stream, and Oracle Linux using dnf reposync, repository metadata, GPG verification, and offline clients.

Deepak Prasad11 min read
system-administration

Configure Postfix SMTP Relay on RHEL 9/10

Configure Postfix as a null client or internal SMTP relay on RHEL 9 and 10, Rocky Linux, AlmaLinux, CentOS Stream, and Oracle Linux using relayhost, SASL authentication, STARTTLS, SWAKS, and queue troubleshooting.

Deepak Prasad15 min read
system-administration

Run systemd Service as a Specific User and Group in Linux

Create a system-level systemd service that starts at boot and runs as a dedicated non-root user and group on Ubuntu, Debian, Fedora, RHEL, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux.

Deepak Prasad16 min read
system-administration

Mount Filesystem with systemd on RHEL, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux

Mount a local filesystem with a systemd mount unit on RHEL 8–10, Rocky Linux, AlmaLinux, CentOS Stream and Oracle Linux without editing fstab.

Deepak Prasad8 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 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

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

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 Prasad5 min read
system-administration

Understanding systemd-journald and how logging works with Journal in RHEL 7

An overview on systemd-journald service, how logging happens in RHEL 7 Linux with Journals and systemd-journald logrotate. Compare systemd-journald vs rsyslogd

Deepak Prasad8 min read
system-administration

How to mount partition using systemd unit file?

Steps to automount file system using systemd automount unit file without /etc/fstab to automatically mount and unmount file system in rhel/centos 7 and 8

Deepak Prasad9 min read
system-administration

How to force file system check on boot: systemd-fsck RHEL/CentOS 7/8

Creating /forcefsck and /fsckoptions doesn't work on CentOS/RHEL 7/8 Linux How to perform force file system check on boot (next reboot) using systemd-fsck?

Deepak Prasad4 min read
system-administration

How to start systemd service after NFS mount in Linux

How to execute a script after a network file system is mounted? How to start a systemd service only after NFS share is mounted and available in Linux

Deepak Prasad8 min read
system-administration

How to access VirtualBox shared folder at startup with systemd in Linux

How to mount Oracle VirtualBox shared folder using systemd unit file at system startup? How to execute a script during reboot on the shared folder from Vbox using systemd?

Deepak Prasad9 min read
system-administration

Solved: Error populating transaction, retrying RHEL/CentOS 7/8

How to fix starting package installation process error populating transaction, anaconda is retrying faced during RHEL/CentOS 7/8 installation in Linux

Deepak Prasad4 min read
system-administration

How to configure VLAN with bond using kickstart in Linux (CentOS/RHEL 7)

How to configure vlan with bond using kickstart in RHEL/CentOS 7. You can configure using network --vlan or using %post section of kickstart with examples.

Deepak Prasad4 min read
system-administration

How to create custom tuned profile in Linux ( RHEL / CentOS 7 )

Get an overview of tuned profile tuned-adm and steps to create custom tuned profile in Red Hat or CentOS 7. List tuned profiles configure own tuned profile

Deepak Prasad4 min read
system-administration

Create KVM Virtual Machine using Cockpit UI RHEL CentOS 8

Step-by-Step Tutorial to create KVM Virtual Machine using Cockpit Web Console on RHEL/CentOS 8 Linux. virtual machine creation and management with Cockpit

Deepak Prasad6 min read
system-administration

Steps to Install and configure Controller Node in OpenStack - Part 1

Step by step guide to install and configure controller node in openstack, configure openstack services like keystone, mariadb, rabbitmq, environment files

Deepak Prasad16 min read
system-administration

10 easy steps to move directory to another partition RHEL/CentOS 7/8

How to move directory to another partition move opt to new partition. move home to another partition. move var to new partition in RHEL/CentOS 7/8 Linux.

Deepak Prasad11 min read
system-administration

Configure XFS Quota in Linux (User, Group and Project Quotas)

Configure XFS quotas with xfs_quota, enable uquota, gquota and pquota in /etc/fstab, set project quotas, and change or check the quota grace period.

Deepak Prasad14 min read
system-administration

Create Custom RHEL ISO using Cockpit Image Builder (CentOS/RHEL 8)

Steps to create custom RHEL ISO using Cockpit Image Builder Web Console and CLI in RHEL 8 Linux. Create Live ISO, QCOW2, Amazon Machine Image, Azure Disk Img

Deepak Prasad10 min read
system-administration

List All Active SSH connections in Linux [8 Methods]

List active SSH connections in Linux. Show SSH connection history. Show active SSH sessions in Linux using multiple commands. How to check active ssh sessions.

Deepak Prasad11 min read