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 List

Amazon 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

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.941_all.deb

Install Webmin

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:

hostname -I

Logging into Webmin

Enter your IP address you found above into a web browser.

https://192.168.68.127:10000

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.


Configuring Webmin

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.


Final Thoughts

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.

The full list of server components I use can be found on my Equipment List page.

Similar Posts

One Comment

  1. Silly way, but first I used your site to read how you did it, then this site https://www.webmin.com/deb.html also tell you you can add their repository and GPG key, then install through apt. I’d say its easier so you can keep up to date. I tried it, and it works!

    Quote:
    ————————-
    If you like to install and update Webmin via APT, edit the /etc/apt/sources.list file on your system and add the line :
    deb https://download.webmin.com/download/repository sarge contrib

    You should also fetch and install my GPG key with which the repository is signed, with the commands :
    cd /root
    wget https://download.webmin.com/jcameron-key.asc
    apt-key add jcameron-key.asc
    You will now be able to install with the commands :
    apt-get install apt-transport-https
    apt-get update
    apt-get install webmin
    All dependencies should be resolved automatically.
    —————————–

Leave a Reply

Your email address will not be published. Required fields are marked *