In this Raspberry Pi Webmin guide, I’m going to show you how to setup and install Webmin on your raspberry Pi device.
What is Webmin?
Webmin is a web-based interface for managing raspberry pi devices. It allows you to manage just about every aspect of your raspberry pi. You can remotely restart, manage users, gain console access, or even install new packages.
Once setup, you will be able to access your raspberry pi simply by typing its’ IP address into a web browser.
To extend the functionality even further, you can install the package Virtualmin, which allows you manage multiple raspberry pi’s from the same interface.
Equipment ListAmazon product
Update Your Raspberry Pi
It’s always a good idea to make sure your raspberry pi is fully up to date. This makes sure you aren’t running any outdated software.
To update your raspberry PI operating system, open a terminal and type:
sudo apt-get update sudo apt-get upgrade
Install Required Webmin Packages
To install all the necessary Webmin dependancy packages, type this into the terminal:
sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
Download the Debian File
Because Webmin isn’t a package in the official Raspberry Pi repository, we need to download the Debian package separately.
IMPORTANT: The version in the code below is current as of June 6, 2020. Please check the Webmin website for the latest version. If there is a newer version, use that instead of 1.941
Next, to install the Webmin package simply type the code below. Be patient on this step, it does take a few minutes to finish installing.
Note: If the version above changed, you’ll need to change the version here as well.
sudo dpkg -i webmin_1.941_all.deb
Find Your Raspberry Pi’s IP Address
Webmin is now successfully installed! You can access it via IP address followed by the port number 10000.
To find your Raspberry Pi’s IP address, you can either hover over the network adapter settings in the top right corner (two arrows for ethernet or wifi signal for wifi connection), or type this into a terminal:
Logging into Webmin
Enter your IP address you found above into a web browser.
After browsing to the webmin admin portal, you will receive an SSL warning message. You can safely ignore this message and continue.
Enter your raspberry pi username and password. If you haven’t changed the defaults, the default username is pi and the password is raspberry. If you have changed it, use the new credentials.
After logging in, you’ll notice a ton of different options. Have a look around and see everything you can do remotely with Webmin!
We recommend setting up two factor authentication on your raspberry pi and enabling the cron editor so you can install packages.
Feel free to check out the official Webmin wiki for even more ideas.
There’s nothing you absolutely NEED to configure after Webmin is installed. Just being able to remotely reboot or access your raspberry is extremely helpful on it’s own.
It’s one of the first packages we install on brand new RPI’s, so hopefully you find it just as useful as we do!
Other Helpful Articles:
My Homelab Equipment
Here is some of the gear I use in my Homelab. I highly recommend each of them.
- Server 2019 w/ Hyper-V
- Case: Fractal Design Node 804
- Graphics Card: NVIDEA Quadro K600
- CPU: AMD Ryzen 7 2700
The full list of server components I use can be found on my Equipment List page.