Rapid deployment of Zabbix 6.4 in CentOS 2.4

Source: Internet
Author: User

Rapid deployment of Zabbix 6.4 in CentOS 2.4

1. Prepare the environment

CentOS 1, 6.4

Disable selinux and iptables

Two virtual machines: one Server and one Agent

2. Install the official yum Source

Install this yum source on all servers

Rpm-ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm

3. Deploy Zabbix Server

Yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent mysql-server mysql-y
/Etc/init. d/mysqld start
Mysql-e "create database zabbix character set utf8 collate utf8_bin ;"
Mysql-e "grant all privileges on zabbix. * to zabbix @ localhost identified by 'zabbix ';"
 
Cd/usr/share/doc/zabbix-server-mysql-2.4. */create/
Mysql-uroot zabbix <schema. SQL
Mysql-uroot zabbix <images. SQL
Mysql-uroot zabbix <data. SQL
Sed-I's/^. * DBPassword =. * $/DBPassword = zabbix/'/etc/zabbix/zabbix_server.conf
Service zabbix-server start
Service zabbix-agent start
 
Sed-I's/^. * date. timezone =. * $/date. timezone = Asia \/Shanghai/G'/etc/php. ini
Sed-I's/^. * post_max_size =. * $/post_max_size = 16 M/G'/etc/php. ini
Sed-I's/^. * max_execution_time =. * $/max_execution_time = 300/G'/etc/php. ini
Sed-I's/^. * max_input_time =. * $/max_input_time = 300/G'/etc/php. ini
Service httpd restart
 
Chkconfig mysqld on
Chkconfig zabbix-server on
Chkconfig zabbix-agent on
Chkconfig httpd on

Some Zabbix Tutorials:

Install and deploy the distributed monitoring system Zabbix 2.06

Install and deploy the distributed monitoring system Zabbix 2.06

Install and deploy Zabbix in CentOS 6.3

Zabbix distributed monitoring system practice

Under CentOS 6.3, Zabbix monitors apache server-status

Monitoring MySQL database Parameters Using Zabbix in CentOS 6.3

Install Zabbix 2.0.6 in 64-bit CentOS 6.2

Open a browser to access http: // server_ip/zabbix/

Click Next...

Click Next...

Click 'test connection' to continue Next

Continue Next...

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.