简介

Webmin是功能最强大的基于Web的Unix系统管理工具。管理员通过浏览器访问Webmin的各种管理功能并完成相应的管理动作。Webmin支持绝大多数的Unix系统,这些系统除了各种版本的linux以外还包括:AIX、HPUX、Solaris、Unixware、Irix和FreeBSD等。

更新镜像源,安装依赖

sudo apt-get update
sudo apt-get install libauthen-pam-perl apt-show-versions

安装webmin步骤

1. mkdir webmin
2. cd webmin
3. wget http://prdownloads.sourceforge.net/webadmin/webmin_1.941_all.deb
4. sudo dpkg --install webmin_1.941_all.deb

安装完毕后,webmin 会自动执行。

访问

webmin地址:http://服务器IP:1000

安装问题记录

问题1

报错

dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libnet-ssleay-perl; however:
  Package libnet-ssleay-perl is not installed.
 webmin depends on libio-pty-perl; however:
  Package libio-pty-perl is not installed.

dpkg: error processing package webmin (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (241-7~deb10u8+rpi1) ...
Errors were encountered while processing:
 webmin

如何解决

sudo apt-get install libnet-ssleay-perl libio-pty-perl

问题2

报错

E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

如何解决

sudo apt --fix-broken install

安装成功结果

Webmin install complete. You can now login to https://raspberrypi:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for systemd (241-7~deb10u8+rpi1) ...
Traceback (most recent call last):
  File "/usr/sbin/omv-mkaptidx", line 38, in <module>
    import apt
ModuleNotFoundError: No module named 'apt'

界面展示

QQ20220516-123505@2x.png

Last modification:May 6, 2023
If you think my article is useful to you, please feel free to appreciate