Skip to content

Commit

Permalink
Merge pull request #7072 from wazuh/7070-keystore-exec-order
Browse files Browse the repository at this point in the history
Fix Keystore execution order
  • Loading branch information
javimed authored Feb 28, 2024
2 parents 2340b0c + ca8bcf2 commit ca3c940
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
18 changes: 9 additions & 9 deletions source/deployment-options/offline-installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,22 +217,22 @@ Installing the Wazuh manager
# dpkg -i ./wazuh-offline/wazuh-packages/wazuh-manager*.deb
#. Enable and start the Wazuh manager service.
#. Save the Wazuh indexer username and password into the Wazuh manager keystore using the wazuh-keystore tool:

.. include:: /_templates/installations/wazuh/common/enable_wazuh_manager_service.rst
.. code-block:: console
#. Run the following command to verify that the Wazuh manager status is active.
# /var/ossec/bin/wazuh-keystore -f indexer -k username -v <INDEXER_USERNAME>
# /var/ossec/bin/wazuh-keystore -f indexer -k password -v <INDEXER_PASSWORD>
.. include:: /_templates/installations/wazuh/common/check_wazuh_manager.rst
.. note:: The default offline-installation credentials are ``admin``:``admin``

#. Save the Wazuh indexer username and password into the Wazuh manager keystore using the wazuh-keystore tool:
#. Enable and start the Wazuh manager service.

.. code-block:: console
.. include:: /_templates/installations/wazuh/common/enable_wazuh_manager_service.rst

# /var/ossec/bin/wazuh-keystore -f indexer -k username -v <INDEXER_USERNAME>
# /var/ossec/bin/wazuh-keystore -f indexer -k password -v <INDEXER_PASSWORD>
#. Run the following command to verify that the Wazuh manager status is active.

.. note:: The default offline-installation credentials are ``admin``:``admin``
.. include:: /_templates/installations/wazuh/common/check_wazuh_manager.rst

Installing Filebeat
~~~~~~~~~~~~~~~~~~~
Expand Down
19 changes: 9 additions & 10 deletions source/installation-guide/wazuh-server/step-by-step.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,22 @@ Installing the Wazuh manager
# apt-get -y install wazuh-manager|WAZUH_MANAGER_DEB_PKG_INSTALL|
#. Enable and start the Wazuh manager service.

.. include:: /_templates/installations/wazuh/common/enable_wazuh_manager_service.rst
#. Save the Wazuh indexer username and password into the Wazuh manager keystore using the wazuh-keystore tool:

.. code-block:: console
#. Run the following command to verify the Wazuh manager status.
# /var/ossec/bin/wazuh-keystore -f indexer -k username -v <INDEXER_USERNAME>
# /var/ossec/bin/wazuh-keystore -f indexer -k password -v <INDEXER_PASSWORD>
.. include:: /_templates/installations/wazuh/common/check_wazuh_manager.rst
.. note:: The default step-by-step installation credentials are ``admin``:``admin``

#. Save the Wazuh indexer username and password into the Wazuh manager keystore using the wazuh-keystore tool:
#. Enable and start the Wazuh manager service.

.. code-block:: console
.. include:: /_templates/installations/wazuh/common/enable_wazuh_manager_service.rst

# /var/ossec/bin/wazuh-keystore -f indexer -k username -v <INDEXER_USERNAME>
# /var/ossec/bin/wazuh-keystore -f indexer -k password -v <INDEXER_PASSWORD>
#. Run the following command to verify the Wazuh manager status.

.. note:: The default step-by-step installation credentials are ``admin``:``admin``
.. include:: /_templates/installations/wazuh/common/check_wazuh_manager.rst

.. _wazuh_server_multi_node_filebeat:

Expand Down

0 comments on commit ca3c940

Please sign in to comment.