elasticsearch curator離線源碼安裝

1.安裝setuptools

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

unzip setuptools-33.1.1.zipgit

cd setuptools-33.1.1github

python setup.py install微信

2.安裝urllib3

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

tar -zxvf urllib3-1.20.tar.gzurl

cd urllib3-1.20blog

python setup.py installip

3.安裝click

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

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

技術分享離不開您的支持,您的支持是我源源不斷的動力。

微信 支付寶

相關文章
相關標籤/搜索