Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unattended Wazuh packages downloader #1322

Closed
Tracked by #1190
c-bordon opened this issue Mar 10, 2022 · 3 comments
Closed
Tracked by #1190

Unattended Wazuh packages downloader #1322

c-bordon opened this issue Mar 10, 2022 · 3 comments
Assignees

Comments

@c-bordon
Copy link
Member

c-bordon commented Mar 10, 2022

We need to bring the functionality of wazuh-offline_download.sh to wazuh-install.sh, this will download the manager, filebeat, indexer, and dashboard packages.

For this, create the downloader directory and, inside, an sh library that is in charge of what is necessary to carry out the downloads.

We must also add a flag in wazuh-install.sh so that it downloads the packages, examples: -dw/--download-wazuh

@c-bordon c-bordon self-assigned this Mar 10, 2022
@alberpilot alberpilot changed the title Unattended Installation Offline Unattended Wazuh packages downloader Mar 10, 2022
@c-bordon
Copy link
Member Author

I am testing the script that downloads the packages from the entire Wazuh stack, at the moment I am not being able to invoke it correctly from wazuh-install.sh, I continue working on it.


cbordon@cbordon-MS-7C88:~/Documents/wazuh/repositorios/wazuh-packages/unattended_installer$ sudo ./wazuh-install.sh -dw deb
[sudo] password for cbordon: 
11/03/2022 16:46:13 INFO: Starting Wazuh installation assistant. Wazuh version: 4.3.0
11/03/2022 16:46:13 ERROR: The system is not supported, supported systems are: Red Hat Enterprise Linux 7, 8; CentOS 7, 8; Amazon Linux 2; Ubuntu 16.04, 18.04, 20.04

@c-bordon
Copy link
Member Author

With the installation of Indexer and Dashboard, the templates that were downloaded for Elasticsearch and Kibana are no longer necessary, now what we have to indicate is that in the case of doing a distributed installation we must modify the files:

/etc/wazuh-indexer/opensearch.yml
/etc/wazuh-dashboard/opensearch_dashboards.yml

@c-bordon
Copy link
Member Author

PR merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant