zabbix 3.0 on centos 7
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix 3.0 on centos 7相关的知识,希望对你有一定的参考价值。
yum install httpd httpd-devel
yum -y install mariadb*
yum install php php-cli php-common php-devel php-pear php-gd php-mbstring php-mysql php-xml
systemctl start mariadb.service
systemctl enable mariadb.service
http://blog.csdn.net/default7/article/details/39138139
groupadd zabbix
useradd -g zabbix zabbix
mysql_secure_installation
rpm -Uvh http://repo.zabbix.com/zabbix/3.0/rhel/7/x86_64/zabbix-release-3.0-1.el7.noarch.rpm
yum install zabbix-server-mysql zabbix-web-mysql zabbix-agent zabbix-java-gateway
vi /etc/httpd/conf.d/zabbix.conf
php_value date.timezone Asia/Kolkata
systemctl restart httpd.service
mysql -uroot -pAcc0unt! -e "create database zabbix default character set utf8 collate utf8_bin;"
mysql -uroot -pAcc0unt! -e "grant all on zabbix.* to ‘zabbix‘@‘%‘ identified by ‘Acc0unt!‘;"
cd /usr/share/doc/zabbix-server-mysql-3.0.0
zcat create.sql.gz | mysql -uroot -pAcc0unt! zabbix
yum install zabbix*
vi /etc/php.ini
384 max_execution_time = 300
394 max_input_time = 300
405 memory_limit = 128M
800 upload_max_filesize = 2M
878 date.timezone = Asia/Shanghai
672 post_max_size = 28M
mkdir /var/www/html/zabbix
ll -a /var/www/html/
cp -r . /var/www/html/zabbix/
ll -a /var/www/html/zabbix
systemctl stop firewalld.service
Reference:
http://tecadmin.net/install-zabbix-network-monitoring-on-centos-rhel-and-fedora/#
http://itfish.net/article/61057.html#
https://www.zabbix.com/documentation/3.0/manual/quickstart/login
以上是关于zabbix 3.0 on centos 7的主要内容,如果未能解决你的问题,请参考以下文章