Zabbix Rapid Deployment

Source: Internet
Author: User

Zabbix Rapid Deployment:

Official Installation Instructions:

Https://www.zabbix.com/documentation/2.4/manual/installation/install_from_packages#red_hat_enterprise_linux_centos

SOURCE Package Installation: http://it1693.blog.51cto.com/2342744/1609794

Set Yum source

Zabbix 2.4 for RHEL6:

# RPM-IVH http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm

Zabbix 2.4 for RHEL7

#rpm –IVH http://repo.zabbix.com/zabbix/2.4/rhel/7/x86_64/zabbix-release-2.4-1.el7.noarch.rpm

Installing the Zabbix Package
Examples of Zabbix servers are the MySQL database and the Web front end.
1, first install lamp environment, can use Yum Quick installation method
2, Installation Zabbix
# yum Install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-get zabbix-sender
Create Zabbix data, and authorize Zabbix users

Mysql> Mysql–uroot–c

Mysql>create DATABASE Zabbix CHARACTER SET UTF8 COLLATE utf8_bin;

Mysql>grant all privileges in zabbix.* to ' Zabbix ' @ ' percent ' identified by ' 12345 ';

Mysql>flush privileges;

Initializing the Zabbix database
# cd/usr/share/doc/zabbix-server-mysql-2.4.6/create
Mysql-uroot Zabbix < Schema.sql
Mysql-uroot Zabbix < Images.sql
Mysql-uroot Zabbix < Data.sql
To modify the Zabbix-server configuration file:
# vi/etc/zabbix/zabbix_server.conf
Dbhost=localhost
Dbname=zabbix
Dbuser=zabbix
dbpassword=12345
To modify a PHP configuration file:
# Vi/etc/php.ini
Date.timezone = Asia/shanghai #设置时区
The following are the official recommended settings:
Php_value Max_execution_time 300
Php_value Memory_limit 128M
Php_value post_max_size 16M
Php_value upload_max_filesize 2M
Php_value Max_input_time 300
Start Zabbix

/etc/init.d/zabbix-server start

/etc/init.d/mysqld start

/ETC/INIT.D/HTTPD start

/etc/init.d/zabbix-agent start

Add boot up and turn off the firewall:

[Email protected]_3 ~]# chkconfig |egrep ' httpd|mysqld|zabbix*|iptables '

httpd 0: Off 1: Off 2: Enable 3: Enable 4: Enable 5: Enable 6: Off

Iptables 0: Off 1: Off 2: Off 3: Off 4: off 5: off 6: Off

Mysqld 0: Off 1: Off 2: Enable 3: Enable 4: Enable 5: Enable 6: Off

Zabbix-agent 0: Off 1: Off 2: Enable 3: Enable 4: Enable 5: Enable 6: Off

Zabbix-server 0: Off 1: Off 2: Enable 3: Enable 4: Enable 5: Enable 6: Off

[[Email protected]_3 ~]# grep selinux=disabled/etc/selinux/config

Selinux=disabled

Quickstart

Browser access:

http://10.0.0.63/zabbix/setup.php

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "Title=" clip_image002 " Border= "0" alt= "clip_image002" src= "Http://s3.51cto.com/wyfs02/M00/71/A0/wKiom1XVM1rwXiIKAABOwJERRzk750.jpg" Width= "244" height= "156"/>

650) this.width=650; "Style=" background-image:none;margin:0px;padding-left:0px;padding-right:0px; border-top-width:0px;border-bottom-width:0px;border-left-width:0px;padding-top:0px; "Title=" clip_image004 " Border= "0" alt= "clip_image004" src= "Http://s3.51cto.com/wyfs02/M01/71/A0/wKiom1XVM1rwZKxDAABdOkl9lAE083.jpg" Width= "244" height= "159"/>

1 Login and Configuring user

650) this.width=650; "Style=" background-image:none;padding-left:0px;padding-right:0px;border-top-width:0px; border-bottom-width:0px;border-left-width:0px;padding-top:0px; "title=" clip_image005 "border=" 0 "alt=" clip_ image005 "src=" http://s3.51cto.com/wyfs02/M02/71/A0/wKiom1XVM1uip5aTAABCFlI0-XQ575.jpg "width=" 244 "height=" 112 "/ >

This was the Zabbix "Welcome" screen. Enter the user name Admin with password Zabbix to log in as a Zabbix superuser.

This article is from the "it1693" blog, make sure to keep this source http://it1693.blog.51cto.com/2342744/1686293

Zabbix Rapid Deployment

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.