For the complete documentation index, see llms.txt. This page is also available as Markdown.

37.5 Webmin Management Platform

Webmin Overview

Webmin is a web-based system management tool that supports UNIX-like operating systems such as FreeBSD, Linux, and Solaris, providing a graphical management interface.

Webmin uses a modular design and can be used to manage system administration tasks such as user accounts, disk quotas, service configuration, and network settings.

Installing the Webmin Management Platform

Install using pkg:

# pkg install webmin

Or install using Ports:

# cd /usr/ports/sysutils/webmin/
# make install clean

View installation information:

# pkg info -D webmin

Directory Structure

/
├── usr
   └── local
       ├── lib
          └── webmin
              └── setup.sh        # Webmin configuration script
       ├── etc
          └── webmin               # Webmin configuration file directory
       └── bin
           └── perl                 # Perl interpreter
└── var
    └── db
        └── webmin                   # Webmin log file directory

Webmin Configuration Wizard

After installation, you need to run the configuration wizard to complete the initial setup and enable SSL.

/usr/local/lib/webmin/setup.sh is the configuration script in the Webmin installation directory, used to configure and initialize the Webmin service.

Service Management

After the configuration wizard completes, you can manage Webmin through service commands.

Set the Webmin service to start automatically at boot:

Start the Webmin service:

Configuring Localization

Through the Webmin interface, you can set the console to display in Chinese. In Webmin, navigate to Change Language and Theme, select Personal choice in the Webmin UI language field, then select Simplified Chinese (ZH_CN.UTF8), and click the Make Changes button. After returning to the menu → Dashboard, the console interface will switch to Chinese.

For convenience, you can also check the "Include machine translations" option next to it.

Using Webmin

Enter https://localhost:10000 in the browser to access the local machine. When accessing from another machine, enter the corresponding IP address, for example https://192.168.123.157:10000.

Tip

The 192.168.123.157 in the above example is a placeholder and needs to be replaced with the actual value.

After pressing Enter, if the browser prompts that the connection is not secure, select "Continue anyway", and the Webmin login interface will be displayed.

This interface is the Webmin management console. Enter the admin username and password in the text box, and click Sign In to log in to the console.

Webmin Management Console on Raspberry Pi 4

Last updated