# AlmaLinux服务器安装Webmin面板

如果从sourceforge下载安装包，存在依赖问题，可以配置软件仓库，用yum命令安装。

以下操作需要root权限。

1.配置webmin库

```
nano /etc/yum.repos.d/webmin.repo
```

将下列内容写入进去：

```
[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
```

保存并退出。

添加Webmin的PGP密钥，以便系统信任该仓库：

```
wget http://www.webmin.com/jcameron-key.asc
rpm --import jcameron-key.asc
```

安装：

```
yum install webmin
```

安装成功后，使用`https://ip地址:10000`访问，或者`https://域名:10000`访问。出现证书错误，是因为默认的证书是自签名的，添加安全例外即可。务必添加`https://`，否则无法访问。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://book.linh.eu.org/jian-zhan-ji-shu/almalinux-fu-wu-qi-an-zhuang-webmin-mian-ban.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
