Wazuh Installation on Linux FreeBSD

85 views
Skip to first unread message

Muhammad Farash P

unread,
May 3, 2024, 6:03:24 PM5/3/24
to Wazuh | Mailing List
Hi all,
I am trying to install Wazuh agent on a Linux FreeBSD machine. I was not able to find the installation instructions on the official documentation. Can anyone help me to sort this out.

Thanks in advance,
Muhammad Farash p

Daniel Sappa

unread,
May 5, 2024, 7:23:55 PM5/5/24
to Wazuh | Mailing List
Installing the Wazuh agent on a FreeBSD machine follows a similar process to installing it on Linux. However, FreeBSD requires some additional steps due to differences in package management and system configuration. Here's a general outline of how you can install the Wazuh agent on a FreeBSD machine:

1. *Download the Wazuh Agent Package*:
   Go to the Wazuh downloads page (https://documentation.wazuh.com/current/installation-guide/open-source-packages.html) and download the appropriate Wazuh agent package for FreeBSD. You may need to choose the correct architecture (32-bit or 64-bit) and version.

2. *Install Dependencies*:
   Before installing the Wazuh agent, ensure that your FreeBSD system has all the necessary dependencies installed. This may include packages like openssl, libcap, and others. You can use the FreeBSD package manager, pkg, to install these dependencies:
 
   sudo pkg install openssl libcap
   

3. *Install the Wazuh Agent Package*:
   Once you have downloaded the Wazuh agent package, install it using the FreeBSD package manager. Assuming the package file is named wazuh-agent-4.2.1_1.txz, you can install it using the following command:
 
   sudo pkg install ./wazuh-agent-4.2.1_1.txz
   

4. *Configure the Wazuh Agent*:
   After installing the Wazuh agent, you need to configure it to connect to your Wazuh manager. Edit the Wazuh agent configuration file (/var/ossec/etc/ossec.conf) and configure the <client> section with the appropriate <server> settings:
 
   <client>
       <server-ip>WAZUH_MANAGER_IP</server-ip>
       <config-profile>default</config-profile>
   </client>
   

5. *Start the Wazuh Agent Service*:
   Once you have configured the Wazuh agent, start the Wazuh agent service to begin monitoring your FreeBSD system:
 
   sudo service wazuh-agent start
   

6. *Verify Installation*:
   Check the status of the Wazuh agent service to ensure it is running without errors:
 
   sudo service wazuh-agent status
   

7. *Monitor Logs*:
   Monitor the Wazuh agent logs (/var/ossec/logs/ossec.log) for any errors or warnings related to the agent's operation. This can help troubleshoot any issues that may arise during installation or configuration.

By following these steps, you should be able to successfully install and configure the Wazuh agent on your FreeBSD machine. If you encounter any difficulties or need further assistance.
Reply all
Reply to author
Forward
0 new messages