Linux VPS
SSH, packages, services and everyday Linux administration.
265 guides · page 4 of 14
Delete files older than X days automatically
Clean up old backups, logs and temp files on a schedule. Find files older than a set number of days, test with a dry run, delete them and automate it with cron, a systemd timer or tmpfiles.d.
Deploy a Next.js app on a Linux VPS (next start or standalone)
Build and run a Next.js app in production on a Linux VPS with next start or the smaller standalone output, keep it alive with PM2 and serve it through Nginx.
Deploy a Node.js app with PM2 behind Nginx
Install a Node.js LTS release, keep your app running with PM2 across crashes and reboots, and serve it through Nginx with HTTPS.
Deploy a Python app with Gunicorn, systemd and Nginx
Set up a virtual environment, run your Flask or Django app with Gunicorn as a systemd service, and serve it through Nginx with HTTPS.
Desktop hypervisors compared: VirtualBox vs VMware Workstation vs Hyper-V
Compare desktop virtualization tools for Windows, macOS and Linux: VirtualBox, VMware Workstation and Fusion, Hyper-V, Parallels and UTM, on cost, performance, features and compatibility.
Edge computing explained: CDNs, edge functions and latency
What edge computing means, how it extends CDNs with code running near users, typical use cases like caching, auth and personalisation, and its limits compared with central servers.
Edit files on a Linux server with nano and vim
Open, edit, save and quit configuration files on your Linux VPS with nano for simple edits and vim for power users, with the key shortcuts you actually need.
Edit the sudoers file safely with visudo
Change who can use sudo without breaking it. Learn the sudoers syntax, use visudo and drop-in files in /etc/sudoers.d, and grant full or limited admin rights.
Emulation vs virtualization: run ARM VMs and binaries on x86 with QEMU
Understand the difference between emulation and virtualization, run an ARM64 VM on an x86 host with QEMU TCG, run foreign binaries with qemu-user and binfmt, and build multi-arch Docker images.
Enable HTTP/2 in Apache with mod_http2
Turn on HTTP/2 in Apache 2.4: switch to the event MPM and PHP-FPM, enable mod_http2, set the Protocols directive, check TLS requirements and verify that browsers negotiate h2.
Encrypted, deduplicated VPS backups with restic
Back up a Linux VPS with restic to S3-compatible storage or SFTP: initialise an encrypted repository, back up files and database dumps, apply retention policies, verify and restore.
Essential Linux commands cheat sheet for VPS owners
A practical cheat sheet of the Linux commands you use most on a VPS: files, permissions, processes, services, disk, network, packages and logs, grouped by task.
Find and stop processes on Linux: ps, kill, pkill and signals
List and find Linux processes with ps and pgrep, stop them gracefully or forcefully with kill and pkill, understand signals and deal with zombie or stuck processes.
Find recently changed files in Linux
List files changed in the last minutes, hours or days with find -mmin and -mtime, compare against a reference file, and read atime, mtime and ctime with stat.
Find the largest files and folders on a Linux server
Track down what is filling your Linux VPS disk with du, sort, find -size and ncdu, staying on one filesystem so the search is fast and the results make sense.
Fine-grained permissions with ACLs (setfacl and getfacl)
Give extra users or groups access to a file or folder without changing its owner, using POSIX ACLs with setfacl and getfacl, including default ACLs for new files.
First steps on a new Linux VPS: secure and set it up
The first things to do on a fresh Linux VPS: log in, update packages, create a sudo user, set up SSH keys, enable a firewall, set hostname and timezone, add swap and plan backups.
Fix "You are in emergency mode" on a Linux VPS
Get a Linux VPS out of systemd emergency mode: read journalctl to find the failed mount, fix a bad /etc/fstab entry or UUID, repair the filesystem with fsck and boot normally.
Fix clock drift and time sync problems in KVM virtual machines
Why VM clocks drift, how kvm-clock and the Hyper-V clock help, configuring chrony or systemd-timesyncd in guests, fixing time after suspend or migration, and Windows guest time settings.
Fix grub rescue> and error: unknown filesystem on a Linux VPS
Get a Linux VPS out of the grub rescue prompt: find the boot partition, boot manually with set root and insmod normal, then reinstall GRUB permanently from the system or a rescue ISO.
Other topics
- Getting startedYour first hour with a new server: access, logins and basics.83 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.67 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.53 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.49 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.67 guides
- DomainsRegistering, transferring and managing domains and nameservers.27 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.41 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.35 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.24 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.24 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.28 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.44 guides
- PleskWebsites, email, databases and settings in the Plesk panel.53 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.41 guides
- WHMCSBilling, automation, products and client management with WHMCS.52 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.107 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.138 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.72 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.83 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.80 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.127 guides
- Linux VPSSSH, packages, services and everyday Linux administration.265 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.73 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.82 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.
