ES curator离线安装与部署
生活随笔
收集整理的這篇文章主要介紹了
ES curator离线安装与部署
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1.版本:
es:6.5.1
curator:5.8.4 下載地址:https://www.elastic.co/guide/en/elasticsearch/client/curator/current/yum-repository.html#_signing_key_2
2.連接不上網站怎么辦?
出現無法訪問此網頁的話,去修改下本地dns
具體方法:
https://blog.csdn.net/weixin_43736084/article/details/121775676
3.下載
我這里用的離線安裝,因為線上環境是隔離的,沒有外網,根據CentOS版本選擇,執行命令查看
[root@localhost curator-5.6.0]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo)curator選擇最好看官網上的版本兼容性
我一開始選擇的是5.6.0,但是執行rpm -ivh elasticsearch-curator-5.5.4-1.x86_64.rpm報錯如下:
[root@localhost curator-5.6.0]# rpm -ivh elasticsearch-curator-5.6.0-1.x86_64.rpm warning: elasticsearch-curator-5.6.0-1.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID d88e42b4: NOKEY error: Failed dependencies:openssl-libs >= 1:1.0.2k-8.el7 is needed by elasticsearch-curator-5.6.0-1.x86_64 [root@localhost curator-5.6.0]# curator --version Traceback (most recent call last):File "/home/buh/.local/lib/python3.6/site-packages/cx_Freeze/initscripts/__startup__.py", line 14, in runFile "/home/buh/.local/lib/python3.6/site-packages/cx_Freeze/initscripts/Console.py", line 26, in runFile "run_singleton.py", line 24, in <module>File "/home/buh/curator/curator/__init__.py", line 6, in <module>File "/home/buh/curator/curator/utils.py", line 2, in <module>File "/home/buh/.local/lib/python3.6/site-packages/elasticsearch/__init__.py", line 17, in <module>File "/home/buh/.local/lib/python3.6/site-packages/elasticsearch/client/__init__.py", line 4, in <module>File "/home/buh/.local/lib/python3.6/site-packages/elasticsearch/transport.py", line 4, in <module>File "/home/buh/.local/lib/python3.6/site-packages/elasticsearch/connection/__init__.py", line 3, in <module>File "/home/buh/.local/lib/python3.6/site-packages/elasticsearch/connection/http_urllib3.py", line 2, in <module>File "/usr/local/lib/python3.6/ssl.py", line 101, in <module> ImportError: /lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by /opt/elasticsearch-curator/lib/_ssl.cpython-36m-x86_64-linux-gnu.so)因為當前linux版本的OPENSSL版本太低導致的,最好不要隨便去更新OPENSSL版本,可能導致系統崩潰,如果你有經驗的話可以
后面找到了官網的回復說在后續的版本中會加入此問題的依賴,所以下載了最新的5.8版本就成功安裝好了。
2.安裝
直接執行rpm -ivh elasticsearch-curator-5.8.4-1.x86_64.rpm就可以了
[root@localhost curator-5.6.0]# ls elasticsearch-curator-5.8.4-1.x86_64.rpm [root@localhost curator-5.6.0]# rpm -ivh elasticsearch-curator-5.8.4-1.x86_64.rpm warning: elasticsearch-curator-5.8.4-1.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID d88e42b4: NOKEY Preparing... ################################# [100%] Updating / installing...1:elasticsearch-curator-5.8.4-1 ################################# [100%] [root@localhost curator-5.6.0]# [root@localhost curator-5.6.0]# curator --version curator, version 5.8.4總結
以上是生活随笔為你收集整理的ES curator离线安装与部署的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 微软严管Windows商店软件:山寨的、
- 下一篇: 10分钟充电98% 硅负极锂电池迎来重大