LANM Basic Components
Yum install gcc gcc-c++ autoconf automake make–y
Install PHP Apache database with mariadb
Yum install php php-gd php-mysql php-bcmath php-mbstring php-xml Curl curl-devel net-snmp net-snmp-devel perl-dbi–y
Yum Install Httpd–y
Yum Install mariadb*-y
Modify httpd.conf
ServerName for native IP :
DirectoryIndex, new index.php
Set boot up
Systemctl Enable httpd
Systemctl Enable MARIADB
To modify PHP related parameters:
Max_execution_time =
Max_input_time =
memory_limit = 128M
upload_max_filesize = 2M
Date.timezone = Asia/shanghai
post_max_size = 28M
Always_populate_raw_post_data-1
Create a Zabbix Database
Mysql–uroot - P
CREATE database Zabbix character set UTF8; ( CREATE DATABASE and type )
Insert into mysql.user (Host,user,password) VALUES (' localhost ', ' Zabbix ', Password ('Zabbix')); (CREATE database user password)
grant permissions 1, permissions permissions n on database name to @ user address identified by ' connection password
Grant all on zabbix.* to ' Zabbix ' @ ' 127.0.0.1 ' identified by ' Zabbix ' W ITH grant option; (All tables authorized)
Grant all on zabbix.* to ' Zabbix ' @ ' localhost ' identified by ' Zabbix ' with GRANT option; (All tables authorized)
flush Privileges; (update data)
installing Zabbix Server 3.0.1
RPM-IVH http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm (Loading repo)
Yum install zabbix-server-mysql zabbix-web-mysql
Yum Install Zabbix-agent
Import Database
# cd/usr/share/doc/zabbix-server-mysql-3.0. 1
# Zcat Create.sql.gz | Mysql-uroot Zabbix
Edit Zabbix server documentation
# vi/etc/zabbix/zabbix_server.conf
Dbhost=localhost
Dbname=zabbix
Dbuser=zabbix
dbpassword= Zabbix
Systemctl Start Zabbix-server
systemctl start zabbix- Agent
Web modifications can support Chinese
Modify your locales.inc.php the original is false and changed to true
' ZH_CN ' + = [' name ' = ' = ' (' Chinese (zh_cn) '), ' display ' = True],
Modify Font
Modify your defines.inc.ph P
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/7F/3C/wKioL1cXT6SAXJ8yAAAKGoIkIbA727.png "style=" float: none; "title=" Image 1.png "alt=" Wkiol1cxt6saxj8yaaakgoikiba727.png "/>
650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/3E/wKiom1cXTuSREqoNAAAJXO_VIug952.png "style=" float: none; "title=" Image 2.png "alt=" Wkiom1cxtusreqonaaajxo_viug952.png "/>
Email alerts
Installing MAILX
Configure Zabbix server-side external mailboxes
Vi/etc/mail.rc # Edit, add the following information
Set from= XXX @ 163 . com smtp=smtp. 163 . com
Set smtp-auth-user= XXX @ 163 . com smtp-auth-password= Password
Set Smtp-auth=login
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7F/3C/wKioL1cXT8yAv1h_AAB2UrqiWn8430.png "title=" Picture 3.png "alt=" Wkiol1cxt8yav1h_aab2urqiwn8430.png "/>
Thank the major moderators to provide information reference
Centos+zabbix (lamp based)