Skip to content

Commit

Permalink
add fontconfig note
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxGit committed May 3, 2018
1 parent 04402a8 commit 44767fa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
6 changes: 6 additions & 0 deletions op-guide/ansible-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,12 @@ TiKV1-1 ansible_host=172.16.10.4 deploy_dir=/data1/deploy
ansible-playbook deploy.yml
```
> Grafana Dashboard 上的 Report 按钮可用来生成 PDF 文件, 此功能依赖 ` fontconfig` 包, 如需使用该功能,请登录 grafana_servers 机器,用以下命令安装:
```
$ sudo yum install fontconfig
```
5. 启动 TiDB 集群
```
Expand Down
13 changes: 11 additions & 2 deletions op-guide/offline-ansible-deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,18 @@ category: deployment

## 部署任务

1. 参考[部署任务](ansible-deployment.md#部署任务)即可
1. `ansible-playbook local_prepare.yml` 该 playbook 不需要再执行

2. `ansible-playbook local_prepare.yml` 该 playbook 不需要再执行。
2. Grafana Dashboard 上的 Report 按钮可用来生成 PDF 文件, 此功能依赖 `fontconfig` 包, 如需使用该功能,请下载 [fontconfig 离线安装包](https://download.pingcap.org/fontconfig-rpms.el7.tar.gz) 上传至 grafana_servers 机器安装。

```
$ tar -xzvf fontconfig-rpms.el7.tar.gz
$ cd fontconfig-rpms.el7/offline_packages
$ chmod u+x install_fontconfig.sh
$ ./install_fontconfig.sh
```

3. 参考[部署任务](ansible-deployment.md#部署任务)即可。

## 测试集群

Expand Down

0 comments on commit 44767fa

Please sign in to comment.