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 all references to HP-UX package to tar.gz #7107

Merged
merged 2 commits into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions source/development/packaging/generate-hpux-package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ Execute the ``generate_wazuh_packages.sh`` script, with the different options yo
Usage: ./generate_wazuh_packages.sh [OPTIONS]
-e Install all the packages necessaries to build the TAR package
-e Install all the packages necessaries to build the package
-b <branch> Select Git branch. Example v|WAZUH_CURRENT_HPUX|
-s <tar_directory> Directory to store the resulting tar package. By default, an output folder will be created.
-p <tar_home> Installation path for the package. By default: /var
-c, --checksum Compute the SHA512 checksum of the TAR package.
-s <pkg_directory> Directory to store the resulting package. By default, an output folder will be created.
-p <pkg_home> Installation path for the package. By default: /var
-c, --checksum Compute the SHA512 checksum of the package.
-d <path_to_depot>, --depot Change the path to depothelper package (by default current path).
-h Shows this help
Expand Down
2 changes: 1 addition & 1 deletion source/installation-guide/packages-list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ AIX
HP-UX
^^^^^

.. |HPUX_itanium| replace:: `wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar <https://packages.wazuh.com/|WAZUH_CURRENT_MAJOR_HPUX|/hp-ux/wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar>`__ (`sha512 <https://packages.wazuh.com/|WAZUH_CURRENT_MAJOR_HPUX|/checksums/wazuh/|WAZUH_CURRENT_HPUX|/wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar.sha512>`__)
.. |HPUX_itanium| replace:: `wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar.gz <https://packages.wazuh.com/|WAZUH_CURRENT_MAJOR_HPUX|/hp-ux/wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar.gz>`__ (`sha512 <https://packages.wazuh.com/|WAZUH_CURRENT_MAJOR_HPUX|/checksums/wazuh/|WAZUH_CURRENT_HPUX|/wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar.gz.sha512>`__)

+-----------------+--------------+-------------------+
| Version | Architecture | Package |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,20 @@ The installed agent runs on the endpoint you want to monitor and communicates wi

.. note:: You need root user privileges to run all the commands described below.

#. To start the installation process, download the `HP-UX installer <https://packages.wazuh.com/|WAZUH_CURRENT_MAJOR_HPUX|/hp-ux/wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar>`_.
#. To start the installation process, download the `HP-UX installer <https://packages.wazuh.com/|WAZUH_CURRENT_MAJOR_HPUX|/hp-ux/wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar.gz>`_.

#. Create the ``wazuh`` user and group.

.. code-block:: console

# groupadd wazuh
# useradd -G wazuh wazuh

#. Uncompress the package in ``/``.

.. code-block:: console


# gzip -d wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar.gz
jnasselle marked this conversation as resolved.
Show resolved Hide resolved
# tar -xvf wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar


Expand Down
11 changes: 6 additions & 5 deletions source/upgrade-guide/wazuh-agent/hp-ux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
Upgrading Wazuh agents on HP-UX systems
=======================================

Follow the steps to upgrade the Wazuh agent on HP-UX systems.
Follow the steps to upgrade the Wazuh agent on HP-UX systems.

#. Download the latest `HP-UX installer <https://packages.wazuh.com/|WAZUH_CURRENT_MAJOR_HPUX|/hp-ux/wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar>`_.
#. Download the latest `HP-UX installer <https://packages.wazuh.com/|WAZUH_CURRENT_MAJOR_HPUX|/hp-ux/wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar.gz>`_.

#. Stop the Wazuh agent.

Expand All @@ -26,8 +26,8 @@ Follow the steps to upgrade the Wazuh agent on HP-UX systems.
# cp /var/ossec/etc/client.keys ~/client.keys.bk


#. **Only for upgrades from version 4.2.7 or lower**:
#. **Only for upgrades from version 4.2.7 or lower**:

#. Delete the ossec user and group.

.. code-block:: console
Expand All @@ -46,6 +46,7 @@ Follow the steps to upgrade the Wazuh agent on HP-UX systems.

.. code-block:: console

# gzip -d wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar.gz
jnasselle marked this conversation as resolved.
Show resolved Hide resolved
# tar -xvf wazuh-agent-|WAZUH_CURRENT_HPUX|-|WAZUH_REVISION_HPUX|-hpux-11v3-ia64.tar


Expand All @@ -68,4 +69,4 @@ Follow the steps to upgrade the Wazuh agent on HP-UX systems.
.. note::
:class: not-long

When upgrading agents from versions earlier than 4.x, make sure that the communication protocol is compatible. Up to that point, UDP was the default protocol and it was switched to TCP for later versions. Edit the agent configuration file ``ossec.conf`` to update the :ref:`protocol <server_protocol>` or make sure that your Wazuh manager accepts :ref:`both protocols<manager_protocol>`.
When upgrading agents from versions earlier than 4.x, make sure that the communication protocol is compatible. Up to that point, UDP was the default protocol and it was switched to TCP for later versions. Edit the agent configuration file ``ossec.conf`` to update the :ref:`protocol <server_protocol>` or make sure that your Wazuh manager accepts :ref:`both protocols<manager_protocol>`.
Loading