webmin安装_如何在Ubuntu 18.04上安装Webmin

webmin安装

Are you averse to running commands on a terminal and instead prefer managing your Linux system from a Graphical interface? Webmin is a free and open source web-based control panel that gives users the ability to check the system’s performance. We can manage users and groups, manage quotas, update the system, install and remove software packages. We can also configure databases and crucial services such as email, FTP and web to mention just a few. in this guide, you will learn how to install Webmin on Ubuntu 18.04.

您是否不想在终端上运行命令,而是更喜欢从图形界面管理Linux系统? Webmin是一个基于Web的免费开放源代码控制面板,它使用户能够检查系统的性能。 我们可以管理用户和组,管理配额,更新系统,安装和删除软件包。 我们还可以配置数据库和关键服务,例如电子邮件,FTP和Web等。 在本指南中,您将学习如何在Ubuntu 18.04上安装Webmin。

步骤1:更新系统并安装系统依赖项 (Step 1: Updating the system and installing system dependecies)

Before you proceed to install Webmin, it’s recommended to first update the system repositories as shown

在继续安装Webmin之前,建议先更新系统存储库,如下所示

# sudo apt update -y

Sample output<

样品输出 <

Next, run the command below to upgrade the system

接下来,运行以下命令来升级系统

# sudo apt upgrade -y

Sample output

样品输出

Then, install the dependencies required before you can install Webmin

然后,在安装Webmin之前安装所需的依赖项

# sudo apt install software-properties-common apt-transport-https wget

Sample output

样品输出

步骤2:导入Webmin GPG密钥 (Step 2: Importing Webmin GPG key)

Using the wget command, import Webmin’s GPG key as shown

使用wget命令,导入Webmin的GPG密钥,如下所示

# wget -q https://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -

Sample output

样品输出

Then enable Webmin’s repository by executing the command

然后通过执行以下命令启用Webmin的存储库

sudo add-apt-repository "deb [arch=amd64] https://download.webmin.com/download/repository sarge contrib"

Sample output

样品输出

步骤3:安装Webmin (Step 3: Installing Webmin)

You can now proceed to install the latest version of Webmin by running

现在,您可以通过运行以下命令继续安装最新版本的Webmin

sudo apt install webmin

Sample output

样品输出

At the end of the installation, the following message will be displayed confirming that you’ve successfully installed Webmin.

安装结束时,将显示以下消息,确认您已成功安装Webmin。

The Webmin service should start automatically. you can verify this using the command

Webmin服务应自动启动。 您可以使用以下命令验证

# systemctl status webmin

If the service is not running, start and enable it to start on boot using the following commands’

如果服务未运行,请使用以下命令启动并启用它以在启动时启动:

# systemctl start webmin
# systemctl enable webmin

Sample output

样品输出

Again, verify if the Webmin service is running

再次,验证Webmin服务是否正在运行

# systemctl status webmin

Sample output

样品输出

Additionally, you can confirm if Webmin is listening to its default port – Port 10000 – using the netstat command as shown

另外,您可以使用netstat命令确认Webmin是否正在监听其默认端口-端口10000。

# netstat -pnltu

Sample output

样品输出

Awesome! Webmin service is up and running normally. Now it’s time to set it up on a browser!

太棒了! Webmin服务已启动并正常运行。 现在该在浏览器上进行设置了!

步骤4:调整防火墙 (Step 4: Adjusting the firewall)

Before finally setting up Webmin on a browser, you need to allow port 10000, which os Webmin’s port, on the firewall. To accomplish this run

在最终在浏览器上设置Webmin之前,您需要在防火墙上允许端口10000(该端口为Webmin的端口)。 要完成此运行

# Sudo ufw allow 10000/tcp

Thereafter, reload the firewall and check the status of the firewall.

此后,重新加载防火墙并检查防火墙的状态。

sudo ufw reload
sudo ufw status

Sample output

样品输出

步骤5:在浏览器上设置Webmin (Step 5: Setting up Webmin on a browser)

Open your favorite browser and browse your server’s URL as shown

打开您喜欢的浏览器并浏览服务器的URL,如下所示

https://your_server_ip_or_hostname:10000/

You will get a warning that the connection is not private. This is because the server does not have an SSL certificate installed to encrypt the connection on https protocol.

您将收到一条警告,指出该连接不是私有的。 这是因为服务器未安装SSL证书来加密https协议上的连接。

Nevertheless, we can still connect and move on. to do this, navigate at the bottom and click on the ‘Advanced‘ button.

尽管如此,我们仍然可以继续前进。 为此,请在底部导航,然后单击“ 高级 ”按钮。

Then click on ‘proceed to server-ip‘ link

然后单击“ 继续进行服务器IP ”链接

This will take you to Webmin’s login page. Log in using your root credentials

这将带您到Webmin的登录页面。 使用您的根凭据登录

And voila! there goes your Webmin’s crisp and intuitive dashboard giving you an overview of your system’s CPU, Memory and Disk space. You will also get system information such as:

瞧! Webmin简洁明了的仪表板将使您大致了解系统的CPU,内存和磁盘空间。 您还将获得系统信息,例如:

  1. System hostname

    系统主机名
  2. Sytem date and time

    系统日期和时间
  3. Webmin version

    Webmin版本
  4. No. of running processes

    正在运行的进程数
  5. Status of packages

    包装状态
  6. CPU load averages

    平均CPU负载

And so much more!

还有更多!

That wraps up this tutorial on how to install Webmin on Ubuntu 18.04 server.

到此结束了本教程,介绍如何在Ubuntu 18.04服务器上安装Webmin。

翻译自: https://www.journaldev.com/29051/install-webmin-ubuntu

webmin安装

你可能感兴趣的:(数据库,java,linux,python,ubuntu)