How to Install Webmin on Ubuntu with APT

Webmin is a system administration interface that makes it easier to manage a server without SSH. Like cPanel, Webmin can complete a long list of sysadmin features natively and with installable modules:

• File, database, and user management
• Language and theme customization
• Firewall and other security options
• Scheduled Backup configuration
• Resource monitoring
• DNS Settings
• Read email
And more

  • webmin dashboard
  • webmin backup
  • webmin upload download

There are three major steps to getting started with Webmin on Ubuntu:

Install Webmin

  1. Log into SSH as root
  2. Edit your APT sources file: nano /etc/apt/sources.list
  3. Add Webmin to the file: deb sarge contrib
  4. Download the developer’s GPG key which signed the repo: wget
  5. Add it to your list of trusted keys: apt-key add jcameron-key.asc
  6. Install apt-transport-https for the ability to access packages with an HTTPS connection: apt-get install apt-transport-https
  7. Update your package lists: apt-get update
  8. Install Webmin: apt-get install webmin
  9. Set a password: /usr/share/webmin/ /etc/webmin/ root NewStrongPassword

If when updating your password, you receive the error “Can’t locate ./acl/…” error, cd into the /usr/share/webmin and try again.

Open Port 10000

You’ll need to ensure you open port 10000 in your server firewall. We recommend using APF or CSF to manage iptables firewall rules.

After you finish installing Webmin, log into https://hostname:10000 or https://ServerIP:10000 with your root user credentials.

Change your Webmin password before continuing.

Fix Self-signed SSL Certificate Error

You should address the self-signed SSL issue immediately after installing Webmin for better server security.

Are you looking for better website security and DDoS protection? Ask how you can protect your data with the Sucuri web application firewall.

If you need help at any time, let our Managed Hosting team help you with Launch Assist.

Jacqueem Content Writer I

Technical writer focused on cybersecurity and musicianship.

More Articles by Jacqueem

Was this article helpful? Let us know!