Linux VPS
SSH, packages, services and everyday Linux administration.
265 guides · page 7 of 14
Keep server time accurate with NTP and chrony
Why accurate time matters on servers (TLS, logs, 2FA, DNSSEC, cron), how to check clock sync with timedatectl, configure chrony or systemd-timesyncd and set the right timezone.
Keep-alive and timeouts: tune Nginx, Apache and PHP-FPM together
What HTTP keep-alive does, every timeout between the browser and PHP, how to align them so you avoid 502/504 errors and slowloris-style attacks, and safe starting values.
KVM CPU models explained: host-passthrough, host-model and named models
Choose the right CPU model for KVM VMs: host-passthrough for maximum features, host-model for balance, named or x86-64-v levels for migration across mixed hardware, and how to check what a guest sees.
KVM disk performance: cache modes, io modes and iothreads
Tune KVM virtual disk performance: compare cache=none, writeback and writethrough, io=native, threads and io_uring, add iothreads, enable discard, and measure results with fio.
KVM live migration with virsh: move running VMs between hosts
Move a running KVM virtual machine to another host with virsh migrate: shared vs local storage, CPU compatibility, network and SSH requirements, and how to verify and troubleshoot.
KVM memory management: ballooning, KSM and huge pages
How KVM manages VM memory: the virtio balloon driver, Kernel Samepage Merging (KSM), transparent and static huge pages, and how to tune them for density or performance.
KVM network performance: vhost-net, multiqueue and MTU tuning
Speed up KVM VM networking: confirm virtio-net and vhost-net, enable multiqueue for busy VMs, tune MTU and offloads, and measure throughput and latency with iperf3.
KVM snapshots with virsh: create, revert and delete
Create, list, revert and delete KVM VM snapshots with virsh, understand internal vs external snapshots, add the guest agent for consistency, and why snapshots are not backups.
KVM vs OpenVZ vs LXC: which VPS virtualization type to choose
Compare KVM, OpenVZ and LXC VPS virtualization: kernel access, resource guarantees, Docker support, performance and which type suits websites, apps, VPNs or Windows.
libvirt storage pools explained: dir, logical, netfs, ZFS and RBD
An overview of libvirt storage pool types for KVM: directory, LVM logical, NFS netfs, iSCSI, ZFS and Ceph RBD, with commands to define, list and manage pools and volumes.
Linux environment variables and PATH explained
Set and read environment variables in the Linux shell, fix 'command not found' by editing PATH, and know where to put variables for users, services, cron and apps.
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 permissions explained: chmod, chown and umask
Read Linux permission strings, change them with chmod and chown, set safe permissions for websites and understand umask, setgid and sticky bits.
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.
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.
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.
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.
