Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Server \ Zabbix installation under Linux     - Linux system security reinforcement system by masquerading method (Linux)

- Hadoop upload files error solved (Server)

- Build the first ASP.NET 5 Web project in Mac OS X Yosemite 10.10.3 (Server)

- Difference Docker mirror and containers (Server)

- Hibernate Search 5.5 in the search results sorted (Linux)

- How to build a custom exclusive Ubuntu Live CD (Linux)

- RabbitMQ installation, configuration, monitoring (Linux)

- Graphing tool: Gnuplot (Linux)

- MySQL function: group_concat () function (Database)

- Android Studio utility plug organize, create sharp artifact (Programming)

- Analyzing Linux server architecture is 32-bit / 64-bit (Server)

- Calculate CPU utilization (Linux)

- Erase do with HTML5 Canvas and diffusion effect (Programming)

- Ora-14450: attempt to access ah transactional temptable already in use (Database)

- HA-Federation-HDFS + Yarn cluster deployment (Server)

- The top command under Linux (Linux)

- Python system default encoding (Programming)

- osprofiler use OpenStack Cinder Lane (Server)

- Linux reserves the rest of the file to delete several (Linux)

- Installation JDK1.7 under Ubuntu14.04 64-bit (Linux)

  Zabbix installation under Linux
  Add Date : 2018-11-21      
  Install Zabbix

1, environment preparation

zabbix WEB environment to build
zabbix installation requires LAMP or LNMP environment, in order to facilitate direct use yum install LAMP environment.
yum install mysql-server httpd php

Require other packages

yum install mysql-dev gcc net-snmp-devel curl-devel perl-DBI php-gd php-mysql php-bcmath php-mbstring php-xm
2. Download

wget http://sourceforge.net/projects/zabbix/files/ZABBIX%20Latest%20Stable/2.2.5/zabbix-2.2.5.tar.gz/download
tar zxvf zabbix-2.2.5.tar.gz
cd zabbix-2.2.5 / database / mysql
3, create a database user &&

create database zabbix;
. Grant all on zabbix * to zabbix @ localhost identified by 'zabbix';
flush privileges;

4, import data structures &&

mysql -uzabbix -pzabbix zabbix & lt; schema.sql
mysql -uzabbix -pzabbix zabbix & lt; images.sql
mysql -uzabbix -pzabbix zabbix & lt; data.sql
5, compile and install

./configure --prefix = / usr / local / zabbix --with-mysql --with-net-snmp --with-libcurl --enable-server --enable-agent --enable-proxy
6, increase user, user group must be added, at the time of starting the service needs to authenticate the user

groupadd zabbix
useradd zabbix -g zabbix
7, modify the configuration file

ln -s / usr / local / zabbix / etc / etc / zabbix
Change the configuration file associated with the database username and password

vim /etc/zabbix/zabbix_server.conf

Modify the following three

DBName = zabbix

DBUser = zabbix

DBPassword = zabbix

Change agentd profile

vim /etc/zabbix/zabbix_agentd.conf

Hostname = LOG01
ServerActive = 20051

8, a copy of the appropriate program to the web under the relevant WEB Services Directory

cp -r /data/soft/zabbix-2.0.5 / frontends / php / / var / www / html / zabbix /
chown -R zabbix.zabbix / var / www / html / zabbix
9, modify the PHP configuration file php.ini content

vim /etc/php.ini
date.timezone = Asia / Shanghai
post_max_size = 32M
max_execution_time = 300
max_input_time = 300
memory_limit = 128M
mbstring.func_overload = 2

10, the revised restart httpd

service httpd restart

11, the start zabbix server

/ Usr / local / zabbix / sbin / zabbix_server

12, start zabbix agentd

/ Usr / local / zabbix / sbin / zabbix_agentd

13, the browser opens

Follow the steps to install step by step, I am not here a screenshot, before you fill out the database username password create

Finally installed, the default user name admin password: zabbix

Here the initial installation has been completed.
- To install and use the Doxygen under Linux (Linux)
- Processor in protected mode of protection (Linux)
- To install Xen in Ubuntu 12.04 (Linux)
- Grading defense against Linux server attacks (Linux)
- ARM Linux system call (Linux)
- CentOS NAT iptables (Linux)
- Two kinds of agents of Spring AOP (Programming)
- Security: set limits on password (Linux)
- Vim configuration instructions (Linux)
- Redhat 7 modify the default run level method --RHEL7 use systemd to create a symbolic link to the default runlevel (Linux)
- VMware Workstation virtual machine Ubuntu achieve shared with the host (Linux)
- Java, hashcode, equals and == (Programming)
- Analysis examples: Intrusion Response Linux platform Case (Linux)
- Build your own Python coding environment (Linux)
- MySQL stored procedures and triggers (Database)
- MySQL completely uninstall and install Configuring Character Sets under Linux (Database)
- Openfire achieve load balancing cluster by Nginx (Server)
- Linux Basics Tutorial: Linux Kickstart automated installation (Linux)
- OS X CAOpenGLLayer how to enable OpenGL 3.2 core profile (Programming)
- How nodeclub constructed Docker image (Server)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.