Solaris 11 from sources¶
This section describes how to download and build the Wazuh HIDS Solaris agent from sources for the following versions:
- For Solaris 11 i386
- For Solaris 11 SPARC
Installing Wazuh agent¶
All the commands described below need to be executed with root user privileges. Since Wazuh 3.5 it is necessary to have internet connection when following this process.
- Install development tools and compilers.
1.1 Install pkgutil an update it.# pkgadd -d http://get.opencsw.org/now # /opt/csw/bin/pkgutil -y -U
1.2 Install python 2.7# /opt/csw/bin/pkgutil -y -i python27 # ln -sf /opt/csw/bin/python2.7 /usr/bin/python
1.3 Install the following tools:# /opt/csw/bin/pkgutil -y -i git gmake gcc5core
Download the latest version.
# git clone -b v3.9.5 https://github.com/wazuh/wazuh.git
If you can’t download the file due to an Open SSL error, then you should copy the directory with the scp utility.
install.shscript. This will run a wizard that will guide you through the installation process using the Wazuh sources:
# cd wazuh* # ./install.sh
If you have previously compiled for another platform, you must clean the build using the Makefile in
# gmake -C src clean # gmake -C src clean-deps
During the installation, users can decide the installation path. Execute the
./install.shand select the language, set the installation mode to
agent, then set the installation path (
Choose where to install Wazuh [/var/ossec]). The default path of installation is
/var/ossec. A commonly used custom path might be
/opt. When choosing a different path than the default, if the directory already exist the installer will ask if delete the directory or if installing Wazuh inside. You can also run an unattended installation.
Since Wazuh 3.5 it is necessary to have internet connection when following this process.
The script will ask about what kind of installation you want. Type
agentin order to install a Wazuh agent:
1- What kind of installation do you want (manager, agent, local, hybrid or help)? agent
Now that the agent is installed, the next step is to register and configure it to communicate with the manager. For more information about this process, please visit the document: user manual.