Add wazuh_install.sh
This commit is contained in:
commit
277ad10c9b
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
apt-get install gnupg apt-transport-https
|
||||
|
||||
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
|
||||
|
||||
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
|
||||
|
||||
apt-get update
|
||||
|
||||
apt-get -y install wazuh-manager
|
||||
|
||||
apt-get -y install filebeat
|
||||
|
||||
curl -so /etc/filebeat/filebeat.yml https://packages.wazuh.com/4.14/tpl/wazuh/filebeat/filebeat.yml
|
||||
Loading…
Reference in New Issue