---
title: 安装ESRally测试工具
description: "1. 下载测试工具。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengbds/testguide/tstg/kunpengbdsest_11_0003.html
sourcePath: /source/zh/kunpengbds/testguide/tstg/kunpengbdsest_11_0003.html
indexId: 5c8bcfdb74803df6f15de036ed9382ec1410a0dce04bfdd461380f5ef3001eb263
---
# 安装ESRally测试工具

1. 下载测试工具。
  1 2 3 wget https://mirrors.huaweicloud.com/kunpeng/archive/kunpeng_solution/bigdata/Tools/esrally-test-tools.tar.gz tar -zxf esrally-test-tools-1.0.2.tar.gz cd esrally-test-tools

2. 配置测试工具。

  a. 打开配置文件。
    1 vi conf/config

  b. 按“i”进入编辑模式，如下修改“conf/config”文件。
    1 2 3 4 5 6 7 8 9 #rpm pkg name --保持默认即可 git_rpm_name=git-2.21.0-1.el7 python3_rpm_name=python-3.7.5-1.el7 #esrally config --保持默认即可 esrally_version=1.0.0 teams_version=6.1 tracks_version=6 #es config --修改为es集群某个节点的主机名:http端口 es_ip_port=agent1:9200

  c. 按“Esc”键，输入:wq!，按“Enter”保存并退出编辑。
