Guides tagged “linux”
Step-by-step MdmHost guides about linux, sorted A-Z.
280 guides · page 13 of 14
Switch Apache MPM to event in cPanel
Compare prefork, worker and event, switch Apache to the event MPM in EasyApache 4, move sites to PHP-FPM first and tune MaxRequestWorkers for your VPS.
Sync VPS backups to Backblaze B2 or Google Drive with rclone
Install rclone on a Linux VPS, connect a Backblaze B2 or Google Drive remote, sync your backup folder off-site on a schedule and confirm the copy with rclone check.
The find command: search for files in Linux
Search your Linux server for files by name, type, size, age, owner or permissions with find, act on the results with -exec or -delete, and skip folders you do not need.
The Linux directory structure explained (/etc, /var, /home and more)
A plain tour of the Linux directory tree on a VPS, showing what /etc, /var, /home, /root, /opt, /usr, /tmp, /boot and /srv hold and where configs, logs and websites live.
Traefik in Docker: automatic SSL and routing by container labels
Run Traefik as a Docker container, get free Let's Encrypt certificates automatically, and route traffic to your apps by adding a few labels to each container.
Transfer files to your Linux VPS with SCP, SFTP, WinSCP or FileZilla
Move files to and from your server securely: scp and rsync in the terminal, interactive sftp, or the WinSCP and FileZilla apps over SFTP with your SSH key.
Troubleshoot MTU problems: hanging pages, stuck SSH and slow VPNs
Recognise MTU and fragmentation problems, find the right MTU with ping, and fix it on Linux, Windows, WireGuard and Docker networks.
Troubleshooting Apache MPM switching: worker vs event vs prefork
Apache loads only one MPM at a time, and switching between prefork, worker and event fails when mod_php, duplicate LoadModule lines or panel rules get in the way. This guide shows how to check, switch and fix it.
Troubleshooting container networking issues: bridge vs host mode in Docker
Bridge and host mode move packets in different ways, so the same symptom usually has a different cause. Work through host, container and DNS checks to find the real fault.
Tune Apache MPM settings to stop memory exhaustion
Size Apache's MaxRequestWorkers to the RAM you really have, choose between prefork and event, set ServerLimit and KeepAlive sensibly and spot the MaxRequestWorkers warning in your logs.
Tune Apache settings in WHM Global Configuration
Adjust KeepAlive, Timeout, ServerLimit and MaxRequestWorkers in WHM, and add custom Apache directives with the Include Editor so they survive rebuilds.
Tune Redis maxmemory and Eviction Policies on a Linux VPS
Set a Redis memory ceiling, pick the right eviction policy and understand how key expiry behaves so your cache stops growing until the server runs out of RAM.
Tunnel Remote Desktop port 3389 through SSH
Carry Remote Desktop inside an encrypted SSH connection to your Windows VPS, connect mstsc to localhost, and only then tighten public access to port 3389.
Turn on automatic security updates (unattended-upgrades and dnf-automatic)
Keep your server patched without remembering to log in: set up unattended-upgrades or dnf-automatic, test it, and choose how kernel reboots happen.
Ubuntu vs Debian for a VPS: which should you choose?
Compare Ubuntu and Debian for your VPS: release cycles, support length, package freshness, stability, control panel support and which fits your project.
UFW vs firewalld vs nftables vs iptables: which Linux firewall to use
UFW, firewalld, nftables and iptables are not four rival firewalls. Learn how they fit together, what each distro uses by default and how to pick one tool for your VPS.
umask: control default permissions for new files
Understand how umask decides the permissions of every new file and folder, choose between 022 and 002, and set it per user, per systemd service and for SFTP uploads.
Update Docker containers safely (manually or with Watchtower)
How to update Docker containers on a VPS without surprises. Pull and recreate with Compose, pin tags, roll back a bad update, and decide whether automatic updates with Watchtower suit your server.
Update self-hosted containers safely with Watchtower
Watchtower pulls new images and restarts your containers on a schedule. This guide covers monitor-only runs, allowlists, notifications and settings that keep updates reversible.
Upgrade a Virtualizor VPS and grow the disk inside Linux
Upgrade your VPS plan for more RAM, CPU or disk, restart so changes apply, then extend the partition and file system inside Linux with growpart, resize2fs or xfs_growfs.
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.
