Hi All,
I just started to follow wazuh documentation installation. However, why it tooks long time to install indexer?
What has been done
1 - putting info on all info on /etc/hosts
2 - getting these 2 config file
3 - fill in config.yml and generate certificate
4 - runs "bash wazuh-install.sh --wazuh-indexer hostname same as in config.yml
But now, it stuck so long as below info.
my tail -f /var/log/wazuh-install.log as below;
Hit:2
http://my.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3
http://my.archive.ubuntu.com/ubuntu jammy-backports InRelease
Get:4
https://packages.wazuh.com/4.x/apt stable InRelease [17.3 kB]
Hit:5
http://my.archive.ubuntu.com/ubuntu jammy-security InRelease
Get:6
https://packages.wazuh.com/4.x/apt stable/main amd64 Packages [31.5 kB]
Fetched 48.8 kB in 0s (115 kB/s)
Reading package lists...
01/09/2023 09:28:09 INFO: Wazuh repository added.
01/09/2023 09:28:09 INFO: --- Wazuh indexer ---
01/09/2023 09:28:09 INFO: Starting Wazuh indexer installation.
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
wazuh-indexer
0 upgraded, 1 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/688 MB of archives.
After this operation, 971 MB of additional disk space will be used.
Selecting previously unselected package wazuh-indexer.
(Reading database ... 78513 files and directories currently installed.)
Preparing to unpack .../wazuh-indexer_4.5.1-1_amd64.deb ...
Creating wazuh-indexer group... OK
Creating wazuh-indexer user... OK
Unpacking wazuh-indexer (4.5.1-1) ...
Setting up wazuh-indexer (4.5.1-1) ...
Created opensearch keystore in /etc/wazuh-indexer/opensearch.keystore
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-KCUR: 5.15.0-79-generic
NEEDRESTART-KEXP: 5.15.0-79-generic
NEEDRESTART-KSTA: 1
01/09/2023 09:29:06 INFO: Wazuh indexer installation finished.
01/09/2023 09:29:06 INFO: Wazuh indexer post-install configuration finished.
01/09/2023 09:29:06 INFO: Starting service wazuh-indexer.
Synchronizing state of wazuh-indexer.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable wazuh-indexer
Created symlink /etc/systemd/system/multi-user.target.wants/wazuh-indexer.service → /lib/systemd/system/wazuh-indexer.service."