How to Manage Your Raspberry Pi with Webmin
Webmin is a web-based control panel for Linux administration. Learn how to install it on Raspberry Pi running Ubuntu and access it securely from your browser.
Webmin gives you a browser-based dashboard for managing your Raspberry Pi: user accounts, services, package installation, firewall rules, cron jobs, and more — without needing to remember every command. It's particularly useful for less command-line-intensive tasks or for users transitioning from graphical desktop management.
Installation
Option 1: APT Repository (Recommended)
This keeps Webmin updated automatically via apt upgrade.
Add the Webmin APT repository using the modern key management method:
# Download and install the GPG key
curl -fsSL https://download.webmin.com/jcameron-key.asc | sudo gpg --dearmor -o /usr/share/keyrings/webmin-archive-keyring.gpg
# Add the repository
echo "deb [signed-by=/usr/share/keyrings/webmin-archive-keyring.gpg] https://download.webmin.com/download/repository sarge contrib" \
| sudo tee /etc/apt/sources.list.d/webmin.list
# Install
sudo apt update
sudo apt install webmin -y
Option 2: Direct .deb Package
If you prefer a one-time install without adding a repository:
# Download the latest .deb from the official site
wget https://www.webmin.com/download/deb/webmin-current.deb
# Install
sudo dpkg -i webmin-current.deb
# Fix missing dependencies if needed
sudo apt -f install
Check webmin.com/download for the current version number.
Starting and Enabling Webmin
Webmin starts automatically after installation. To manage the service manually:
sudo systemctl start webmin
sudo systemctl enable webmin # start at boot
sudo systemctl status webmin # check it's running
Accessing the Interface
Open your browser and navigate to:
https://<your-pi-ip-address>:10000
Example: https://192.168.1.20:10000
Your browser will show a security warning because Webmin uses a self-signed certificate by default. This is expected — click through the advanced options to proceed. The connection is still encrypted.
Login credentials: Use your system username and password (typically ubuntu on Ubuntu Server, or pi on Raspberry Pi OS).
Allowing Webmin Through the Firewall
If UFW is active:
sudo ufw allow 10000/tcp
Securing Webmin
A few steps worth taking after installation:
Change the default port to reduce automated scanning (optional but useful):
- Go to Webmin → Webmin Configuration → Ports and Addresses and change 10000 to a non-standard port.
Restrict access by IP:
- Go to Webmin → Webmin Configuration → IP Access Control and whitelist only your local subnet.
Keep Webmin updated:
sudo apt update && sudo apt upgrade webmin
What You Can Do with Webmin
Once logged in, the main modules include:
- System — users, groups, scheduled cron jobs, system logs, software packages
- Servers — Apache, Nginx, MySQL/MariaDB, SSH, Samba, DNS
- Networking — firewall (iptables/nftables), network interfaces, hostname
- Hardware — disk quotas, RAID, S.M.A.R.T. monitoring
- Tools — file manager, terminal emulator, text editor
Conclusion
Webmin is a practical tool for Raspberry Pi administration, especially for multi-service setups where managing everything from the command line becomes tedious. For headless Raspberry Pi servers running multiple services, it provides enough visibility and control to catch problems without opening an SSH session for every task.