参考:https://cnxfans.com/threads/121/
手册:https://www.elastic.co/guide/en/elasticsearch/reference/current/rpm.html#install-rpm
1 2 3 4 5 | wget https: //artifacts .elastic.co /downloads/elasticsearch/elasticsearch-6 .2.3.rpm wget https: //artifacts .elastic.co /downloads/elasticsearch/elasticsearch-6 .2.3.rpm.sha512 sudo rpm -- install elasticsearch-6.2.3.rpm sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable elasticsearch.service |