Wazuh Agent instllation in FreeBSD OS?

216 views
Skip to first unread message

Veno Dhakshinamurthi

unread,
Jan 10, 2024, 7:08:01 AMJan 10
to Wazuh | Mailing List
Hi,
Anyone would help me to install wazuh agent in FreeBSD OS?

Pedro Nicolás Gomez

unread,
Jan 10, 2024, 8:17:17 AMJan 10
to Wazuh | Mailing List
Hi Veno,

The Wazuh agent is not officially supported by our QA process but you may install it from sources following the instructions for installing from sources for Linux: https://documentation.wazuh.com/current/deployment-options/wazuh-from-sources/wazuh-agent/index.html

I tried it and it worked, for that, first I had to install gmake, cmake and perl5:

pkg install gmake

pkg install cmake

pkg install perl5


Then, ./install.sh

image.png


I hope it helps.

Best regards,

Pedro Nicolas.



Message has been deleted
Message has been deleted

Veno Dhakshinamurthi

unread,
Jan 10, 2024, 12:22:51 PMJan 10
to Wazuh | Mailing List
Hi..

Thanks for your timely reply. It worked!.

Would you mind help me with exporting as package (.deb, .rpm or any other format that will be unpacked and get install on another FreeBSD machines). 
I searched and came up with wazuh-package. But it seems like it is not supported for FreeBSD OS.
Can you please help me with this.

Thanks.

Alonso Cárdenas Márquez

unread,
Jan 11, 2024, 6:53:09 PMJan 11
to Veno Dhakshinamurthi, Wazuh | Mailing List
El mié, 10 ene 2024 a las 12:22, Veno Dhakshinamurthi (<ven...@gmail.com>) escribió:
Hi..

Thanks for your timely reply. It worked!.

Would you mind help me with exporting as package (.deb, .rpm or any other format that will be unpacked and get install on another FreeBSD machines). 
I searched and came up with wazuh-package. But it seems like it is not supported for FreeBSD OS.
Can you please help me with this.

Thanks.




Hello Veno

wazuh-agent is not officially supported by Wazuh Inc but the FreeBSD project added it to FreeBSD ports/packages and we generated FreeBSD binary package from Wazuh source code. You can install wazuh-agent binary on FreeBSD the follow way:

pkg install wazuh-agent

If you want to install it from source code you can use FreeBSD ports.


Greetings
ACM

Veno Dhakshinamurthi

unread,
Jan 12, 2024, 8:00:06 AMJan 12
to Wazuh | Mailing List
Hi ACM,

I have checked wazuh-agent. As you said it could be installed directly in all the FreeBSD machines.

But We have modified sources and added custom module in wazuh agent. We need to compile from source and build as a package.
Is there any support for the same. 

we generated FreeBSD binary package from Wazuh source code. You can install wazuh-agent binary on FreeBSD the follow way:

As you said,
I'm trying to do the same things. We need to build the wazuh agent with the modified source, build and push to our local pkg manager.
Then download and install from the local pkg manager.

I'm having problem to build the compiled agent as package. I need help in that part.

Thanks,

Pedro Nicolás Gomez

unread,
Jan 12, 2024, 8:21:59 AMJan 12
to Alonso Cárdenas Márquez, Veno Dhakshinamurthi, Wazuh | Mailing List

Hi Veno, As Alonso said and as I mentioned before, FreeBSD is not an officially supported OS by Wazuh, so the wazuh-packages repository does not have the functionality to create packages for FreeBSD. To create packages for FreeBSD you would have to consult the documentation of the OS.


Regarding the workaround that Alonso shared, it is also valid, but keep in mind that it may not install the latest version, I did a test and it installs version 4.5.4 of wazuh-agent.


I hope it helps.

Best regards,

Pedro Nicolas.

--
You received this message because you are subscribed to the Google Groups "Wazuh | Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/CABdjs9Cds%2BYNn0Uazn6LPJg4CCcKDjhtnRESau3uU5qPTQcqOg%40mail.gmail.com.

Veno Dhakshinamurthi

unread,
Jan 12, 2024, 10:22:33 AMJan 12
to Wazuh | Mailing List
Hi, 

Thanks for your reply. Just a small clarification. 
Does Arch from wazuh-package works for FreeBSD?
Just asking after seeing this.

I will give out a try meanwhile.

Thanks.

Pedro Nicolás Gomez

unread,
Jan 19, 2024, 5:59:54 PMJan 19
to Wazuh | Mailing List
Hi Veno,

As we do not officially support freeBSD, that development was not developed/tested explicitly for freeBSD.

Best regards,
Pedro Nicolas.

Veno Dhakshinamurthi

unread,
Jan 22, 2024, 8:11:06 AMJan 22
to Wazuh | Mailing List
Thanks all for your reply.
Reply all
Reply to author
Forward
0 new messages