To install Elasticsearch Curator offline, you will first need to have pip installed on the offline host. Then you will be able to install Curator by following the procedure below:
-
Download the required packages on a online host using wget:
wget https://pypi.python.org/packages/source/u/urllib3/urllib3-1.8.3.tar.gz
wget https://github.com/elasticsearch/elasticsearch-py/archive/1.3.0.tar.gz -O elasticsearch-py.tar.gz
wget https://pypi.python.org/packages/source/a/argparse/argparse-1.2.1.tar.gz -O argparse-1.2.1.tar.gz
wget https://github.com/elasticsearch/curator/archive/v2.1.1.tar.gz -
Copy the packages over to the offline host
-
Login to the offline host and install the copied packages using pip.
Note that argparse needs to be installed only if python version is < 2.7.
Also version of the packages in wget commands reflect current version at this time.