logo

How to Manage Your Raspberry Pi with Webmin

O

Ohidur Rahman Bappy

MAR 22, 2025

How to Manage Your Raspberry Pi with Webmin

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 contrib
    

    Although "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 wget with the direct link from your browser.

  • Example command for version 1.930:

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

    You 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 install
    

    This 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:10000
    

    Example: 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=1 to ssl=0 in the /etc/webmin/miniserv.conf file.

  • Login: Use the credentials for the pi user. Default: pi / raspberry.

Your Webmin setup is complete. Explore its intuitive interface for efficient Raspberry Pi management.