wazuh-packages icon indicating copy to clipboard operation
wazuh-packages copied to clipboard

Install Wazuh dashboard report dependencies in Wazuh installation assistant

Open rauldpm opened this issue 3 years ago • 0 comments

Wazuh version Install type Action performed Platform
- Wazuh installation assistant Install dependencies Recommended systems

Main issue: https://github.com/wazuh/wazuh-packages/issues/1520

It is necessary to include in the Wazuh dashboard installation process the installation of the necessary dependencies to generate PDF reports, which according to the OpenSearch documentation are:

  • RPM (Red Hat/CentOS/Amazon Linux 2)
sudo yum install -y libnss3.so xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-utils xorg-x11-fonts-cyrillic xorg-x11-fonts-Type1 xorg-x11-fonts-misc fontconfig freetype ipa-gothic-fonts

In Red Hat systems it is necessary to register the system through subscription, if it is not done the packages will not be found when installed, in this https://github.com/wazuh/wazuh-packages/issues/1520#issuecomment-1240928321 it is verified that through subscription the installation is carried out correctly, so it would be interesting to add a note about these systems.

  • Debian
sudo apt install -y libnss3-dev fonts-liberation libfontconfig1

It is also necessary to decide whether or not the installation should continue in case of finding an error in these recommended systems when installing the dependencies.

Related links:

  • https://opensearch.org/docs/latest/dashboards/reporting/#troubleshooting
  • https://github.com/opensearch-project/dashboards-reports/blob/main/dashboards-reports/rendering-engine/headless-chrome/README.md#additional-libaries

rauldpm avatar Sep 08 '22 13:09 rauldpm