In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Because the official website is very slow, it is very annoying to often read the official documents, so record the steps for me to install and configure zabbix on the official website.
# installation environment
Centos6.8
192.168.2.110 basic server installation
# turn off the firewall
Service iptables stop
Chkconfig iptables off
# modify selinux
Vim / etc/selinux/config
SELINUX=disabled
# install mysql.apache.php on yum
Yum-y install httpd httpd-devel
Yum-y install mysql mysql-servermysql-devel
Yum-y install php php-mysql php-common php-gdphp-mbstring php-mcrypt php-devel php-xml
# installing zabbix on yum
# install YumSource first:
# rpm-ivh http://repo.zabbix.com/zabbix/2.4/rhel/6/x86_64/zabbix-release-2.4-1.el6.noarch.rpm
# install zabbix
# yum install zabbix-server-mysqlzabbix-web-mysql
# create zabbix database
# enable the service first: service mysqldstart
Shell > mysql-uroot-p
Mysql > create database zabbix characterset utf8 collate utf8_bin
Mysql > grant all privileges on zabbix.*to zabbix@localhost identified by''
Mysql > quit
# Import data to zabbix library
# cd/usr/share/doc/zabbix-server-mysql-2.4.8/create
# mysql-uroot-pxx zabbix < schema.sql
# mysql-uroot-pxx zabbix < p_w_picpaths.sql
# mysql-uroot-pxx zabbix < data.sql
# modify zabbix configuration file
# vi / etc/zabbix/zabbix_server.conf
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=zabbix
# start zabbix
# service zabbix-server start
# modify php configuration
Vim / etc/httpd/conf.d/zabbix.conf
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
Php_value date.timezone Asia/Shanghai
# start the service
Service httpd restart
Chkconfig httpd on
Service mysqld restart
Chkconfig mysqld on
Service zabbix-server restart
Chkconfig zabbix-server on
# Open zabbix dashboard
192.168.2.110/zabbix for installation
The client can install the yum source of zabbix directly after yum installation: yum install zabbix-agent
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.