在 Webmin 中依次进入 Change Language and Theme,在 Webmin UI language 字段中先选择 Personal choice,然后选择 Simplified Chinese (ZH_CN.UTF8),点击 Make Changes 按钮。之后返回菜单 -> Dashboard,控制台界面将刷新为中文。
为了方便使用,可以勾选旁边的“包括机器翻译”选项。
使用 Webmin
在浏览器中输入 https://localhost:10000 进行本机访问(前提是配置文件已启用 SSL)。若从其他机器访问,则输入对应 IP 地址,例如 https://192.168.123.157:10000。
按回车键后,如浏览器提示不安全,请选择“继续前往”,随后将显示 Webmin 登录界面。
此界面为 Webmin 管理控制台。在文本框中输入 admin 用户名及密码,点击 Sign In 登录进入控制台。
# /usr/local/lib/webmin/setup.sh
***********************************************************************
Welcome to the Webmin setup script, version 2.013
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /usr/local/lib/webmin
***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.
Config file directory [/usr/local/etc/webmin]: # 配置文件目录
Log file directory [/var/db/webmin]: # 日志文件目录
***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.
Full path to perl (default /usr/local/bin/perl): # Perl 解释器路径
Testing Perl ..
.. done
***********************************************************************
Operating system name: FreeBSD
Operating system version: 14.2
***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
- What port to run the web server on. There must not be another
web server already using this port.
- The login name required to access the web server.
- The password required to access the web server.
- If the web server should use SSL (if your system supports it).
- Whether to start webmin at boot time.
Web server port (default 10000): # Web 服务器端口号
Login name (default admin): # 登录用户名,直接回车则使用默认 admin
Login password: # 输入密码,密码无回显也不会是 ****,就是什么也没有,下同
Password again: # 再次确认密码
Use SSL (y/n): y # 是否使用 SSL(https)
***********************************************************************
Creating web server config files ..
.. done
Creating access control file ..
.. done
Creating start and stop init scripts ..
.. done
Creating start and stop init symlinks to scripts ..
.. done
Copying config files ..
.. done
Changing ownership and permissions ..
.. done
Running postinstall scripts ..
.. done
Enabling background status collection ..
.. done
# service webmin enable # 设置开机自启 Webmin 服务
# service webmin start # 启动 Webmin 服务