-
Notifications
You must be signed in to change notification settings - Fork 32
QADOCS tool installation guide
Luis González edited this page Oct 21, 2021
·
11 revisions
This tool has support for Linux and Windows(only parsing behavior tested) systems.
-
Build-Essentials
: How to install -
Python
(>=3.6.0): How to install -
Python-pip
(>=21.2.3): How to install -
Python3-devtools
: How to install -
ElasticSearch
: How to install Also, you can:
curl -fsSL https://artifacts.elastic.co/GPG-KEY-elasticsearch | apt-key add - && \
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-7.x.list && \
apt update && \
apt install -y elasticsearch
Also, you need to specify the RAM limit:
echo "-Xms1g" >> /etc/elasticsearch/jvm.options
echo "-Xmx1g" >> /etc/elasticsearch/jvm.options
-
npm (>=6.14.4)
:
To install npm on Ubuntu, Debian, and Linux Mint:
$ sudo apt install npm
To install npm on CentOS 8 (and newer), Fedora, and Red Hat:
$ sudo dnf install npm # also installs nodejs
To install npm on Arch Linux and Manjaro:
$ sudo pacman -S npm # also installs nodejs
-
Microsoft Visual C++ 14
(or higher versions) : How to install -
Git
(>=2.33) How to install -
Python
(>=3.6.0): How to install -
Python-pip
(>=21.2.3): How to install -
Docker Desktop
: How to install -
ElasticSearch
: How to install
For the RAM limit, add the following lines to config/jvm.options:
-Xms1g
-Xmx1g
-
npm (>=6.14.4)
: How to install
-
Install and check the necessary dependencies for your current OS (mentioned above).
-
Download the
wazuh-qa
repository, install python dependencies and thewazuh-qa
framework
-
For Linux
In
Linux Terminal
, run the next commands:wget https://github.com/wazuh/wazuh-qa/archive/refs/heads/master.zip && \ unzip master.zip && \ rm master.zip && \ cd wazuh-qa* && \ python3 -m pip install --upgrade pip && \ python3 -m pip install -r requirements.txt --no-cache-dir --upgrade --only-binary=:cryptography,grpcio: --ignore-installed && \ python3 -m pip install -r deps/wazuh_testing/wazuh_testing/qa_docs/requirements.txt && \ cd deps/wazuh_testing && \ python3 setup.py install
-
For Windows
Open
Windows Powershell
and run the next commands:git clone https://github.com/wazuh/wazuh-qa --depth 1 --branch=master cd wazuh-qa* python -m pip install --upgrade pip python -m pip install -r requirements.txt --no-cache-dir --upgrade --only-binary=:cryptography,grpcio: --ignore-installed python -m pip install -r deps/wazuh_testing/wazuh_testing/qa_docs/requirements.txt cd deps\wazuh_testing python setup.py install
- Check
qa-docs
command tool use guide or run the following line:
$ qa-docs -h