Guides tagged “ubuntu”
Step-by-step MdmHost guides about ubuntu, sorted A-Z.
27 guides · page 1 of 2
Add a new user on Linux (adduser vs useradd)
Create a new user account on your Linux VPS with adduser on Ubuntu and Debian or useradd on AlmaLinux and Rocky Linux, with a password, home folder and the right shell.
cPanel & WHM system requirements for a VPS
What cPanel & WHM needs from a VPS: supported operating systems, RAM, disk, CPU, a clean install, a static IP and an FQDN hostname, plus how to size a VPS.
Create a sudo user on Ubuntu, Debian, AlmaLinux and Rocky Linux
Add a personal admin account with sudo rights, give it your SSH key, and test it properly before you stop logging in as root.
Customise the login message (MOTD) on Ubuntu and Debian
Change the message you see when you log in over SSH. Edit /etc/motd, trim or add update-motd.d scripts, switch off Ubuntu news and show disk and load at a glance.
Delete, insert and reorder UFW rules safely
List UFW rules by number, delete them by number or by rule text, insert a rule at a set position and reset UFW without cutting off your own SSH session.
How to install aaPanel on Ubuntu or Debian
Run the aaPanel install script on Ubuntu or Debian, open the panel port in your firewall, and finish the browser setup so you can host sites from the panel.
How to install cPanel & WHM on Ubuntu 24.04 LTS
Install cPanel & WHM on a clean Ubuntu 24.04 LTS VPS. Check support, set an FQDN hostname, run the installer, follow the log and log in to WHM.
How to install CyberPanel on Ubuntu or AlmaLinux
Run the CyberPanel installer on a fresh Ubuntu or AlmaLinux VPS, choose OpenLiteSpeed or LiteSpeed Enterprise, and log in to the panel on port 8090.
How to install MongoDB on Ubuntu and secure it
Install MongoDB on Ubuntu from the official repository, enable authentication, create an admin user, and restrict access with bindIp and UFW.
How to install MySQL 8.4 on Ubuntu and Debian
Install MySQL on Ubuntu or Debian from the distribution packages or the official MySQL APT repository, secure it and make your first connection.
How to install OpenLiteSpeed web server on Ubuntu
Install OpenLiteSpeed on Ubuntu or Debian from the official LiteSpeed repository, add LSPHP, set the WebAdmin password, and open ports 8088 and 7080 without exposing the admin panel to everyone.
How to install Plesk on a Linux VPS (AlmaLinux and Ubuntu)
Install Plesk on a fresh Linux VPS with the official one-click installer, apply your licence key and log in to the panel for the first time on port 8443.
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 multiple PHP versions on Ubuntu with the ondrej PPA
Add the ondrej/php PPA on Ubuntu, install PHP 7.4 to 8.4 side by side with FPM, choose the CLI default, assign versions per site in Apache or Nginx, and keep them updated.
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.
Linux release lifecycles: how long Ubuntu, Debian and AlmaLinux get updates
Understand how long Ubuntu LTS, Debian stable, AlmaLinux and Rocky Linux releases receive security updates, how ESM and Debian LTS extend support, and how to check whether your server's OS is end of life.
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.
Open ports with UFW: single ports, ranges and trusted IPs
Open TCP and UDP ports in UFW, allow port ranges, limit access to one IP or subnet, label rules with comments and confirm everything with ufw status numbered.
Run Docker in rootless mode on Ubuntu
Set up Docker rootless mode on Ubuntu so the daemon and containers run as a normal user. Covers the setup tool, the user systemd service, ports below 1024, storage and the trade-offs.
Set up a GitLab Runner on a VPS for your own CI/CD
Install GitLab Runner on your Linux VPS, register it against a GitLab project with an authentication token, and run a first pipeline with the Docker or shell executor.
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.
