----------------------------------------------------------
Installing Zabbix Server
Login to MySQL
[Root@localhost ~]# Mysql-uroot-p
Creating a Database
Mysql> CREATE database Zabbix character set UTF8;
To create a user:
Mysql> grant all privileges in *.* to ' Zabbix ' @ '% ' identified by ' haitaoliu0617* ' with GRANT OPTION;
Refresh Authorization
mysql> flush Privileges;
--------------------------------------------
Import MySQL into database under the Zabbix-3.4.7.tar.gz source code directory
Import Schema.sql First
Then import Images.sql
Finally import Data.sql
-----------------------------------------------------
To start the daemon process
Start Zabbix_server on the Zabbix server side.
[Root@localhost src]# Zabbix_server
Start the zabbix_agentd on all the monitored machines.
[Root@localhost src]# Zabbix_agentd
-----------------------------------------------------
Installing the Zabbix Web interface
Find zabbix-3.4.7/frontends/php in the source package
[Root@localhost frontends]# cp-r./php/var/www/
Just follow the steps, okay?
------------------------------------------------------
installed on the monitored machine
Create a user
[Root@localhost zabbix-3.4.7]# Groupadd Zabbix
[Root@localhost zabbix-3.4.7]# useradd-g Zabbix Zabbix
Yum Install gcc gcc-c++
[root@192 src]# tar-zxf zabbix-3.4.7.tar.gz
[root@192 src]# CD zabbix-3.4.7
[root@192 zabbix-3.4.7]#./configure--enable-agent
Error: Configure:error:Unable to use Libpcre (Libpcre check failed)
Solution: Yum Install pcre-devel-y
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service