개요

목적

esrally 설치

요구사항

python3.9 설치

[root@vultr ~]# repoquery -i python39
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Repository rabbitmq_erlang is listed more than once in the configuration
Repository rabbitmq_erlang-source is listed more than once in the configuration
마지막 메타 데이터 만료 확인 : 0:00:14 전에 2021년 11월 18일 () 오전 12시 25분 54초.
이름         : python39
버전         : 3.9.6
릴리즈       : 2.module_el8.5.0+897+68c4c210
아키텍처     : x86_64
크기         : 33 k
소스         : python39-3.9.6-2.module_el8.5.0+897+68c4c210.src.rpm
리포지터리   : appstream
요약         : Version 3.9 of the Python interpreter
URL          : https://www.python.org/
특허         : Python
설명         : Python 3.9 is an accessible, high-level, dynamically typed, interpreted
             : programming language, designed with an emphasis on code readability.
             : It includes an extensive standard library, and has a vast ecosystem of
             : third-party libraries.
             :
             : The python39 package provides the "python3.9" executable: the reference
             : interpreter for the Python language, version 3.
             : The majority of its standard library is provided in the python39-libs package,
             : which should be installed automatically along with python39.
             : The remaining parts of the Python standard library are broken out into the
             : python39-tkinter and python39-test packages, which may need to be installed
             : separately.
             :
             : Documentation for Python is provided in the python39-docs package.
             :
             : Packages containing additional libraries for Python are generally named with
             : the "python39-" prefix.
             :
             : For the unversioned "python" executable, see manual page "unversioned-python".
yum install python39 python39-pip python39-devel
[root@vultr ~]# update-alternatives --list | grep python
python3                 manual  /usr/bin/python3.9
python                  manual  /usr/bin/python3.9
[root@vultr ~]# update-alternatives --config python3

3 개의 프로그램이 'python3'를 제공합니다.

  선택    명령
-----------------------------------------------
*  1           /usr/bin/python3.6
   2           /usr/local/bin/python3.7
 + 3           /usr/bin/python3.9

현재 선택[+]을 유지하려면 엔터키를 누르고, 아니면 선택 번호를 입력하십시오:3

git 2.31 설치

jdk

export JAVA_HOME=/usr/share/elasticsearch/jdk/
PATH="$JAVA_HOME/bin/:$JAVA_HOME:$HOME/.local/bin:$HOME/bin:$PATH"
export PATH

pbzip2 설치

yum install pbzip2

pip 통한 esrally 설치

[aimpugn@vultr ~]$ python3 -m pip install --user --upgrade pip
[aimpugn@vultr ~]$ python3 -m pip install --user esrally
[aimpugn@vultr ~]$ $ ll ~/.local/bin/
합계 64
-rwxrwxr-x. 1 aimpugn aimpugn 967 11월 17 01:38 cpuinfo
-rwxrwxr-x. 1 aimpugn aimpugn 212 11월 17 01:38 esrally
-rwxrwxr-x. 1 aimpugn aimpugn 213 11월 17 01:38 esrallyd
-rwxrwxr-x. 1 aimpugn aimpugn 213 11월 17 01:38 jsonschema
-rwxrwxr-x. 1 aimpugn aimpugn 244 11월 17 01:38 normalizer
-rwxrwxr-x. 1 aimpugn aimpugn 220 11월 17 01:36 pip
-rwxrwxr-x. 1 aimpugn aimpugn 220 11월 17 01:36 pip3
-rwxrwxr-x. 1 aimpugn aimpugn 220 11월 17 01:36 pip3.9
-rwxrwxr-x. 1 aimpugn aimpugn 212 11월 17 01:38 pyrsa-decrypt
-rwxrwxr-x. 1 aimpugn aimpugn 212 11월 17 01:38 pyrsa-encrypt
-rwxrwxr-x. 1 aimpugn aimpugn 210 11월 17 01:38 pyrsa-keygen
-rwxrwxr-x. 1 aimpugn aimpugn 233 11월 17 01:38 pyrsa-priv2pub
-rwxrwxr-x. 1 aimpugn aimpugn 206 11월 17 01:38 pyrsa-sign
-rwxrwxr-x. 1 aimpugn aimpugn 210 11월 17 01:38 pyrsa-verify
-rwxrwxr-x. 1 aimpugn aimpugn 209 11월 17 01:38 tabulate
-rwxrwxr-x. 1 aimpugn aimpugn 948 11월 17 01:38 yappi
[aimpugn@vultr esrally]$ python3 -m venv .venv
[aimpugn@vultr ~]$ . ~/project_py/esrally/.venv/bin/activate
(.venv) [aimpugn@vultr ~]$
(.venv) [aimpugn@vultr ~]$ esrally --version
esrally 2.3.0

esrally 실행

Custom parameter sources