-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7298 from wazuh/fix/6849-cloud-modules-templates
Add python and pip installation templates
- Loading branch information
Showing
6 changed files
with
91 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. Copyright (C) 2015 Wazuh, Inc. | ||
You can configure the integration with |service| either in the Wazuh manager or in a Wazuh agent. This choice depends solely on how you access your |service| infrastructure in your environment. | ||
|
||
You only need to install dependencies when configuring the integration with |service| in a Wazuh agent. The Wazuh manager already includes all the necessary dependencies. | ||
|
||
.. End of include file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
.. Copyright (C) 2015 Wazuh, Inc. | ||
You can install the required modules with Pip, the Python package manager. Most UNIX distributions have this tool available in their software repositories. | ||
|
||
.. tabs:: | ||
|
||
.. group-tab:: Yum | ||
|
||
.. code-block:: console | ||
# yum update && yum install python3-pip | ||
.. group-tab:: APT | ||
|
||
.. code-block:: console | ||
# apt-get update && apt-get install python3-pip | ||
We recommend using Pip 19.3 or later to simplify the installation of the dependencies. | ||
|
||
.. tabs:: | ||
|
||
.. group-tab:: Python 3.8–3.10 | ||
|
||
.. code-block:: console | ||
# pip3 install --upgrade pip | ||
.. group-tab:: Python 3.11 | ||
|
||
.. code-block:: console | ||
# pip3 install --upgrade pip --break-system-packages | ||
.. note:: | ||
|
||
This command modifies the default externally managed Python environment. See the `PEP 668 <https://peps.python.org/pep-0668/>`__ description for more information. | ||
|
||
To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the shebang of the |module_script| Python script with the interpreter in your virtual environment. For example, ``#!/path/to/your/virtual/environment/bin/python3``. | ||
|
||
|
||
.. End of include file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.. Copyright (C) 2015 Wazuh, Inc. | ||
The |service| module requires `Python 3 <https://www.python.org/downloads/>`__. Specifically, it's compatible with Python |py_cloud_cont_min|–|py_cloud_cont_max|. While later Python versions should work as well, we can't assure they are compatible. | ||
|
||
.. tabs:: | ||
|
||
.. group-tab:: Yum | ||
|
||
.. code-block:: console | ||
# yum update && yum install python3 | ||
.. group-tab:: APT | ||
|
||
.. code-block:: console | ||
# apt-get update && apt-get install python3 | ||
.. End of include file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters