Guides tagged “linux”
Step-by-step MdmHost guides about linux, sorted A-Z.
280 guides · page 9 of 14
Manage multiple PHP versions on Ubuntu with PHP-FPM
Install several PHP-FPM versions on one Ubuntu server, set the CLI default, and point each Nginx site at the PHP version it needs.
Manage secrets and environment variables in Docker Compose
Keep API keys and database passwords out of your compose file using.env files, environment keys and Docker secrets, then confirm containers read them correctly.
Manage several SSH keys for different servers
Keep separate SSH keys for different servers, clients or devices, tell SSH which key to use per host with IdentityFile and IdentitiesOnly, name keys clearly, rotate them and remove old keys from authorized_keys.
Manage your Linux VPS from an Android phone or iPhone
Connect to your Linux VPS over SSH from Android or iPhone with apps such as Termius, JuiceSSH and Blink Shell, use SSH keys on mobile, find special keys like Ctrl and Tab, and make safe emergency fixes.
Migrate CentOS 7 to AlmaLinux with ELevate
Move an end-of-life CentOS 7 server to AlmaLinux 8 in place with the ELevate project and leapp: preparation, the pre-upgrade report, the upgrade and checks.
Monitor CPU, memory, disk and logs on a Linux server
A practical toolkit for checking load, CPU, memory, disk, network and logs on a Linux VPS, with what each number means and when it is a problem.
Monitor Docker containers with Prometheus, cAdvisor and Grafana
Run cAdvisor, Prometheus and Grafana in Docker Compose on a Linux VPS and get per-container CPU, memory, network and disk graphs in one dashboard.
Monitor processes with top and htop on Linux
Read top and htop on your Linux VPS: load average, CPU, memory and swap, sort by usage, find the process slowing the server and stop it safely.
Monitor your VPS with node_exporter and Grafana dashboards
Install node_exporter on a Linux VPS, scrape it with Prometheus and build a Grafana dashboard so you can see CPU, memory, disk and network history instead of guessing.
Mount a new disk on a Linux VPS and keep it after reboot
Partition, format and mount an extra disk on your Linux VPS, then add it to /etc/fstab by UUID so it mounts automatically after every reboot.
Move Docker data root to another disk or path
Move Docker's data from /var/lib/docker to a bigger disk. Stop the daemon, copy the data, set data-root in daemon.json, handle the containerd image store and verify images and volumes survived.
Navigate folders in Linux with cd, ls and pwd
Move around the Linux filesystem with confidence using cd, ls and pwd, understand absolute and relative paths, show hidden files and sort listings by size or date.
Nginx 301 redirects and rewrite rules explained
Learn when to use return and when to use rewrite in Nginx, then redirect single pages, whole folders and old domains, and convert common.htaccess rules.
Nginx Proxy Manager in Docker: HTTPS for many self-hosted apps
Run Nginx Proxy Manager in Docker, add proxy hosts for each app and issue free Let's Encrypt certificates from a single web UI.
Nginx vs Apache vs OpenLiteSpeed for WordPress on a VPS
A practical comparison of Nginx, Apache and OpenLiteSpeed for WordPress on a VPS, covering.htaccess support, caching, memory use and ease of setup, with a clear pick for each situation.
Open a shell inside a running Docker container
Use docker exec to get a bash or sh shell inside a running container, run one-off commands, act as root or another user, and copy files in and out with docker cp.
Password protect a site or folder with Nginx basic auth
Add a username and password prompt to a whole site, a staging copy or an admin folder with Nginx basic auth, and let trusted IPs through without a password.
PM2 process manager: keep Node.js apps running on a VPS
Use PM2 to run Node.js apps in the background, restart them on crash, start them at boot, run cluster mode and manage logs with an ecosystem file.
Postfix and Dovecot mail server setup on a Linux VPS
Install Postfix and Dovecot on a Linux VPS, configure authenticated SMTP submission and IMAP over TLS, then verify that mail is delivered into a Maildir and can be read back.
Proactive Patch Management: Automating Security Updates on Linux VPS
Set up unattended-upgrades and dnf-automatic so security patches install themselves, then control reboots, package holds and logging so nothing breaks.
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.
