-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup/install #4
base: cn
Are you sure you want to change the base?
setup/install #4
Conversation
修改了一些bug 修改您为你 自校验 install 章节 忽略 Elastic windows 版本未发布一句
Images are available for running Elasticsearch as Docker containers. They may be | ||
downloaded from the Elastic Docker Registry. The default image ships with | ||
{xpack-ref}/index.html[X-Pack] pre-installed. | ||
Docker 容器运行 Elasticsearch 的镜像可从 Elastic Docker 注册处下载。默认镜像预安装了 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elastic Docker Registry 建议保留原文
The Debian package for Elasticsearch can be <<install-deb,downloaded from our website>> | ||
or from our <<deb-repo,APT repository>>. It can be used to install | ||
Elasticsearch on any Debian-based system such as Debian and Ubuntu. | ||
Debian 包可以从 <<install-deb,从官网下载>> 或者 <<deb-repo,APT 仓库>>获取。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Debian 包可以从 <<install-deb,官网>> 或者 <<deb-repo,APT 仓库>>下载。
These instructions do not use `add-apt-repository` for several reasons: | ||
不适用 `add-apt-repository` 有以下原因: | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
多了一行空行 😂
|
||
|
||
. `add-apt-repository` 将 entries 添加到系统 `/etc/apt/sources.list` 文件, | ||
而不是`/etc/apt/sources.list.d` 中干净的 per-repository 文件。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add-apt-repository
将 entries 添加到了系统的 /etc/apt/sources.list
文件,而不是 /etc/apt/sources.list.d
中干净的 per-repository 文件。
@@ -123,34 +121,32 @@ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{version | |||
shasum -a 512 -c elasticsearch-{version}.deb.sha512 <1> | |||
sudo dpkg -i elasticsearch-{version}.deb | |||
-------------------------------------------- | |||
<1> Compares the SHA of the downloaded Debian package and the published checksum, which should output | |||
`elasticsearch-{version}.deb: OK`. | |||
<1> 比较下载的 Debian 包的 SHA 和 发布校验和,应该输出 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
比较下载的 Debian 包的 SHA 值和发布的校验和,应该输出
Elasticsearch loads its configuration from the `%ES_PATH_CONF%\elasticsearch.yml` | ||
file by default. The format of this config file is explained in | ||
<<settings>>. | ||
Elasticsearch默认从 `$ES_HOME/config/elasticsearch.yml` 加载配置。配置的具体解释见 <<settings>>。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Elasticsearch 默认从 $ES_HOME/config/elasticsearch.yml
加载配置。配置的具体解释见 <>。
installation, **including data within the data directory**. If you wish to retain your data upon | ||
uninstallation, it is recommended that you make a copy of the data directory before uninstallation. | ||
卸载将删除 **所有** 目录和它们的安装内容,**包括数据目录中的数据**。如果你想在卸载时保留你的数据 | ||
,建议你在卸载之前复制数据目录。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
卸载将删除 所有 目录和它们的安装内容,包括数据目录中的数据。如果你想在卸载时保留你的数据
,建议你在卸载之前复制数据目录。
<1> Compares the SHA of the downloaded `.zip` archive and the published checksum, which should output | ||
`elasticsearch-{version}.zip: OK`. | ||
<2> This directory is known as `$ES_HOME`. | ||
<1> 比较下载的 `.zip` 包的 SHA 和 发布校验和,应该输出 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
比较下载的 .zip
包的 SHA 值和发布的校验和,应该输出
<1> Compares the SHA of the downloaded `.tar.gz` archive and the published checksum, which should output | ||
`elasticsearch-{version}.tar.gz: OK`. | ||
<2> This directory is known as `$ES_HOME`. | ||
<1> 比较下载的 `.tar.gz` 包的 SHA 和 发布校验和,应该输出 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
比较下载的 .zip
包的 SHA 值和发布的校验和,应该输出
@@ -108,8 +104,8 @@ wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-{version | |||
shasum -a 512 -c elasticsearch-{version}.rpm.sha512 <1> | |||
sudo rpm --install elasticsearch-{version}.rpm | |||
-------------------------------------------- | |||
<1> Compares the SHA of the downloaded RPM and the published checksum, which should output | |||
`elasticsearch-{version}.rpm: OK`. | |||
<1> 比较下载的 RPM 的 SHA 和 发布校验和,应该输出 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
比较下载的 RPM 的 SHA 值和发布的校验和,应该输出
安装目录和安装子目录翻译初版。