wazuh / wazuh-agent

Wazuh agent, the Wazuh agent for endpoints.
GNU Affero General Public License v3.0
22 stars 12 forks source link

Create Installation Packages for Wazuh Agent #128

Open vikman90 opened 1 month ago

vikman90 commented 1 month ago

Parent Issue:

Description

This issue focuses on creating platform-specific packages (RPM, DEB, MSI, PKG) to facilitate the installation of the Wazuh agent across supported operating systems. The packages should integrate with the native package managers and follow best practices for each platform.

Functional Requirements

Subtasks

  1. https://github.com/wazuh/wazuh-agent/issues/133
    • Develop an RPM spec file for RHEL, CentOS, Fedora, and similar distributions.
  2. https://github.com/wazuh/wazuh-agent/issues/143
    • Create a DEB package for Debian-based distributions (Ubuntu, Debian, etc.).
  3. https://github.com/wazuh/wazuh-agent/issues/134
    • Develop an MSI installer for Windows.
    • Ensure the installer correctly registers the agent as a Windows Service.
    • Handle dependencies and any required installation scripts (pre/post-install).
  4. https://github.com/wazuh/wazuh-agent/issues/135
    • Develop a PKG installer for macOS.
    • Ensure the installer sets up the agent as a launch daemon.
    • Handle installation-related tasks like setting up permissions and configuring files.
  5. Documentation:
    • Create installation instructions for each type of package (RPM, DEB, MSI, PKG).
    • Provide troubleshooting guidelines for package-related issues.
mjcr99 commented 12 hours ago

Update

(16/10/2024) Added option to run make install and let every built file in the desired folder based on the building environment. We are waiting for this development to complete the service installation:

Currently, the installation only places the following file:

Install the project...
-- Install configuration: "RelWithDebInfo"
-- Up-to-date: /usr/local/bin/wazuh-agent