Guides tagged “linux”
Step-by-step MdmHost guides about linux, sorted A-Z.
280 guides · page 8 of 14
Linux Firewall: Using UFW to Block Specific Source IP Ranges Automatically
Block a source IP range in UFW with one command, then keep a blocklist file and a cron job that re-applies it so new ranges are dropped without manual work.
Linux Hardening: Securing System Binaries with SELinux or AppArmor
Put SELinux or AppArmor into enforcing mode and write a policy that limits what a system binary can do, even if an attacker takes it over.
Linux Incident Response: Isolate a Compromised Server Without Downtime
A step-by-step Linux incident response workflow to isolate a compromised VPS at the network layer, capture volatile evidence and stop lateral movement without powering the server off.
Linux Incident Response: Log Preservation and Analysis on a VPS
Capture auth.log, syslog and the systemd journal from a Linux VPS during a security incident, hash the copies so they cannot be disputed, and read them to rebuild an attacker timeline.
Linux kernel updates: when and how to reboot your VPS
Learn how kernel updates work on Ubuntu, Debian, AlmaLinux and Rocky Linux, how to tell if a reboot is needed, and how to reboot a VPS safely with minimal downtime.
Linux package managers explained: apt, dnf and yum
Install, update, search and remove software on Ubuntu, Debian, AlmaLinux and Rocky Linux with apt, dnf and yum, with side-by-side command examples.
Linux release lifecycles: how long Ubuntu, Debian and AlmaLinux get updates
Understand how long Ubuntu LTS, Debian stable, AlmaLinux and Rocky Linux releases receive security updates, how ESM and Debian LTS extend support, and how to check whether your server's OS is end of life.
Linux Security: Hardening the sudoers File for Least Privilege
Restrict sudo to the exact commands each administrator needs. Write safe sudoers drop-in files, validate them with visudo and keep an audit trail of privileged commands.
Linux Security: Using aide for File Integrity Monitoring on VPS
AIDE builds a checksum database of your system files and reports anything that changed. This guide installs it, creates a baseline, tunes the rules and schedules daily checks on a Linux VPS.
Linux Update Strategy: Testing Security Patches Before Production
Build a Linux update strategy that tests security patches on a staging server first, then promotes them to production with a canary rollout and a rollback path.
Linux VPS vs Windows VPS: how to choose
Choose between a Linux VPS and a Windows VPS based on the software you run, how you connect, the skills you have and how much of the server's resources the OS uses.
List users and groups on a Linux server
See every account on your Linux VPS, tell real people apart from system accounts by UID, and list groups and their members with getent, compgen and id.
Load balance backends with Nginx upstream
Spread traffic across several app instances or servers with an Nginx upstream block, choose round robin, least_conn or ip_hash, and add passive health checks and keepalive.
Lock down SSH on a Linux VPS: a complete checklist
A step-by-step SSH hardening checklist for Linux VPS and WHM servers: keys only, no root password login, firewall limits by IP, brute-force bans and safe testing.
Lock, unlock or disable a Linux user account
Stop a Linux user from logging in without deleting them. Lock the password, expire the account, set a nologin shell, check the status and unlock it again later.
LVM basics: grow a logical volume on a Linux VPS
Understand LVM physical volumes, volume groups and logical volumes, then extend a logical volume and its filesystem online after your VPS disk is enlarged.
Make files immutable with chattr and lsattr
Protect important files from being changed or deleted, even by root, with the chattr immutable and append-only flags, and learn to spot and remove them with lsattr.
Malware Scanning on Linux: Configuring ClamAV for Web Root Protection
Install ClamAV on a Linux VPS, tune it for large web directories, scan your web root for malware and schedule daily scans with a systemd timer.
Malware Scanning on Linux: Rootkit Detection and System Integrity Checks
Install rkhunter, chkrootkit and AIDE on your Linux VPS to detect hidden rootkits, trojaned binaries and unauthorised file changes before they spread.
Manage Linux services with systemctl and journalctl
Start, stop, restart and enable services with systemctl, and read service logs with journalctl to find out why something failed on your Linux VPS.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.69 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.37 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.49 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.40 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.37 guides
- DomainsRegistering, transferring and managing domains and nameservers.20 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.19 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.30 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.23 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.23 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.7 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.30 guides
- PleskWebsites, email, databases and settings in the Plesk panel.52 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.40 guides
- WHMCSBilling, automation, products and client management with WHMCS.51 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.106 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.115 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.34 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.52 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.64 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.68 guides
- Linux VPSSSH, packages, services and everyday Linux administration.70 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.58 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.58 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
