This page looks best with JavaScript enabled

Manage raspberry pi with webmin

 ·   ·  ☕ 2 min read

    Option 1 : Add a new apt repository

    • Open the apt sources.list file:
      sudo nano /etc/apt/sources.list

    • Add this line at the end:
      deb https://download.webmin.com/download/repository sarge contrib
      Yes, Sarge is an old Debian version, but this repository is updated regularly.

      shortcut

      sudo echo "deb https://download.webmin.com/download/repository sarge contrib" >> /etc/apt/sources.list
      
    • Then you need to install the GPG key corresponding to this repository:

      wget http://www.webmin.com/jcameron-key.asc  
      sudo apt-key add jcameron-key.as
      
    • Finally, install Webmin:
      sudo apt update sudo apt install webmin

    Option 2 : Directly install the Webmin package

    • Go on the official Webmin site here: http://webmin.com/

    • In the left menu, click on Debian package

    • The link lead to Sourceforge, and it will download it directly.
      If you are on your computer, you can use SFTP to transfer it to the Pi, or copy the link (in your browser downloads) and use wget.

    • For example, for the 1.930 version:
      wget http://prdownloads.sourceforge.net/webadmin/webmin_1.930_all.deb
      You can also take that link and change the version number, depending on the version displayed on the website.

    • Then install the downloaded package:
      sudo dpkg -i webmin_1.930_all.deb

    • It may warn you because of missing prerequisites, it’s normal, we’ll fix this now.

    • Finish the installation with:
      sudo apt -f install
      It will install Webmin and the missing dependencies.

    Your Webmin installation is done, you can move to the next part

    Webmin interface

    Webmin works with a web interface.
    It’s pretty intuitive, but I will give you a few details here.

    First access

    Once installed, you can access it with the following URL:
    https://IP_ADDRESS:10000.
    For example: https://192.168.1.20:10000.

    If you see security warning Just ignore it, by clicking on Advanced > Proceed to IP_ADDRESS (unsafe).

    You can also disable the SSL encryption if you prefer. You can do this on Webmin directly (Webmin > Webmin configuration > SSL Encryption). The corresponding file on the Pi is /etc/webmin/miniserv.conf (change ssl=1 to ss=0).

    You’ll get a login form with the Webmin logo.
    **The default credentials are those from the pi user.
    **If you kept the default password: pi / raspberry.


    Ohidur Rahman Bappy
    WRITTEN BY
    Ohidur Rahman Bappy
    📚Learner 🐍 Developer