Zabbix 1.8 installation details (1)

Source: Internet
Author: User

Zabbix 1.8 InstallationThe process is still quite long!

This document only records the installation process of Zabbix 1.8.

Below I want to install Zabbix Server, Zabbix Proxy and Zabbix Agent on the same Server.

Configure PHP before installation. php-gd, php-bcmath, php-xml, php-mysql, php-net-socket, and php-mbstring are required, add -- with-gd -- enable-bcmath -- enable-xml -- with-mysql -- enable-sockets -- enable-mbstring to the configure parameter.

My configuration parameters are as follows:

 
 
  1. ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-fpm --enable-sockets --enable-pdo --with-pdo-mysql=/usr/local/mysql --with-gd --enable-bcmath --enable-xml --enable-mbstring  
  2.  

Install Zabbix as follows:

* Download and decompress:

 
 
  1. wget http://prdownloads.sourceforge.net/zabbix/zabbix-1.8.tar.gz?download  
  2.  
  3. tar zxf zabbix-1.8.tar.gz  
  4.  
  5. cd zabbix-1.8  
  6.  

* Create zabbix user groups and users:

 
 
  1. groupadd zabbix  
  2.  
  3. useradd zabbix -g zabbix  
  4.  

* Create a mysql database:

 
 
  1. create database zabbix character set utf8;  
  2.  

* Create a mysql user:

 
 
  1. grant all on zabbix.* to zabbix@localhost identified by 'zabbix';  
  2.  

* Import tables and data:

 
 
  1. mysql -uroot -p zabbix < create/schema/mysql.sql  
  2.  
  3. mysql -uroot -p zabbix < create/data/data.sql  
  4.  
  5. mysql -uroot -p zabbix < create/data/images_mysql.sql  
  6.  


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.