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

Change apt to dpkg for better performance. #89

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

c-bordon
Copy link
Member

related: wazuh/wazuh-packages#3004
related: #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.

@c-bordon c-bordon requested a review from a team September 30, 2024 15:24
@c-bordon c-bordon self-assigned this Sep 30, 2024
@c-bordon c-bordon merged commit 5fb2bec into main Sep 30, 2024
1 of 5 checks passed
@c-bordon c-bordon linked an issue Sep 30, 2024 that may be closed by this pull request
11 tasks
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

Successfully merging this pull request may close these issues.

Migrate 5.0.0 PRs from wazuh-package to the new repository
2 participants