简体   繁体   English

RHEL上的弹性搜索安装问题

[英]Elastic search installation questions on RHEL

I am working to install elastic search on a LINUX box.我正在努力在 LINUX 机器上安装弹性搜索。 As I understand, there are couple of options like tar and RPM.据我了解,有几个选项,如 tar 和 RPM。 I am not sure on difference between those two.我不确定这两者之间的区别。 I find tar very easy to download and unzip... Please help explain when you chose tar vs RPM or other options.我发现 tar 非常容易下载和解压缩...请帮助解释您何时选择 tar 与 RPM 或其他选项。

Also - I have multiple JRE versions on my servers.另外 - 我的服务器上有多个 JRE 版本。 Is there a way to specify JRE path to Elastic configuration?有没有办法指定弹性配置的 JRE 路径? At this point I exported JAVA_HOME and started Elastic Search?此时我导出JAVA_HOME并启动Elastic Search?

tar is a compressed file containing the required binary / config / other files for your application. tar 是一个压缩文件,包含应用程序所需的二进制文件/配置文件/其他文件。

RPM is a package manager which allows easier installation of the files which are contained in a tar or multiple tar files. RPM 是一个包管理器,它允许更轻松地安装包含在一个 tar 或多个 tar 文件中的文件。

using a package manager is usually preferable as it can install dependencies and allow cleaner removal or updating of applications.使用包管理器通常更可取,因为它可以安装依赖项并允许更干净地删除或更新应用程序。

After installation, I was also facing "bootstrap checks failed" every time I tried to put network.host to M/C IP.安装后,每次尝试将 network.host 放入 M/C IP 时,我也面临“引导程序检查失败”。

Below changes solved the problem -以下更改解决了问题-

network.host: 0.0.0.0
http.port: 9200
transport.host: localhost
transport.tcp.port: 9300

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM