Install and configure the Wazuh dashboard with the aid of the Wazuh installation assistant. Wazuh dashboard is a flexible and intuitive web interface for mining and visualizing security events and archives.
Download the Wazuh installation assistant. This step can be skipped if you have already installed Wazuh indexer on the same server.
# curl -sO https://packages.wazuh.com/4.3/wazuh-install.sh
Run the assistant with the option
--wazuh-dashboardand the node name to install and configure the Wazuh dashboard. The node name must be the same one used in
config.ymlfor the initial configuration, for example,
Make sure that a copy of the
wazuh-install-files.tarfile, created during the initial configuration step, is placed in your working directory.
# bash wazuh-install.sh --wazuh-dashboard dashboard
Once the assistant finishes the installation, the output shows the access credentials and a message that confirms that the installation was successful.
INFO: --- Summary --- INFO: You can access the web interface https://<wazuh-dashboard-ip> User: admin Password: <ADMIN_PASSWORD> INFO: Installation finished.
You now have installed and configured Wazuh. All passwords generated by the Wazuh installation assistant can be found in the
wazuh-passwords.txtfile inside the
wazuh-install-files.tararchive. To print them, run the following command:
# tar -O -xvf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt
Access the Wazuh web interface with your credentials.
When you access the Wazuh dashboard for the first time, the browser shows a warning message stating that the certificate was not issued by a trusted authority. An exception can be added in the advanced options of the web browser. For increased security, the
root-ca.pemfile previously generated can be imported to the certificate manager of the browser instead. Alternatively, a certificate from a trusted authority can be configured.
All the Wazuh central components are successfully installed.
The Wazuh environment is now ready, and you can proceed with installing the Wazuh agent on the endpoints to be monitored. To perform this action, see the Wazuh agent section.