wazuh / wazuh-installation-assistant

Wazuh - Installation assistant
https://wazuh.com/
GNU General Public License v2.0
0 stars 3 forks source link

Change apt to dpkg for better performance. #89

Closed c-bordon closed 2 weeks ago

c-bordon commented 2 weeks ago

related: https://github.com/wazuh/wazuh-packages/pull/3004 related: https://github.com/wazuh/wazuh-installation-assistant/issues/78

Test

root@ubuntu-jammy:~# bash wazuh-install.sh -a
30/09/2024 15:17:32 INFO: Starting Wazuh installation assistant. Wazuh version: 4.9.0
30/09/2024 15:17:32 INFO: Verbose logging redirected to /var/log/wazuh-install.log
30/09/2024 15:17:34 INFO: Verifying that your system meets the recommended minimum hardware requirements.
30/09/2024 15:17:34 INFO: Wazuh web interface port will be 443.
30/09/2024 15:17:38 INFO: Wazuh repository added.
30/09/2024 15:17:38 INFO: --- Configuration files ---
30/09/2024 15:17:38 INFO: Generating configuration files.
30/09/2024 15:17:39 INFO: Generating the root certificate.
30/09/2024 15:17:39 INFO: Generating Admin certificates.
30/09/2024 15:17:39 INFO: Generating Wazuh indexer certificates.
30/09/2024 15:17:39 INFO: Generating Filebeat certificates.
30/09/2024 15:17:39 INFO: Generating Wazuh dashboard certificates.
30/09/2024 15:17:40 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
30/09/2024 15:17:40 INFO: --- Wazuh indexer ---
30/09/2024 15:17:40 INFO: Starting Wazuh indexer installation.
30/09/2024 15:17:56 INFO: Wazuh indexer installation finished.
30/09/2024 15:17:56 INFO: Wazuh indexer post-install configuration finished.
30/09/2024 15:17:56 INFO: Starting service wazuh-indexer.
30/09/2024 15:18:06 INFO: wazuh-indexer service started.
30/09/2024 15:18:06 INFO: Initializing Wazuh indexer cluster security settings.
30/09/2024 15:18:09 INFO: Wazuh indexer cluster security configuration initialized.
30/09/2024 15:18:09 INFO: Wazuh indexer cluster initialized.
30/09/2024 15:18:09 INFO: --- Wazuh server ---
30/09/2024 15:18:09 INFO: Starting the Wazuh manager installation.
30/09/2024 15:18:52 INFO: Wazuh manager installation finished.
30/09/2024 15:18:52 INFO: Wazuh manager vulnerability detection configuration finished.
30/09/2024 15:18:52 INFO: Starting service wazuh-manager.
30/09/2024 15:19:08 INFO: wazuh-manager service started.
30/09/2024 15:19:08 INFO: Checking Wazuh API connection
30/09/2024 15:19:09 INFO: Wazuh API connection successful
30/09/2024 15:19:09 INFO: Starting Filebeat installation.
30/09/2024 15:19:28 INFO: Filebeat installation finished.
30/09/2024 15:19:30 INFO: Filebeat post-install configuration finished.
30/09/2024 15:19:30 INFO: Starting service filebeat.
30/09/2024 15:19:31 INFO: filebeat service started.
30/09/2024 15:19:31 INFO: Checking Filebeat connection
30/09/2024 15:19:31 INFO: Filebeat connection successful
30/09/2024 15:19:31 INFO: --- Wazuh dashboard ---
30/09/2024 15:19:31 INFO: Starting Wazuh dashboard installation.
30/09/2024 15:20:12 INFO: Wazuh dashboard installation finished.
30/09/2024 15:20:12 INFO: Wazuh dashboard post-install configuration finished.
30/09/2024 15:20:12 INFO: Starting service wazuh-dashboard.
30/09/2024 15:20:13 INFO: wazuh-dashboard service started.
30/09/2024 15:20:13 INFO: Updating the internal users.
30/09/2024 15:20:16 INFO: A backup of the internal users has been saved in the /etc/wazuh-indexer/internalusers-backup folder.
30/09/2024 15:20:26 INFO: The filebeat.yml file has been updated to use the Filebeat Keystore username and password.
30/09/2024 15:20:26 INFO: The new password for Filebeat is ?QoMwwi1qsohWkNSQi?2?79M?UUaYzgV
30/09/2024 15:20:55 INFO: The password for the wazuh user is SBZBd4RqzPw?DW0VoWmq.?t8fs79j8ug
30/09/2024 15:20:55 INFO: The password for the wazuh-wui user is A7w13lV*k5F+PSzugvwTpPzCJa23UE6O
30/09/2024 15:20:55 INFO: Initializing Wazuh dashboard web application.
30/09/2024 15:20:56 INFO: Wazuh dashboard web application not yet initialized. Waiting...
30/09/2024 15:21:12 INFO: Wazuh dashboard web application not yet initialized. Waiting...
30/09/2024 15:21:27 INFO: Wazuh dashboard web application initialized.
30/09/2024 15:21:27 INFO: --- Summary ---
30/09/2024 15:21:27 INFO: You can access the web interface https://<wazuh-dashboard-ip>:443
    User: admin
    Password: ?QoMwwi1qsohWkNSQi?2?79M?UUaYzgV
30/09/2024 15:21:27 INFO: Installation finished.
root@ubuntu-jammy:~# bash wazuh-install.sh -a
30/09/2024 15:21:37 INFO: Starting Wazuh installation assistant. Wazuh version: 4.9.0
30/09/2024 15:21:37 INFO: Verbose logging redirected to /var/log/wazuh-install.log
30/09/2024 15:21:45 ERROR: Wazuh manager already installed.
30/09/2024 15:21:45 ERROR: Wazuh indexer already installed.
30/09/2024 15:21:45 ERROR: Wazuh dashboard already installed.
30/09/2024 15:21:45 ERROR: Filebeat already installed.
30/09/2024 15:21:45 INFO: If you want to overwrite the current installation, run this script adding the option -o/--overwrite. This will erase all the existing configuration and data.