luzhijing commented on a change in pull request #8609:
URL: https://github.com/apache/incubator-doris/pull/8609#discussion_r832885815



##########
File path: docs/zh-CN/extending-doris/doris-manager/initializing.md
##########
@@ -0,0 +1,277 @@
+---
+{
+    "title": "初始化",
+    "language": "zh-CN"
+}
+---
+
+<!-- 
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+# 初始化
+完成部署之后,系统管理员需要完成本地初始化。
+
+初始化分成两步,选择用户认证方式和新建空间连接集群。
+
+## 管理用户
+
+初始化第一步为管理用户,主要完成对认证方式的选择和配置。目前Doris Manger支持本地用户认证。
+
+
+![](/images/doris-manager/initializing-1.png)
+
+### 本地用户认证
+
+本地用户认证是Doris Manger自带的用户系统。通过填入用户名、邮箱和密码可完成用户注册,用户的新增、信息修改、删除和权限关系均在本地内完成。
+
+初始化时超级管理员选择后,无需配置任何信息,直接进行初始化的第二步,创建空间连接集群。
+
+![](/images/doris-manager/initializing-2.png)
+
+## 新建空间
+
+新建空间包括新建集群和集群托管两种方式。
+
+### 新建Doirs集群
+
+#### 1 注册空间
+
+空间信息包括空间名称、空间简介、选择空间管理员。
+
+空间名称、管理员为必填/选字段。
+
+![](/images/doris-manager/initializing-3.png)
+
+#### 2 添加主机
+
+![](/images/doris-manager/initializing-4.png)
+
+##### 配置SSH免登陆
+
+Doris Manager 在安装时需要分发Agent安装包,故需要在待安装Doris的服务器(agent01)配置SSH免登陆。
+
+```shell
+#1.登录服务器,需要使用manger和agent账号保持一致
+su - xxx
+pwd
+#2.在部署doris manager机器上生成密钥对
+ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
+
+#3.将公钥拷贝到机器agent01上
+scp  ~/.ssh/id_rsa.pub root@agent01:~
+
+#4.登录agent01,将公钥追加到authorized_keys 
+cat ~/id_rsa.pub >> .ssh/authorized_keys
+
+#5.这样做完之后我们就可以在doris manger机器免密码登录agent01
+ssh [email protected]
+```
+
+另外需要注意,.ssh目录的权限为700,其下文件authorized_keys和私钥的权限为600。否则会因为权限问题导致无法免密码登录。我们可以看到登陆后会有known_hosts文件生成。同时启动doris时需要使用免密码登录的账号。
+
+在Doris Manager 安装集群时,使用部署doris manager机器的私钥即可,即~/.ssh/id_rsa
+
+详细可参考:https://blog.csdn.net/universe_hao/article/details/52296811
+
+##### 主机列表
+输入主机IP添加新的主机,也可通过批量添加。
+
+#### 3 安装选项
+
+![](/images/doris-manager/initializing-5.png)
+
+##### 获取安装包
+###### 1 源码部署
+您可以通过以下连接下载对应版本的 Doris 源码进行编译和部署
+http://doris.incubator.apache.org/zh-CN/downloads/downloads.html 
源码部署根据不同版本的环境要求也不同。
+Doris 0.14.0 之前的版本依赖如下:
+
+    GCC 7.3+, Oracle JDK 1.8+, Python 2.7+, Apache Maven 3.5+, CMake 3.11+ 
Bison 3.0+
+
+Doris 0.14.0 之后的依赖版本如下:
+
+    GCC 10+, Oracle JDK 1.8+, Python 2.7+, Apache Maven 3.5+, CMake 3.19.2+ 
Bison 3.0+
+
+
+
+###### 2 预编译部署
+
+使用预编译版本进行安装

Review comment:
       删除本段预编译版本的介绍




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to