Guides tagged “linux”
Step-by-step MdmHost guides about linux, sorted A-Z.
280 guides · page 7 of 14
Implementing advanced rate limiting in Nginx using limit_req
Use Nginx limit_req_zone and limit_req to cap requests per second, allow bursts, key limits by IP or API token and return clean 429 responses instead of letting abuse through.
Implementing secure file transfer with SFTP over SSH keys
Generate an SSH key pair, install the public key on your Linux VPS, and use it to move files with SFTP — no passwords, and ready for scripts and cron jobs.
Incident Response: Preserving Forensic Evidence from a Compromised Linux Server
Capture memory, network state and logs from a compromised Linux VPS before anything changes, then image the disk and record a chain of custody.
Install and secure MariaDB or MySQL, and allow remote access safely
Install MariaDB (or MySQL), lock it down, create a least-privilege app user, and connect remotely the safe way: an SSH tunnel or a single allowed IP.
Install Apache (httpd) on AlmaLinux and Rocky Linux
Install the Apache web server on AlmaLinux or Rocky Linux 8 and 9 with dnf, open HTTP and HTTPS in firewalld, learn the conf.d layout and set SELinux labels for custom web roots.
Install Docker and Docker Compose on a Linux VPS
Install Docker Engine and the Compose plugin from Docker's own repository, run a first Compose project, cap log size and avoid exposing ports by accident.
Install multiple PHP versions on Ubuntu and Debian
Add Ondřej Surý's PHP repository, install PHP 8.2, 8.3 and 8.4 side by side with PHP-FPM, and switch the command-line PHP version with update-alternatives.
Install Nginx and host your first website
Install Nginx, open ports 80 and 443, create a server block for your domain, and learn the test-then-reload routine that keeps a site online.
Install Node.js and npm on a Linux VPS (nvm or NodeSource)
Install a current LTS version of Node.js and npm on Ubuntu, Debian, AlmaLinux or Rocky Linux using nvm or the NodeSource repository, and verify it works.
Install PHP 8.x on AlmaLinux and Rocky Linux with Remi
Enable EPEL and the Remi repository on AlmaLinux or Rocky Linux 8 and 9, choose a PHP module stream, install PHP-FPM with common extensions, and run extra PHP versions side by side.
Install PHP extensions on cPanel (EasyApache 4 and PECL)
Add PHP extensions such as intl, imagick or redis on a cPanel server with EasyApache 4 packages or the WHM PECL installer, then confirm them with php -m.
Install PostgreSQL and create your first database
Install PostgreSQL, create a role and database for your app, enable password logins, connect remotely without exposing the port, and take backups with pg_dump.
Install WordPress on a LEMP stack (Nginx, MariaDB, PHP)
Build a LEMP stack on Ubuntu or Debian, create the database, configure wp-config.php and Nginx for PHP-FPM, then finish the WordPress installer over HTTPS.
iptables basics: list, allow, drop and save rules
Learn how iptables chains and rule order work, then build a small ruleset that allows SSH and web traffic, drops everything else and can be edited by line number.
Limit Docker container CPU and memory
Stop one container from slowing down your whole VPS. Set memory and CPU limits with docker run and Docker Compose, watch usage with docker stats and avoid out-of-memory kills.
Linux command line basics for your first VPS
Learn how the Linux prompt works, how commands, options and arguments fit together, and the first commands you need to find your way around a new VPS.
Linux file permissions explained (rwx, owner, group, others)
Learn to read ls -l output, what read, write and execute mean for files and folders, how owner, group and others work, and which numeric values like 644 and 755 to use.
Linux file system permissions: ACL vs standard permissions
Standard Unix permissions give a file one owner, one group and one set of bits for everyone else. POSIX ACLs add per-user and per-group rules on top, and this guide shows you how to read, set and debug them.
Linux Firewall: Using iptables to Implement Connection Tracking Limits
Cap new and simultaneous connections on a Linux VPS with iptables conntrack, limit, connlimit and hashlimit rules, and size the conntrack table so it does not fill up.
Linux Firewall: Using nftables to Drop Malformed Packets and Attack Vectors
Build nftables chains that drop malformed packets, invalid conntrack states and common scan patterns before they reach your services, then verify the counters.
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.
