wazuh-agent-i 重命名为 wazuh-agent-installer.sh
File renamed without changes
wazuh-installer-local.sh(file created)
| @@ -0,0 +1,7 @@ | |||
| 1 | + | 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 | |
| 2 | + | 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 | |
| 3 | + | apt-get update | |
| 4 | + | WAZUH_MANAGER="192.168.184.204" apt-get install wazuh-agent -y | |
| 5 | + | systemctl daemon-reload | |
| 6 | + | systemctl enable wazuh-agent | |
| 7 | + | systemctl start wazuh-agent | |
wazuh-agent-i
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | 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 | |
| 2 | 2 | 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 | |
| 3 | 3 | apt-get update | |
| 4 | - | WAZUH_MANAGER="freak.palmasolutions.net" apt-get install wazuh- -y | |
| 4 | + | WAZUH_MANAGER="freak.palmasolutions.net" apt-get install wazuh-agent -y | |
| 5 | 5 | systemctl daemon-reload | |
| 6 | 6 | systemctl enable wazuh-agent | |
| 7 | 7 | systemctl start wazuh-agent | |
wazuh-agent-i(file created)
| @@ -0,0 +1,7 @@ | |||
| 1 | + | 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 | |
| 2 | + | 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 | |
| 3 | + | apt-get update | |
| 4 | + | WAZUH_MANAGER="freak.palmasolutions.net" apt-get install wazuh- -y | |
| 5 | + | systemctl daemon-reload | |
| 6 | + | systemctl enable wazuh-agent | |
| 7 | + | systemctl start wazuh-agent | |