Webmin is a Web Interface for System Administration and simplifies managing the Raspberry Pi OS (or any other LInux/Unix based OS). Normally you need to manually edit configuration files and run commands to create accounts, set up a web server and manage email forwarding. Webmin lets you perform these tasks and many more through an easy to use web interface and automatically updates all required configuration files for you.
This article describes how to install Webmin on a Raspberry Pi 4 and perform some basic configuration of your Raspberry Pi 4.
The following is required install Webmin on a Raspberry Pi 4:
- A working Raspberry Pi 4
- Internet connection
3. Install Webmin on a Raspberry Pi 4
Follow the following steps to install Webmin on a Raspberry Pi 4:
- Before we start the installation we make sure the Raspberry Pi 4 is up to date by following the steps below:
a. Assure packages are up to date by using the commands:
12sudo apt update -ysudo apt full-upgrade -y
If updates are available and install has finished reboot your Raspberry Pi 4:
b. Check if there is a new firmware available (distributed version, not the beta):
1sudo apt dist-upgrade
If a firmware update was available and installed, please reboot:
12sudo apt autoremovesudo apt clean
- Download the latest Webmin package:
1sudo wget https://www.webmin.com/download/deb/webmin-current.deb
- Install the required packages of Webmin
1sudo dpkg --install webmin-current.deb
Wait till the installation has been finished.
- Find out the Raspberry Pi’s IP address by using:
- Access Webmin by going to the Pi’s IP address followed by the port 10000. For example:
- You will receive a warning w.r.t. insecure site. Which is ok as at this moment no valid SSL certificate has been installed.
- Enter the default Raspberry Pi 4 username and password configured during installing Raspberry Pi OS.
Webmin is now installed and ready to use. Be aware that if you want to access Webmin externally you need to forward port 10000 in your router.
4. Webmin configuration
Specific configuration is not required. Our article “Webmin configuration on a Raspberry Pi 4” describes configurations we made.
If you plan to host websites on your Raspberry Pi 4 it is strongly recommended to install Virtualmin as this cannot be done afterwards. See our article “How to host multiple websites on a Raspberry Pi 4?“.
Apart from installing Virtualmin, there are a lot of other options you can configure in Webmin, for example:
- changing SSL encryption
- adding modules
- managing users
- managing software packages
See the Webmin wiki for more information.