[root@server1 ~]# ls
fping-3.10-1.el7.x86_64.rpm zabbix-java-gateway-3.4.6-1.el7.x86_64.rpm
iksemel-1.4-2.el7.centos.x86_64.rpm zabbix-proxy-mysql-3.4.6-1.el7.x86_64.rpm
php-bcmath-5.4.16-42.el7.x86_64.rpm zabbix-server-mysql-3.4.6-1.el7.x86_64.rpm
php-mbstring-5.4.16-42.el7.x86_64.rpm zabbix-web-3.4.6-1.el7.noarch.rpm
zabbix-agent-3.4.6-1.el7.x86_64.rpm zabbix-web-mysql-3.4.6-1.el7.noarch.rpm
zabbix-get-3.4.6-1.el7.x86_64.rpm
[root@server1 ~]# yum install -y *.rpm
[root@server1 ~]# cd /etc/zabbix/
[root@server1 zabbix]# ls
web zabbix_java_gateway.conf zabbix_server.conf
zabbix_agentd.conf zabbix_java_gateway_logback.xml
zabbix_agentd.d zabbix_proxy.conf
二·下载mysql
1.修改密码
[root@server1 zabbix]# yum install -y mariadb-server
[root@server1 zabbix]# systemctl start mariadb
[root@server1 zabbix]# mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order tologinto MariaDB to secure it, we'll need the current
password forthe root user. If you've just installed MariaDB, and
you haven't setthe root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):
OK, successfully used password, moving on...
Setting the root password ensures that nobody can logintothe MariaDB
root user withoutthe proper authorisation.
Set root password? [Y/n] Y
New password: #设置密码
Re-enter new password:
Password updated successfully!
Reloading privilege tables..
... Success!
By default, a MariaDB installation has an anonymous user, allowing anyone