使用apache托管reportportal实例



我正在尝试在Apache中托管reportportal实例。我已经在ec2实例上安装了带有docker的reportportal,它运行正常。现在我正在尝试将其托管在Web服务器中。我使用了apache作为Web服务器。我遵循了这个https://linuxhint.com/install_apache_web_server_ubuntu/link和我安装了apache并配置了虚拟主机。我的虚拟主机看起来像这个

<VirtualHost *:80>
ServerName x.xx.xx.xx
ServerAlias myhost.example.com
DocumentRoot /home/ubuntu/reportportal
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

我可以在没有任何问题的情况下启动服务器,例如sudo systemctl启动apache2。在浏览器中,当我尝试导航到myhost.example.com时,我收到了禁止的错误

You dont have permission to access this resource

让我知道我们有其他合适的方式来主持这个网络应用程序吗?

Report Portal不在Apache Web服务器上运行,因为它是在Java、Go和Python上编写的。

但也可以使用嵌入式Tomcat服务器通过shell安装进行部署。为此,请按照此处的说明进行操作:https://github.com/reportportal/shell-installation

有两种推荐的托管ReportPortal的方法:

  • Docker
  • Kubernetes

ReportPortal由多个模块组成(例如运行的服务器(,因此如果没有虚拟化工具,您将不得不手动托管和配置所有模块。然而,这仍然是可能的,看看这个指南。由于提到了亚马逊,建议的安装方式是使用托管在AWS场所的Kubernetes。安装指南可以在这里找到

最新更新