Wazuh Update: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
=Update=
=Update=
*apt update
.
=Stoppen von diversen Diensten=
=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
*systemctl stop wazuh-indexer
=Set User and Password=
=Installation vom Indexer=
*user=admin
*apt-get install wazuh-indexer
*pass=123-Start
=Restart von Diensten=
*systemctl daemon-reload
*systemctl enable wazuh-indexer
*systemctl start wazuh-indexer
=Installation vom Manager=
*apt install wazuh-manager
=Installation des Dashboards=
*apt install wazuh-dashboard
 
=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

Add the repository if missing

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

Links