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

add fontconfig note #714

Merged
merged 1 commit into from
May 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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