Category

Linux Tutorials and Command Line Guides - Page 8

Learn Linux with step-by-step tutorials, command line examples, and system administration guides for Ubuntu, RHEL, CentOS, and more.

Welcome to the Linux tutorials section, your complete resource for mastering Linux commands and system administration.

This category covers everything from basic commands to advanced system-level operations across multiple distributions such as Ubuntu, RHEL, and CentOS.

Linux is the backbone of modern infrastructure, and understanding it is essential for DevOps, cloud computing, and system administration. You may also explore System Administration and Security for advanced topics.

Browse by distribution using the cards below — RHEL family (RHEL, Rocky Linux, AlmaLinux, CentOS, Fedora) and individual APT-based hubs (Ubuntu, Debian, Kali Linux, Linux Mint) — then see featured articles and the full article list.

639 articles

Linux category illustration with terminal, commands, permissions, and troubleshooting features

All Linux articles

system-administration

Fix LDAP Unwilling to Perform Error 53 in 389 Directory Server

Fix LDAP error 53 in 389 Directory Server by reading the additional info line, then checking password policy, read-only mode, RootDN Access Control, TLS SSF, and access logs.

Deepak Prasad15 min read
system-administration

Fix LDAP Invalid Credentials Error 49 in 389 Directory Server

Fix LDAP error 49 in 389 Directory Server by checking the password, bind DN, account state, access logs, application secrets, and replication credentials.

Deepak Prasad12 min read
system-administration

389 Directory Server Password Storage Schemes Explained

Understand how 389 Directory Server hashes LDAP passwords, inspect userPassword prefixes, change the global storage scheme, migrate legacy hashes after successful binds, and test application compatibility.

Deepak Prasad17 min read
linux

Analyze Linux Performance with perf and debuginfod

Use perf stat, perf record, and perf report on Linux to find CPU bottlenecks, collect call graphs, and resolve symbols with debuginfod on Rocky Linux, RHEL, Debian, Ubuntu, and other distributions.

Deepak Prasad20 min read
system-administration

Fix LDAP Working but LDAPS Failing in 389 Directory Server

Fix LDAP works but LDAPS fails in 389 Directory Server by checking port 636, the TLS handshake, client CA trust, hostname matching, server certificates, and access logs.

Deepak Prasad15 min read
linux

Install LEMP Stack on Rocky Linux, AlmaLinux, and RHEL

Install Nginx, MariaDB, PHP, and PHP-FPM on Rocky Linux, RHEL, AlmaLinux, or Oracle Linux, then verify the complete LEMP stack with a PHP database test.

Omer Cakmak11 min read
system-administration

Fix LDAP Object Class Violation Error 65 in 389 Directory Server

Fix LDAP error 65 in 389 Directory Server by reading the additional info line, then checking object class MUST and MAY rules, entry state, custom schema, plug-ins, and replica schema parity.

Deepak Prasad13 min read
linux

Install LAMP Stack on Rocky Linux, AlmaLinux, and RHEL

Install Apache, MariaDB, PHP, and PHP-FPM on Rocky Linux, RHEL, AlmaLinux, or Oracle Linux, then verify the complete LAMP stack with a PHP database test.

Deepak Prasad12 min read
linux

Install PHP 8.4 on Rocky Linux, RHEL, AlmaLinux, and Oracle Linux

Install PHP 8.4 from native AppStream php8.4-* packages on RHEL 10.2+, Rocky Linux, AlmaLinux, Oracle Linux, or CentOS Stream 10 when dnf info php8.4 confirms availability, then configure php-fpm and verify Apache or …

Deepak Prasad11 min read
linux

Upgrade PHP 8.3 to 8.4 on Rocky Linux, RHEL, AlmaLinux, and Oracle Linux

Replace native PHP 8.3 packages with php8.4-* RPMs on EL 10, back up configuration, check application compatibility, migrate PHP-FPM settings, verify web applications, troubleshoot failures, and roll back if required.

Deepak Prasad15 min read
system-administration

Fix LDAP Insufficient Access Error 50 in 389 Directory Server

Fix LDAP error 50 in 389 Directory Server by checking ACIs on the target and its parents, group membership, deny rules, Get Effective Rights, and access logs.

Deepak Prasad12 min read
linux

Configure BIND DNS Server on RHEL, Rocky Linux, and AlmaLinux

Install and configure BIND on RHEL, Rocky Linux, or AlmaLinux with forward and reverse zones, controlled recursion, NetworkManager clients, and dig testing.

Deepak Prasad15 min read
linux

Install PostgreSQL 18 on RHEL, Rocky Linux, and AlmaLinux

Install PostgreSQL 18 on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, or CentOS Stream using native packages or PGDG, then initialize and verify the server.

Deepak Prasad21 min read
system-administration

Configure Apache LDAP Authentication with 389 Directory Server

Configure Apache LDAP authentication with 389 Directory Server using mod_authnz_ldap, StartTLS, group authorization, and troubleshooting.

Deepak Prasad17 min read
system-administration

Store SSH Public Keys in 389 Directory Server with SSSD

Store SSH public keys in 389 Directory Server, configure SSSD and OpenSSH key lookup, and test key addition, rotation, and revocation.

Deepak Prasad13 min read
system-administration

Configure Linux LDAP Authentication with 389 Directory Server and SSSD

Configure Linux LDAP authentication with 389 Directory Server and SSSD on Rocky Linux 10: POSIX users, TLS, authselect, identity lookup, login, and offline caching.

Deepak Prasad15 min read
linux

Migrate Network Scripts and ifcfg Files to NetworkManager

Migrate legacy network-scripts and ifcfg profiles to NetworkManager keyfiles on RHEL, Rocky Linux, AlmaLinux, Oracle Linux, and CentOS Stream before upgrading to a release that no longer reads ifcfg files.

Deepak Prasad15 min read
system-administration

Troubleshoot 389 Directory Server Replication Errors and Synchronization Failures

Troubleshoot 389 Directory Server replication errors: capture a baseline, diagnose connectivity TLS and bind failures, enable debug logging, and choose retry repair or reinitialize.

Deepak Prasad17 min read
system-administration

Monitor 389 Directory Server Replication and Lag with dsconf

Monitor 389 Directory Server replication with dsconf: check agreement status, topology, CSNs and lag, analyze access logs, and configure alerts.

Deepak Prasad20 min read
system-administration

Remove Stale Replica IDs in 389 Directory Server with CleanAllRUV

Remove stale supplier replica IDs from the 389 Directory Server RUV with dsconf repl-tasks cleanallruv, monitor tasks, abort safely, and understand force-cleaning risks.

Deepak Prasad12 min read
linux

Post-Quantum Cryptography in Linux: ML-KEM, ML-DSA, TLS, and SSH

Learn how to check ML-KEM support in TLS, create ML-DSA signatures, and verify post-quantum SSH key exchange on Linux, with tested Rocky Linux examples.

Deepak Prasad22 min read
system-administration

Manage, Trim, and Encrypt the 389 DS Replication Changelog

Manage the 389 Directory Server replication changelog with dsconf set-changelog, trim retention, compact-db, export and import, and encryption while preserving recoverability.

Deepak Prasad15 min read
linux

Configure DNS over TLS with NetworkManager on RHEL 10

Enable DNS over TLS on RHEL 10.1 or later with NetworkManager, dnsconfd, and unbound, then verify upstream DNS uses encrypted TCP port 853.

Deepak Prasad13 min read
system-administration

Configure Fractional Replication in 389 Directory Server

Configure fractional replication in 389 Directory Server with dsconf. Exclude attributes from incremental and total updates and prevent empty updates.

Deepak Prasad15 min read
system-administration

Safely Remove a Server from a 389 DS Replication Topology

Remove a consumer, hub, or supplier from a 389 Directory Server replication topology without losing updates, isolating replicas, or leaving stale RUV metadata.

Deepak Prasad17 min read
system-administration

Promote or Demote a 389 Directory Server Replica

Promote or demote a 389 Directory Server replica with dsconf, then verify replica IDs, agreements, replication health, client routing, and rollback.

Deepak Prasad19 min read
system-administration

Initialize and Reinitialize a 389 Directory Server Replica

Initialize or reinitialize a 389 Directory Server replica online or offline, monitor status, tune timeouts, and avoid overwriting destination data.

Deepak Prasad14 min read
system-administration

Secure 389 DS Replication with Certificate-Based Authentication

Replace password-based 389 Directory Server replication with certificate-based authentication using certmap.conf, a replication bind group, temporary bootstrap credentials, and SSLCLIENTAUTH agreements over LDAPS.

Deepak Prasad29 min read
system-administration

Manage 389 Directory Server Replication Agreements with dsconf

Manage 389 Directory Server replication agreements with dsconf repl-agmt to create, inspect, modify, schedule, verify, and delete individual agreements.

Deepak Prasad21 min read
system-administration

Configure Cascading Replication in 389 Directory Server

Configure a 389 Directory Server supplier, read-only hub, and consumer with dsconf, then initialize both replication hops and verify end-to-end cascading replication.

Deepak Prasad20 min read