This process will go through the installation of the Wazuh Manager in a 1 GB RAM Ubuntu Server 20.04 node.
Note: It is recommended to set Static IP address for this node rather than static one.
Note: Root user privileges are required to execute all the following commands.
# apt install curl apt-transport-https lsb-release gnupg2
# curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add -
# echo "deb https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list
# apt update
# apt install wazuh-manager
# systemctl daemon-reload
# systemctl enable wazuh-manager
# systemctl start wazuh-manager
# systemctl status wazuh-manager
It is recommended to disabling the Wazuh repository to prevent accidental upgrades. To do so, use the following command:
# sed -i "s/^deb/#deb/" /etc/apt/sources.list.d/wazuh.list
# apt update
# ufw allow 1514
# ufw allow 1515
# ufw allow 55000
ss -lntp
# /var/ossec/bin/manage_agents -l
# /var/ossec/bin/agent_control -l
# tail -f /var/ossec/logs/alerts/alerts.log