hardening

How to Set Up Two-Factor Authentication (2FA) for SSH on Ubuntu 24.04 — step-by-step Linux tutorial on Progressive Robot

How to Harden SSH on Ubuntu 24.04

SSH is the primary remote access method for Linux servers and is a common target for brute-force attacks. This guide walks through SSH hardening best practices on Ubuntu 24.04 LTS to significantly reduce your attack surface. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server SSH key-based authentication already configured A user […]

Read more
How to Set Up Two-Factor Authentication (2FA) for SSH on Ubuntu 24.04 — step-by-step Linux tutorial on Progressive Robot

How to Manage AppArmor Profiles on Ubuntu 24.04

AppArmor is a Linux Security Module (LSM) built into the Ubuntu kernel that restricts what programs can do. Ubuntu 24.04 LTS ships with AppArmor enabled by default and includes profiles for many common applications. This guide explains how to view, enable, and create AppArmor profiles. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 […]

Read more
How to Set Up Two-Factor Authentication (2FA) for SSH on Ubuntu 26.04 — step-by-step Linux tutorial on Progressive Robot

How to Harden SSH on Ubuntu 26.04

SSH is the primary remote administration protocol for Linux servers. A default SSH configuration leaves many attack vectors open: root login, password authentication, and broad listening options. This guide hardens SSH on Ubuntu 26.04 LTS using key-based authentication, restricted access, and fail2ban. Tested and valid on: Ubuntu 26.04 LTS Prerequisites Ubuntu 26.04 LTS SSH access […]

Read more
How to Set Up Two-Factor Authentication (2FA) for SSH on Ubuntu 26.04 — step-by-step Linux tutorial on Progressive Robot

How to Manage AppArmor Profiles on Ubuntu 26.04

AppArmor (Application Armor) is a Linux kernel security module that restricts program capabilities using per-program profiles. It is enabled by default on Ubuntu and provides Mandatory Access Control (MAC) to contain the blast radius of exploited applications. This guide manages AppArmor profiles on Ubuntu 26.04 LTS. Tested and valid on: Ubuntu 26.04 LTS Prerequisites Ubuntu […]

Read more
How to Set Up Two-Factor Authentication (2FA) for SSH on Ubuntu 26.04 — step-by-step Linux tutorial on Progressive Robot

How to Audit Linux Security with Lynis on Ubuntu 26.04

Lynis is an open-source security auditing tool for Linux systems. It performs in-depth security scans of the system configuration, checks for vulnerabilities, and provides detailed hardening recommendations with a scored report. This guide runs a Lynis audit on Ubuntu 26.04 LTS. Tested and valid on: Ubuntu 26.04 LTS Prerequisites Ubuntu 26.04 LTS A user with […]

Read more
How to Install and Configure Xdebug 3 for PHP 8.3 on Ubuntu 24.04 — step-by-step Linux tutorial on Progressive Robot

How to Harden PHP 8.3 on Ubuntu 24.04

Default PHP settings expose version information, allow dangerous functions, and leave logging disabled. This guide hardens PHP 8.3 on Ubuntu 24.04 LTS to protect production web applications. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server with PHP 8.3 installed A user with sudo privileges Step 1 – Disable Version Exposure Open […]

Read more
How to Configure PHP-FPM with Nginx on Ubuntu 26.04 — step-by-step Linux tutorial on Progressive Robot

How to Harden PHP 8.4 on Ubuntu 26.04

A default PHP installation exposes version information, allows dangerous functions, and may be configured permissively for development. Hardening PHP 8.4 reduces the attack surface, limits information disclosure, and protects against common PHP-specific vulnerabilities. This guide hardens PHP 8.4 on Ubuntu 26.04 LTS. Tested and valid on: Ubuntu 26.04 LTS Prerequisites Ubuntu 26.04 LTS with PHP […]

Read more
How to Secure MySQL 9 on Ubuntu 26.04 — step-by-step Linux tutorial on Progressive Robot

How to Secure MySQL 9 on Ubuntu 26.04

A default MySQL installation exposes several security risks — anonymous users, a test database, and root remote login. Beyond the initial security script, additional hardening significantly reduces your attack surface. This guide walks through a thorough MySQL 9 security hardening process on Ubuntu 26.04 LTS. Tested and valid on: Ubuntu 26.04 LTS Prerequisites Ubuntu 26.04 […]

Read more
How to Secure MySQL 8.0 on Ubuntu 24.04 — step-by-step Linux tutorial on Progressive Robot

How to Secure MySQL 8.0 on Ubuntu 24.04

A default MySQL 8.0 installation has several security weaknesses that should be addressed before going to production. This guide walks through MySQL hardening best practices on Ubuntu 24.04 LTS. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server with MySQL 8.0 installed A user with sudo privileges Step 1 – Run mysql_secure_installation […]

Read more
CHAT