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/configuration+jvm+logging+secure #5

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

Conversation

autumnbz
Copy link

@autumnbz autumnbz commented Mar 7, 2018

setup章节,configuration+jvm+logging+secure四个文件,2.2 2.2.1 2.2.2 2.2.3翻译初版


[source,sh]
-------------------------------
ES_PATH_CONF=/path/to/my/config ./bin/elasticsearch
-------------------------------

Alternatively, you can `export` the `ES_PATH_CONF` environment variable via the
command line or via your shell profile.
你可以通过命令行或 shell 配置 `export` `ES_PATH_CONF` 环境变量。

Choose a reason for hiding this comment

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

此外,你可以在命令行或修改 shell profile 文件 export ES_PATH_CONF 以修改环境变量。

`/etc/sysconfig/elasticsearch` (for the RPM package). You will need to edit the
`ES_PATH_CONF=/etc/elasticsearch` entry in one of these files accordingly to
change the config directory location.
对于包版本,config 默认目录位置为 `/etc/elasticsearch` 。 可以通过 `ES_PATH_CONF` 环境变量更改 config 目录位置,但请注意,仅仅在 shell 中设置不够的。 相反,这个变量来源于

Choose a reason for hiding this comment

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

。后面多了空格


The configuration format is http://www.yaml.org/[YAML]. Here is an
example of changing the path of the data and logs directories:
配置格式是 http://www.yaml.org/[YAML] 。 以下是一个更改数据和日志目录路径的示例:

Choose a reason for hiding this comment

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

。后面多了空格


[source,yaml]
--------------------------------------------------
node:
name: ${prompt.text}
--------------------------------------------------

When starting Elasticsearch, you will be prompted to enter the actual value
like so:
启动 Elasticsearch 时,系统会提示你像这样输入实际值:

Choose a reason for hiding this comment

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

启动 Elasticsearch 时,系统会提示你输入实际值,例如:

This is most appropriate when you need fine-grained control over the logger (for
example, you want to send the logger to another file, or manage the logger
differently; this is a rare use-case).
当您需要对日志进行细粒度控制时(例如,你想发送日志到其他文件,或者管理不同日志;这种场景比较罕见),这是最合适的。

Choose a reason for hiding this comment

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

统一用 你

you need to migrate certain functionality in the future. By default,
deprecation logging is enabled at the WARN level, the level at which all
deprecation log messages will be emitted.
除了常规日志,Elasticsearch 允许你启用日志记录已弃用的操作。 例如,这可以让你尽早决定是否需要在将来迁移某些功能。

Choose a reason for hiding this comment

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

。后面多了空格


[source,sh]
----------------------------------------------------------------
bin/elasticsearch-keystore add the.setting.name.to.set
----------------------------------------------------------------

The tool will prompt for the value of the setting. To pass the value
through stdin, use the `--stdin` flag:
该工具支持通过 stdin 提示输入设置值。使用 `--stdin` 标识:

Choose a reason for hiding this comment

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

该工具会提示设置值。通过 stdin 传值,可以使用 --stdin 标识:

@howardhuanghua howardhuanghua changed the title Chapter/chapter2/setup/configuration+jvm+logging+secure setup/configuration+jvm+logging+secure 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