1.上传下载的java包,如http://download.oracle.com/otn-pub/java/jdk/8u77-b03/jre-8u77-linux-x64.rpm,目录可以自己定义一个,如 /root/elasticsearch/ 2.运行安装命令: yum install /root/elasticsearch/jre-8u77-linux-x64.rpm 如果提示没有安装成功, ls –al /root/elasticsearch/jre-8u77-linux-x64.rpm…