From the course: Complete Guide to Open Source Security

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Installing the Fleet server

Installing the Fleet server

- [Instructor] Before we can enroll any systems to be monitored, we'll need to set up a fleet server, which is the component of ELK that handles interactions between the ELK Stack server and the hosts we're monitoring. To do that, we go to Management, Fleet and as suggested we'll add a fleet server. We'll enter the name as elkstack and the URL as HTTPS 192.168.1.102, and it uses port 8220 for Fleet Server. We will generate Fleet Server Policy. Okay, so elkstack has now provided a command to load the Fleet Server. Let's copy it, use with the copy icon. Okay, let's become root and go to the root folder. Sudo su, put our password in and cd/root. Okay, we'll nano fleet.sh and paste the clipboard in. For simplicity, after we've downloaded the agent, we'll move the elastic agent folder name and call it elagent, and then cd elagent. And we'll install the elastic agent Fleet Server and we'll add the -- insecure flag to avoid problems with certificates. And we'll save that and we will make…

Contents