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

Improved service status and output management in Installation assistant #82

Merged
merged 2 commits into from
Sep 30, 2024

Conversation

c-bordon
Copy link
Member

@c-bordon c-bordon commented Sep 27, 2024

related: wazuh/wazuh-packages#2953
related: #78

Test

root@cbordon-8722:~# bash wazuh-install.sh -a
27/09/2024 15:31:56 INFO: Starting Wazuh installation assistant. Wazuh version: 4.9.0
27/09/2024 15:31:56 INFO: Verbose logging redirected to /var/log/wazuh-install.log
27/09/2024 15:32:14 INFO: Verifying that your system meets the recommended minimum hardware requirements.
27/09/2024 15:32:14 INFO: Wazuh web interface port will be 443.
27/09/2024 15:32:19 INFO: --- Dependencies ----
27/09/2024 15:32:19 INFO: Installing apt-transport-https.
27/09/2024 15:32:23 INFO: Installing debhelper.
27/09/2024 15:32:51 INFO: Wazuh repository added.
27/09/2024 15:32:51 INFO: --- Configuration files ---
27/09/2024 15:32:51 INFO: Generating configuration files.
27/09/2024 15:32:52 INFO: Generating the root certificate.
27/09/2024 15:32:52 INFO: Generating Admin certificates.
27/09/2024 15:32:52 INFO: Generating Wazuh indexer certificates.
27/09/2024 15:32:52 INFO: Generating Filebeat certificates.
27/09/2024 15:32:52 INFO: Generating Wazuh dashboard certificates.
27/09/2024 15:32:53 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
27/09/2024 15:32:53 INFO: --- Wazuh indexer ---
27/09/2024 15:32:53 INFO: Starting Wazuh indexer installation.
27/09/2024 15:35:36 INFO: Wazuh indexer installation finished.
27/09/2024 15:35:36 INFO: Wazuh indexer post-install configuration finished.
27/09/2024 15:35:36 INFO: Starting service wazuh-indexer.
27/09/2024 15:35:46 INFO: wazuh-indexer service started.
27/09/2024 15:35:46 INFO: Initializing Wazuh indexer cluster security settings.
27/09/2024 15:35:48 INFO: Wazuh indexer cluster security configuration initialized.
27/09/2024 15:35:48 INFO: Wazuh indexer cluster initialized.
27/09/2024 15:35:48 INFO: --- Wazuh server ---
27/09/2024 15:35:48 INFO: Starting the Wazuh manager installation.
27/09/2024 15:37:30 INFO: Wazuh manager installation finished.
27/09/2024 15:37:30 INFO: Wazuh manager vulnerability detection configuration finished.
27/09/2024 15:37:30 INFO: Starting service wazuh-manager.
27/09/2024 15:37:46 INFO: wazuh-manager service started.
27/09/2024 15:37:46 INFO: Checking Wazuh API connection
27/09/2024 15:37:46 INFO: Wazuh API connection successful
27/09/2024 15:37:46 INFO: Starting Filebeat installation.
27/09/2024 15:38:12 INFO: Filebeat installation finished.
27/09/2024 15:38:14 INFO: Filebeat post-install configuration finished.
27/09/2024 15:38:14 INFO: Starting service filebeat.
27/09/2024 15:38:15 INFO: filebeat service started.
27/09/2024 15:38:15 INFO: Checking Filebeat connection
27/09/2024 15:38:15 INFO: Filebeat connection successful
27/09/2024 15:38:15 INFO: --- Wazuh dashboard ---
27/09/2024 15:38:15 INFO: Starting Wazuh dashboard installation.
27/09/2024 15:39:27 INFO: Wazuh dashboard installation finished.
27/09/2024 15:39:27 INFO: Wazuh dashboard post-install configuration finished.
27/09/2024 15:39:27 INFO: Starting service wazuh-dashboard.
27/09/2024 15:39:27 INFO: wazuh-dashboard service started.
27/09/2024 15:39:28 INFO: Updating the internal users.
27/09/2024 15:39:31 INFO: A backup of the internal users has been saved in the /etc/wazuh-indexer/internalusers-backup folder.
27/09/2024 15:39:37 INFO: The filebeat.yml file has been updated to use the Filebeat Keystore username and password.
27/09/2024 15:40:05 INFO: Initializing Wazuh dashboard web application.
27/09/2024 15:40:06 INFO: Wazuh dashboard web application initialized.
27/09/2024 15:40:06 INFO: --- Summary ---
27/09/2024 15:40:06 INFO: You can access the web interface https://<wazuh-dashboard-ip>:443
    User: admin
    Password: Z8qjWt8GQBiiaNz2fTjyaLk+0BqYUjso
27/09/2024 15:40:06 INFO: Installation finished.

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