wazuh / wazuh-packages

Wazuh - Tools for packages creation
https://wazuh.com
GNU General Public License v2.0
105 stars 97 forks source link

Added support for Ubuntu 24 #2966

Closed c-bordon closed 6 months ago

c-bordon commented 6 months ago

Close https://github.com/wazuh/wazuh-packages/issues/2965

This PR adds Ubuntu 24.04 to the list of supported OSes

Test:

vagrant@vagrant:~$ cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
vagrant@vagrant:~$ sudo bash wazuh-install.sh -a
28/05/2024 10:21:44 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
28/05/2024 10:21:44 INFO: Verbose logging redirected to /var/log/wazuh-install.log
28/05/2024 10:21:45 INFO: Verifying that your system meets the recommended minimum hardware requirements.
28/05/2024 10:21:52 INFO: Wazuh web interface port will be 443.
28/05/2024 10:21:55 INFO: --- Dependencies ----
28/05/2024 10:21:55 INFO: Installing apt-transport-https.
28/05/2024 10:22:01 INFO: Wazuh development repository added.
28/05/2024 10:22:01 INFO: --- Configuration files ---
28/05/2024 10:22:01 INFO: Generating configuration files.
28/05/2024 10:22:01 INFO: Generating the root certificate.
28/05/2024 10:22:01 INFO: Generating Admin certificates.
28/05/2024 10:22:01 INFO: Generating Wazuh indexer certificates.
28/05/2024 10:22:01 INFO: Generating Filebeat certificates.
28/05/2024 10:22:02 INFO: Generating Wazuh dashboard certificates.
28/05/2024 10:22:02 INFO: Created wazuh-install-files.tar. It contains the Wazuh cluster key, certificates, and passwords necessary for installation.
28/05/2024 10:22:02 INFO: --- Wazuh indexer ---
28/05/2024 10:22:02 INFO: Starting Wazuh indexer installation.
28/05/2024 10:23:59 INFO: Wazuh indexer installation finished.
28/05/2024 10:23:59 INFO: Wazuh indexer post-install configuration finished.
28/05/2024 10:23:59 INFO: Starting service wazuh-indexer.
28/05/2024 10:24:09 INFO: wazuh-indexer service started.
28/05/2024 10:24:09 INFO: Initializing Wazuh indexer cluster security settings.
28/05/2024 10:24:20 INFO: Wazuh indexer cluster security configuration initialized.
28/05/2024 10:24:21 INFO: Wazuh indexer cluster initialized.
28/05/2024 10:24:21 INFO: --- Wazuh server ---
28/05/2024 10:24:21 INFO: Starting the Wazuh manager installation.
28/05/2024 10:25:41 INFO: Wazuh manager installation finished.
28/05/2024 10:25:41 INFO: Wazuh manager vulnerability detection configuration finished.
28/05/2024 10:25:41 INFO: Starting service wazuh-manager.
28/05/2024 10:25:52 INFO: wazuh-manager service started.
28/05/2024 10:25:52 INFO: Starting Filebeat installation.
28/05/2024 10:26:15 INFO: Filebeat installation finished.
28/05/2024 10:26:24 INFO: Filebeat post-install configuration finished.
28/05/2024 10:26:24 INFO: Starting service filebeat.
28/05/2024 10:26:25 INFO: filebeat service started.
28/05/2024 10:26:25 INFO: --- Wazuh dashboard ---
28/05/2024 10:26:25 INFO: Starting Wazuh dashboard installation.
28/05/2024 10:28:21 INFO: Wazuh dashboard installation finished.
28/05/2024 10:28:22 INFO: Wazuh dashboard post-install configuration finished.
28/05/2024 10:28:22 INFO: Starting service wazuh-dashboard.
28/05/2024 10:28:22 INFO: wazuh-dashboard service started.
28/05/2024 10:28:23 INFO: Updating the internal users.
28/05/2024 10:28:26 INFO: A backup of the internal users has been saved in the /etc/wazuh-indexer/internalusers-backup folder.
28/05/2024 10:29:17 INFO: Initializing Wazuh dashboard web application.
28/05/2024 10:29:18 INFO: Wazuh dashboard web application initialized.
28/05/2024 10:29:18 INFO: --- Summary ---
28/05/2024 10:29:18 INFO: You can access the web interface https://<wazuh-dashboard-ip>:443
    User: admin
    Password: +jpnZf1KBZOAwsr2xt6dFmwYMi?aghS8
28/05/2024 10:29:18 INFO: Installation finished.