Zabbix Installation Deployment

Source: Internet
Author: User

Linux:centos 5.6

mysql:5.7

zabbix-2.4.8

php-5.6.23

Apache..


#zabbix下载地址
https://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/
http://www.zabbix.com/download.php

#php下载地址
http://php.net/downloads.php


#当前 zabbix-2.4.8.tar.gz Download
Https://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/2.4.8/zabbix-2.4.8.tar.gz/download

#当前 php-5.6.23 Download
Http://cn2.php.net/get/php-5.6.23.tar.gz/from/this/mirror


#安装相关 the Yum-y install net-snmp net-snmp-devel Curl curl-devel perl-dbi #安装Apache yum-y install httpd #mysql already installed #安装php #rpm-ivh php-mbstring-5.3.3-26.el6.x86_64.rpm php-bcmath-5.3.3-26.el6.x86_64.rpm--force--nodep yum-y install php php -mysql Php-common php-gd php-odbc php-pear php-xml php-bcmath php-mbstring #启动Apache/etc/init.d/httpd start #浏览器输入服务器地
Test if Apache is installed correctly, you can open the Apache 2 test Page http://10.18.192.147/#添加文件info. php vi/var/www/html/info.php <?php
Phpinfo ();?> #浏览器输入网址看PHP是否安装成功, you can open Apache 2 Test Page http://10.18.192.147/info.php #设置自启动: Chkconfig httpd on Chkconfig mysqld on #修改php配置文件 # vi/etc/php.ini sed-i "s/;d ate.timezone =/date.timezone = asia\/shanghai/g"/etc/php.in I sed-i "s#max_execution_time = 30#max_execution_time = 300#g"/etc/php.ini sed-i "s#post_max_size = 8M#post_max_size = 32m#g "/etc/php.ini sed-i" s#max_input_time = 60#max_input_time = 300#g "/etc/php.ini sed-i" s#memory_limit = 128M#memor


Y_limit = 128m#g "/etc/php.ini-----------------installation configuration Zabbix-------------------#mysql中创建zabbix所需的数据库及用户权限 CREATE database Zabbix character set UTF8;
Grant all privileges the zabbix.* to zabbix@ '% ' identified by ' Zabbix ';


Flush privileges; #解压安装zabbix tar xvf zabbix-2.4.8.tar.gz cd zabbix-2.4.8./configure--prefix=/usr/local/zabbix--enable-server-- Enable-proxy--enable-agent--with-mysql=/usr/local/mysql/bin/mysql_config--with-net-snmp--with-libcurl Make &  & make install #导入zabbix结构和数据 CD database mysql-u zabbix-p Zabbix </database/mysql/schema.sql mysql-u Zabbix -P Zabbix <./database/mysql/images.sql Mysql-u zabbix-p Zabbix </database/mysql/data.sql #或者使用完整路径执行/usr/loc Al/mysql/bin/mysql-u Zabbix-p Zabbix  



Open Browser: Http://10.18.192.147/zabbix








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.