Skip to content

Commit 081235d

Browse files
hmorris3293Anna Brachawildmanonline
authored
[update] Deploy Wazuh Cluster through the Linode Marketplace (#7004)
* update agent info * wazuh pr review * Fix formatting --------- Co-authored-by: hmorris <[email protected]> Co-authored-by: Anna Bracha <[email protected]> Co-authored-by: Matthew Wildman <[email protected]>
1 parent 236e670 commit 081235d

File tree

1 file changed

+30
-4
lines changed
  • docs/products/tools/marketplace/guides/wazuh

1 file changed

+30
-4
lines changed

docs/products/tools/marketplace/guides/wazuh/index.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "Deploy Wazuh through the Linode Marketplace"
33
description: "Deploy Wazuh on a Linode Compute Instance. This provides you with an open source a security monitoring solution."
44
published: 2021-11-12
5-
modified: 2024-06-06
5+
modified: 2024-06-24
66
keywords: ['security','vulnerability','monitoring']
77
tags: ["marketplace", "linode platform", "cloud manager"]
88
external_resources:
@@ -51,7 +51,7 @@ aliases: ['/guides/deploying-wazuh-marketplace-app/','/guides/wazuh-marketplace-
5151

5252
This file contains all of your Wazuh credentials. The admin user and its associated password are needed when following the [Access the Wazuh App](#access-the-wazuh-app) section below.
5353

54-
```file {title="/root/.deployment-secrets.txt"}
54+
```file {title="/home/$SUDO_USER/.credentials"}
5555
# Admin user for the web user interface and Wazuh indexer. Use this user to log in to Wazuh dashboard
5656
indexer_username: 'admin'
5757
indexer_password: '3O*NRpS5B5*sohufTz?TuM.Vef6zoN5d'
@@ -93,8 +93,34 @@ aliases: ['/guides/deploying-wazuh-marketplace-app/','/guides/wazuh-marketplace-
9393
9494
![Screenshot of the login page](wuzah-login.png)
9595
96-
Now that you’ve accessed your Wazuh instance, you need to configure a [Wazuh Agent](https://documentation.wazuh.com/current/installation-guide/wazuh-agent/index.html) on the server you'd like to monitor with Wazuh.
96+
### Set up a Wazuh Agent
97+
98+
Now that you’ve accessed your Wazuh instance, you need to configure a [Wazuh Agent](https://documentation.wazuh.com/current/installation-guide/wazuh-agent/index.html) on the server you'd like to monitor with Wazuh. Before you add the agent, allow the server you want to install the agent on access to ports '1514' and '1515' on your Wazuh instance. You can run the following ufw commands to do so:
99+
100+
```command
101+
sudo ufw allow from $AGENTSERVERIP to any port 1514 proto tcp
102+
sudo ufw allow from $AGENTSERVERIP to any port 1515 proto tcp
103+
```
104+
105+
**Note:** Update `$AGENTSERVERIP` with the IP address you want to install the wazuh-agent
106+
107+
Once the firewall rules are added, you can now follow the steps in the Wazuh UI to deploy the Wazuh Agent. The Agent installation asks you for the system package you are installing the agent on (RPM/DEB/Windows/macOS), the *Server Address* (Domain or IP address of your Wazuh), and the *Agent Name* (unique identifier for the instance you are installing the agent on).
108+
109+
- **Select the package to download and install on your system:** RPM, DEB, Windows, macOS (Example: DEB amd64)
110+
- **Server address:** Domain or IP address of your newly installed Wazuh instance (Example: wazuhdomain.tld )
111+
- **Assign an agent name:** A unique identifier for the instance you are installing the agent (Example: database1)
112+
113+
Once you enter that information, Wazuh displays the installation commands:
114+
115+
```command
116+
wget https://packages.wazuh.com/4.x/apt/pool/main/w/wazuh-agent/wazuh-agent_4.7.5-1_amd64.deb && sudo WAZUH_MANAGER='wazuhdomain.tld' WAZUH_AGENT_NAME='database1' dpkg -i ./wazuh-agent_4.7.5-1_amd64.deb
117+
```
118+
```command
119+
sudo systemctl daemon-reload
120+
sudo systemctl enable wazuh-agent
121+
sudo systemctl start wazuh-agent
122+
```
97123

98124
For more documentation on Wazuh, check out [the official Wazuh documentation](https://documentation.wazuh.com/current/installation-guide/index.html) to learn how to further utilize your instance.
99125

100-
{{% content "marketplace-update-note-shortguide" %}}
126+
{{% content "marketplace-update-note-shortguide" %}}

0 commit comments

Comments
 (0)