Apache2 我安装了apache 2,但在sudo ufw应用程序列表中,应用程序列表中没有apache应用程序
我通过命令安装了apache2 sudo apt安装apache2 当我输入sudoufw应用程序列表时 没有与apache相关的应用程序,如apache full等。。。 它是这样显示的 可用应用程序: 杯子 OpenSSH 后缀 后缀SMTPS 后缀提交 有人能解释一下这到底是什么原因吗?Apache2 我安装了apache 2,但在sudo ufw应用程序列表中,应用程序列表中没有apache应用程序,apache2,Apache2,我通过命令安装了apache2 sudo apt安装apache2 当我输入sudoufw应用程序列表时 没有与apache相关的应用程序,如apache full等。。。 它是这样显示的 可用应用程序: 杯子 OpenSSH 后缀 后缀SMTPS 后缀提交 有人能解释一下这到底是什么原因吗? 由于某种原因,etc/UFW/application.d中缺少Apache2 UFW配置文件,因此您必须为自己创建一个。不用惊慌使用以下命令创建一个新的文本文件很容易: gedit/etc/ufw/app
由于某种原因,
etc/UFW/application.d
中缺少Apache2 UFW配置文件,因此您必须为自己创建一个。不用惊慌使用以下命令创建一个新的文本文件很容易:
gedit/etc/ufw/applications.d/apache2 utils.ufw.profile
并将其复制到内部并保存
[Apache]
title=Web Server
description=Apache v2 is the next generation of the omnipresent Apache web server.
ports=80/tcp
[Apache Secure]
title=Web Server (HTTPS)
description=Apache v2 is the next generation of the omnipresent Apache web server.
ports=443/tcp
[Apache Full]
title=Web Server (HTTP,HTTPS)
description=Apache v2 is the next generation of the omnipresent Apache web server.
ports=80,443/tcp
该概要文件的链接不再有效,以下是我假设的有效版本