debian 10 安装
介绍 (Introduction)
Webmin is a modern web control panel that allows you to administer your Linux server through a browser-based interface. With Webmin, you can manage user accounts, configure DNS settings, and change settings for common packages on the fly.
Webmin是一种现代的Web控制面板,可让您通过基于浏览器的界面来管理Linux服务器。 使用Webmin,您可以管理用户帐户,配置DNS设置以及即时更改常见软件包的设置。
In this tutorial, you’ll install and configure Webmin on your server and secure access to the interface with a valid certificate from Let’s Encrypt. You’ll then use Webmin to add new user accounts, and update all packages on your server from the dashboard.
在本教程中,您将在服务器上安装和配置Webmin,并使用来自Let's Encrypt的有效证书来安全访问接口。 然后,您将使用Webmin添加新的用户帐户,并从仪表板上更新服务器上的所有软件包。
先决条件 (Prerequisites)
To complete this tutorial, you will need:
要完成本教程,您将需要:
One Debian 10 server. This server should have a non-root user with sudo privileges and a UFW firewall configured. Set this up by following our Debian 10 initial server setup guide.
一台Debian 10服务器。 该服务器应具有具有sudo特权的非root用户,并配置UFW防火墙。 请遵循我们的Debian 10初始服务器设置指南进行设置 。
Apache installed by following our tutorial on How To Install the Apache Web Server on Debian 10. As you follow this prerequisite guide, be sure to configure a virtual host.
按照我们有关如何在Debian 10上安装Apache Web服务器的教程安装Apache 。 遵循本先决条件指南时,请确保配置虚拟主机 。
A Fully-Qualified Domain Name (FQDN), with a DNS A record pointing to the IP address of your server. To configure this, follow these instructions on DNS hosting on DigitalOcean.
具有DNS A记录的完全限定域名(FQDN)指向服务器的IP地址。 要进行配置,请遵循DigitalOcean上的DNS托管上的这些说明 。
第1步-安装Webmin (Step 1 — Installing Webmin)
First, we need to add the Webmin repository so that we can install and update Webmin using our package manager. We do this by adding the repository to the /etc/apt/sources.list
file.
首先,我们需要添加Webmin存储库,以便我们可以使用包管理器来安装和更新Webmin。 为此,我们将存储库添加到/etc/apt/sources.list
文件中。
Open the file in your preferred editor. Here, we’ll use nano
:
在首选编辑器中打开文件。 在这里