Wazuh Update: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 1: | Zeile 1: | ||
=Update= | =Update= | ||
| − | *apt update | + | . |
| − | = | + | =Install the following packages if missing= |
| + | *apt-get install gnupg apt-transport-https | ||
| + | =Install the GPG key= | ||
| + | *curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg | ||
| + | =Add the repository if missing= | ||
| + | *echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list | ||
| + | =Update the packages information= | ||
| + | *apt-get update | ||
| + | =Wazuh central components= | ||
*systemctl stop filebeat | *systemctl stop filebeat | ||
*systemctl stop wazuh-dashboard | *systemctl stop wazuh-dashboard | ||
| − | + | =Set User and Password= | |
| − | = | + | *user=admin |
| − | * | + | *pass=123-Start |
| − | |||
| − | * | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
=Links= | =Links= | ||
*https://documentation.wazuh.com/current/upgrade-guide/upgrading-central-components.html | *https://documentation.wazuh.com/current/upgrade-guide/upgrading-central-components.html | ||
Version vom 2. März 2025, 11:14 Uhr
Update
.
Install the following packages if missing
- apt-get install gnupg apt-transport-https
Install the GPG key
- curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg
Add the repository if missing
- echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list
Update the packages information
- apt-get update
Wazuh central components
- systemctl stop filebeat
- systemctl stop wazuh-dashboard
Set User and Password
- user=admin
- pass=123-Start