Skip to content

Commit

Permalink
Update README-CN.md
Browse files Browse the repository at this point in the history
  • Loading branch information
i18nsite authored Jul 3, 2024
1 parent 2151a8a commit a9cd7a0
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,25 @@ OceanBase Diagnostic Tool (obdiag) 是一款专门OceanBase打造的敏捷诊断

可通过如下方式安装obdiag

## 方式一: 通过rpm包安装
## 方式1: 用 obd 直接运行

在 oceanbase 集群部署服务器上可以直接运行下面的命令:

```
obd obdiag check 集群名
```

不记得集群名字,可以用 `ls ~/.obd/cluster` 查看现有的集群。

## 方式2: 通过rpm包安装
```shell script
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://mirrors.aliyun.com/oceanbase/OceanBase.repo
sudo yum install -y oceanbase-diagnostic-tool
sh /usr/local/oceanbase-diagnostic-tool/init.sh
```

## 方式二:源码安装
## 方式3:源码安装
源码安装需要在python >= 3.8的环境下进行

```shell
Expand Down

0 comments on commit a9cd7a0

Please sign in to comment.