Wazuh Update: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
 
Zeile 1: Zeile 1:
 
=Update=
 
=Update=
.
+
*apt update
=Install the following packages if missing=
+
=Stoppen von diversen Diensten=
*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=
+
*systemctl stop wazuh-indexer
*user=admin
+
=Installation vom Indexer=
*pass=123-Start
+
*apt-get install wazuh-indexer
 +
=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

Aktuelle Version vom 2. März 2025, 11:19 Uhr

Update

  • apt update

Stoppen von diversen Diensten

  • systemctl stop filebeat
  • systemctl stop wazuh-dashboard
  • systemctl stop wazuh-indexer

Installation vom Indexer

  • apt-get install wazuh-indexer

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