Ver código fonte

docs(zh_CN/operation):translate five files into chinese

ican_do_it 4 anos atrás
pai
commit
c7c511957f

+ 9 - 9
docs/zh_CN/operation/configuration_file.md

@@ -1,5 +1,5 @@
 # 基本配置
-Kuiper的配置文件位于$ kuiper / etc / kuiper.yaml中。 配置文件为yaml格式。
+Kuiper 的配置文件位于 `$ kuiper / etc / kuiper.yaml` 中。 配置文件为 yaml 格式。
 
 ## 日志级别
 
@@ -12,15 +12,15 @@ basic:
   # true|false, if it's set to true, then the log will be print to log file
   fileLog: true
 ```
-## Cli端口
+## Cli 端口
 ```yaml
 basic:
   # CLI port
   port: 20498
 ```
-CLI服务器监听端口
+CLI 服务器监听端口
 
-## REST服务配置
+## REST 服务配置
 
 ```yaml
 basic:
@@ -32,19 +32,19 @@ basic:
 ```
 
 #### restPort
-REST http服务器监听端口
+REST http 服务器监听端口
 
 #### restTls
-TLS证书cert文件和key文件位置。如果restTls选项未配置,则REST服务器将启动为http服务器,否则启动为https服务器。
+TLS证书 cert 文件和 key 文件位置。如果 restTls 选项未配置,则 REST 服务器将启动为 http 服务器,否则启动为 https 服务器。
 
-## Prometheus配置
+## Prometheus 配置
 
-如果``prometheus``参数设置为true,Kuiper 将把运行指标暴露到prometheus。Prometheus将运行在``prometheusPort``参数指定的端口上。
+如果 `prometheus` 参数设置为 true,Kuiper 将把运行指标暴露到 prometheus。Prometheus 将运行在 `prometheusPort` 参数指定的端口上。
 
 ```yaml
 basic:
   prometheus: true
   prometheusPort: 20499
 ```
-在如上默认配置中,Kuiper暴露于Prometheusd 运行指标可通过``http://localhost:20499/metrics``访问。
+在如上默认配置中,Kuiper暴露于 Prometheusd 运行指标可通过 `http://localhost:20499/metrics` 访问。
 

+ 5 - 5
docs/zh_CN/operation/install/cent-os.md

@@ -1,14 +1,14 @@
 # CentOS
 
-This document describes how to install on CentOS.
+本文件描述如何在 CentOS 上安装。
 
-## Install from zip
+## 从 ZIP 文件安装
 
-Unzip the installation package.
+解压安装包。
 
 ``unzip kuiper-centos7-v0.0.1.zip``
 
-Run the ``cli`` to verify Kuiper is installed successfully or not.
+运行 `cli` 来验证 Kuiper 是否已成功安装。
 
 ```shell
 # cd kuiper
@@ -16,5 +16,5 @@ Run the ``cli`` to verify Kuiper is installed successfully or not.
 kuiper version 0.0.1
 ```
 
-If it can print the version, then Kuiper is installed successfully. 
+如果可以打印版本,则说明 Kuiper 已成功安装。
 

+ 12 - 12
docs/zh_CN/operation/install/overview.md

@@ -1,13 +1,13 @@
-# Installation instruction
+# 安装说明
 
-Please download the installation package, and refer to below for the instruction of installing for different operate systems.
+请下载安装程序包,有关不同操作系统的安装说明,请参阅以下内容。
 
 - [Cent-OS](cent-os.md)
 - ...
 
-# Installation structure 
+# 安装目录结构 
 
-Below is the directory structure after installation. 
+下面是安装后的目录结构。
 
 ```shell
 bin
@@ -22,26 +22,26 @@ log
 
 ## bin
 
-The ``bin`` directory includes all of executable files. Such as ``cli`` command.
+`bin` 目录包含所有可执行文件。 如 `cli` 命令。
 
 ## etc
 
-The ``etc`` directory contains the configuration files of Kuiper. Such as MQTT source configurations etc.
+`etc` 目录包含 Kuiper 的配置文件, 例如 MQTT 源配置等。
 
 ## data
 
-Kuiper persistences all the definitions of streams and rules, and all of message will be stored in this folder  for long duration operations.
+Kuiper 会持久化流和规则的所有定义,并且所有消息都将存储在此文件夹中,以进行长时间操作。
 
 ## plugins
 
-Kuiper allows users to develop your own plugins, and put these plugins into this folder.  See [extension](../../extension/overview.md) for more info for how to extend the Kuiper.
+Kuiper 允许用户开发自己的插件,并将这些插件放入此文件夹。 有关如何扩展 Kuiper 的更多信息,请参见[扩展](../../extension/overview.md)。
 
 ## log
 
-All of the log files are under this folder. The default log file name is ``stream.log``.
+所有日志文件都在此文件夹下。 默认的日志文件名为 `stream.log`。
 
-# Next steps
+# 下一步
 
-- See [getting started](../../getting_started.md) for your first Kuiper experience.
-- See [CLI tools](../../cli/overview.md) for usage of Kuiper CLI tools.
+- 参考 [入门指导](../../getting_started.md) 开始您的 Kuiper 体验。
+- 参考 [CLI 工具](../../cli/overview.md) 了解 Kuiper CLI 工具的使用。
 

+ 3 - 3
docs/zh_CN/operation/operations.md

@@ -1,11 +1,11 @@
 # 配置
 
-- [Kuiper基本配置](configuration_file.md)
-- [MQTT 源配置](../rules/sources/mqtt.md)
+- [Kuiper 基本配置](configuration_file.md)
+- [MQTT  源配置](../rules/sources/mqtt.md)
 
 # Restful APIs
 
-Kuiper提供了一些RESTful管理API。
+Kuiper 提供了一些 RESTful 管理 API。
 
 
 

+ 1 - 1
docs/zh_CN/operation/overview.md

@@ -1,5 +1,5 @@
 
-Kuiper由Golang开发,可以在不同的操作系统上运行。 有关如何安装和操作Kuiper的信息,请参见下面的文档。
+Kuiper  Golang 开发,可以在不同的操作系统上运行。 有关如何安装和操作 Kuiper 的信息,请参见下面的文档。
 
 - [安装说明](install/overview.md)
 - [操作指南](operations.md)