How to Manage Your Raspberry Pi with Webmin
A detailed guide on installing Webmin on Raspberry Pi running Ubuntu.
Discover how to efficiently control your Raspberry Pi by installing Webmin, a web-based interface for system administration.
Installation Methods
Option 1: Add a New APT Repository
-
Edit the APT sources list:
sudo nano /etc/apt/sources.list -
Append the following line:
deb https://download.webmin.com/download/repository sarge contribAlthough "sarge" is an old Debian version, this repo is updated regularly.
Shortcut:
sudo echo "deb https://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list -
Install the GPG Key:
wget http://www.webmin.com/jcameron-key.asc sudo apt-key add jcameron-key.asc -
Install Webmin:
sudo apt update sudo apt install webmin
Option 2: Direct Installation of Webmin Package
-
Visit the official Webmin site.
-
Click on Debian package in the left menu.
-
You'll be redirected to Sourceforge to download the package. You can either transfer it via SFTP or use
wgetwith the direct link from your browser. -
Example command for version 1.930:
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.930_all.debYou may adjust the version number as necessary.
-
Install the package:
sudo dpkg -i webmin_1.930_all.deb -
If you encounter missing prerequisites, use the following command:
sudo apt -f installThis will complete the installation, resolving any dependencies.
Accessing Webmin Interface
Webmin is accessible via a web browser. Here's how to get started:
First Access
-
Access Webmin using:
https://IP_ADDRESS:10000Example:
https://192.168.1.20:10000. -
Bypass security warnings: Navigate through the advanced options and proceed.
-
SSL Options: To disable SSL, go to Webmin directly (Webmin > Webmin Configuration > SSL Encryption) or change
ssl=1tossl=0in the/etc/webmin/miniserv.conffile. -
Login: Use the credentials for the
piuser. Default:pi / raspberry.
Your Webmin setup is complete. Explore its intuitive interface for efficient Raspberry Pi management.