#### 一:安装部署zabbix-server:happy:
##### 1:安装zabbix的官方yum源
```
rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm
```
```
yum clean all
```
安装完会生成一个文件:/etc/yum.repos.d/zabbix.repo
将zabbix的yum源替换为阿里源:
```
sed -i 's#repo.zabbix.com#mirrors.aliyun.com/zabbix#g' zabbix.repo
```
```
yum makecache
```
##### 2:安装Zabbix server and agent