From the course: Complete Guide to Open Source Security
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Installing a Wazuh Linux agent
From the course: Complete Guide to Open Source Security
Installing a Wazuh Linux agent
- [Instructor] Now we have the Wazuh server operational, we can monitor hosts which have a Wazuh agent installed. Let's install one in our web01 web server. The first thing we need to do is download the GPG key for Wazuh and update our sources. And we'll do this in an admin session. I've put the commands into a small script for convenience. sudo su, and the scripts are called wagent.sh. And we're just curling the GPG down into our web server and updating our repository lists. Let's run this. wagent.sh. Okay, we can now point to the Wazuh server and install the agent. WAZUH_MANAGER="192.168.1.103" apt install wazuh-agent. Okay, we've installed the Wazuh agent. Let's just check the configuration file by nano /var /ossec /etc /ossec.conf. And we can see our IP address is 103. We now need to enable the Wazuh agent to start on boot. And we'll do that with systemctl daemon-reload. And then systemctl enable wazuh-agent, and we'll start it now. Okay, that's running. So let's go back to our…
Contents
-
-
-
-
-
-
-
-
-
(Locked)
Installing the Wazuh SIEM5m 24s
-
(Locked)
Installing a Wazuh Linux agent3m 20s
-
(Locked)
Installing a Wazuh Windows agent1m 32s
-
(Locked)
Collecting Nginx logs in Wazuh5m 20s
-
(Locked)
Monitoring an attack with Wazuh4m 48s
-
(Locked)
Detecting web shells with Wazuh7m 42s
-
(Locked)
Activating vulnerability scanning3m 45s
-
(Locked)
-
-
-
-
-
-
-