elasticsearch curator离线源码安装

1.安装setuptools

wget https://pypi.io/packages/source/s/setuptools/setuptools-33.1.1.zip

unzip setuptools-33.1.1.zip

cd setuptools-33.1.1

python setup.py install

2.安装urllib3

wget https://pypi.python.org/packages/source/u/urllib3/urllib3-1.20.tar.gz

tar -zxvf urllib3-1.20.tar.gz

cd urllib3-1.20

python setup.py install

3.安装click

wget https://pypi.python.org/packages/95/d9/c3336b6b5711c3ab9d1d3a80f1a3e2afeb9d8c02a7166462f6cc96570897/click-6.7.tar.gz#md5=fc4cc00c4863833230d3af92af48abd4

tar -zxvf click-6.7.tar.gz

cd click-6.7

python setup.py install

4.安装certifi

wget https://github.com/certifi/python-certifi/archive/master.zip

unzip python-certifi-master.zip

cd python-certifi-master

python setup.py install

5.安装PyYAML

wget http://pyyaml.org/download/pyyaml/PyYAML-3.12.tar.gz -O PyYAML-3.12.tar.gz

tar -zxvf PyYAML-3.12.tar.gz

cd PyYAML-3.12

python setup.py install

6.安装voluptuous

wget https://github.com/alecthomas/voluptuous/archive/0.9.3.tar.gz

tar -zxvf 0.9.3.tar.gz

cd voluptuous-0.9.3/

python setup.py install

7.安装elasticsearch(python-module)

wget https://github.com/elastic/elasticsearch-py/archive/5.4.0.tar.gz -O elasticsearch-py.tar.gz

tar -zxvf elasticsearch-py.tar.gz

cd elasticsearch-py-5.4.0/

python setup.py install

8.安装elasticsearch-curator(python-module)

wget https://github.com/elastic/curator/archive/v5.2.0.tar.gz -O elasticsearch-curator.tar.gz

tar -zxvf elasticsearch-curator.tar.gz

cd curator-5.2.0/

python setup.py install

9.验证

执行以下命令

curator_cli --help

技术分享离不开您的支持,您的支持是我源源不断的动力。

微信支付宝

转载于:https://my.oschina.net/u/1184659/blog/1554160

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值