Skip to content
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

Open
wants to merge 4 commits into
base: cn
Choose a base branch
from

Conversation

autumnbz
Copy link

@autumnbz autumnbz commented Mar 5, 2018

安装目录和安装子目录翻译初版。

@Littlesqx Littlesqx self-requested a review September 26, 2018 06:24
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 注册处下载。默认镜像预安装了

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 仓库>>获取。

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` 有以下原因:


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 文件。

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 和 发布校验和,应该输出

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>>。

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.
卸载将删除 **所有** 目录和它们的安装内容,**包括数据目录中的数据**。如果你想在卸载时保留你的数据
,建议你在卸载之前复制数据目录。

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 和 发布校验和,应该输出

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 和 发布校验和,应该输出

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 和 发布校验和,应该输出

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

比较下载的 RPM 的 SHA 值和发布的校验和,应该输出

@howardhuanghua howardhuanghua changed the title chapter/chapter2/setup/install setup/install Nov 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants