Raspberry Pi Webmin

In this Raspberry Pi Webmin tutorial, I will go through all the steps to set up the Webmin software package for the Raspbian operating system.

Webmin is excellent if you wish to have a web-based interface for system administration. It removes the need to manually edit configuration files and makes administration a lot easier.

Ultimate Books of Pi

You can easily setup, modify and control applications such as an Apache HTTP server, SQL, Postfix, DHCP, PHP and many other software packages. These require a bit of setting up so check out the Webmin wiki page once you have it installed.

There are modules that you can use to extend the functionality of Webmin. For example, Virtualmin is a module that manages multiple virtual hosts through a single interface. Think software like Cpanel or Plesk.

The full tutorial can be found right below. I go through all the basics of setting up Webmin. Due to the sheer number of things you can configure I recommend that you look at the Webmin wiki after installation.

Equipment List

Below is all the equipment that I made use of for this Raspberry Pi Webmin tutorial.

Recommended:

Raspberry Pi 2 or 3

Micro SD Card

Power Supply

Ethernet Cord or WiFi dongle (The Pi 3 has WiFi inbuilt)

Optional:

Raspberry Pi Case

Installing Webmin

Before we begin, you will need to be on the latest version of the Raspbian operating system. It is likely these instructions will also work on other operating systems but I cannot guarantee it.

1. First, make sure Raspbian is completely up to date by running the following commands.

sudo apt-get update
sudo apt-get upgrade

2. Now we will need to install all the required packages of Webmin.

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

3. The following command will download the required deb file to the Raspberry Pi. You may want to update the version number so that you’re downloading the latest version, you can view the latest version here.

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

4. Once the downloaded, run dpkg It may take some time to install.

sudo dpkg --install webmin_1.890_all.deb

5. You should now be able to access Webmin by going to the Pi’s IP address followed by the port 10000. Find out the Raspberry Pi’s IP address by using hostname -I

Below is an example of my address to access Webmin.

https://192.168.0.142:10000

6. You will receive a warning because the SSL will be invalid. It is safe to ignore this as we can’t receive a valid SSL certificate on an IP address.

7. Enter your username and password. If you haven’t changed it then the username will be pi and the password will be raspberry.

Raspberry Pi Webmin Main Dashboard

8. You can now move onto configuring any options that you wish to alter.

Configuring Webmin

There are a ton of options that you can configure in Webmin. These options include changing your SSL encryption, adding modules, logging, managing users, managing software packages and so much more.

Since there are just so many options to configure I recommended checking out the Webmin wiki for more information. Out of the box, there isn’t anything that really needs configuring.

Raspberry Pi Webmin Configuration

I do recommend that you secure your admin by changing the password and setting up two-factor authentication.

I will be looking at doing further tutorials on some of the cool modules that you can use with Webmin such as Virtualmin.

I hope by now you have been able to install Webmin on the Raspberry Pi without any issues. If you have some feedback regarding this Raspberry Pi Webmin tutorial, then please head over to our forum and let us know.

Ultimate Books of Pi Bottom
Pi My Life Up's Crash Course
to the Raspberry Pi

Pi My Life Up's Crash Course

to the Raspberry Pi

Subscribe to our email list to get the

Crash Course delivered straight to your inbox

Please check your inbox for a confirmation email!