Should I install Webmin before LAMP

Solution 1:

Webmin uses an existing Apache installation, so you will want to have the "LA" bit in LAMP before Webmin will work.

Basic prerequisites can be considered as:

  1. an Ubuntu 20.04 server with a non-root user with sudo privileges
  2. UFW firewall configured
  3. Apache
  4. a Fully-Qualified Domain Name (FQDN), with a DNS A record pointing to the IP address of your system

Be sure to have port 10000 available, otherwise you will not be able to connect to Webmin:

sudo ufw allow 10000