zabbix
Posted agang-php
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zabbix相关的知识,希望对你有一定的参考价值。
1080 2019-10-09 21:40:24 root rpm -ivh http://repo.zabbix.com/zabbix/4.2/rhel/7/x86_64/zabbix-release-4.2-2.el7.noarch.rpm
1081 2019-10-09 21:40:34 root yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-get zabbix-agent
1082 2019-10-09 21:52:08 root yum -y install mariadb mariadb-server
1083 2019-10-09 21:52:53 root systemctl enable mariadb
1084 2019-10-09 21:53:09 root systemctl start mariadb
1085 2019-10-09 21:53:19 root mysql
1086 2019-10-09 21:58:42 root cd /usr/share/doc/zabbix-server-mysql-4.2.7/
1087 2019-10-09 21:58:43 root ls
1088 2019-10-09 21:58:58 root zcat create.sql.gz | mysql -uroot zabbix
1089 2019-10-09 22:02:26 root vim /etc/zabbix/zabbix_server.conf
1090 2019-10-09 22:11:30 root systemctl enable zabbix-server.service
1091 2019-10-09 22:11:37 root systemctl start zabbix-server.service
1092 2019-10-09 22:11:45 root vim /etc/httpd/conf.d/zabbix.conf
1093 2019-10-09 22:13:06 root systemctl enable httpd
1094 2019-10-09 22:13:10 root systemctl start httpd
1095 2019-10-09 22:14:04 root firewall-cmd --list-all
1096 2019-10-09 22:14:20 root lsof -i:80
1097 2019-10-09 22:14:29 root curl 127.0.0.1
1098 2019-10-09 22:14:53 root curl 127.0.0.1/zabbix
1099 2019-10-09 22:15:22 root ps -aux |grep http
1100 2019-10-09 22:15:37 root netstat -antlp |grep http
1101 2019-10-09 22:15:42 root netstat -antlp |grep 80
1102 2019-10-09 22:16:07 root systemctl stop nginx
1103 2019-10-09 22:16:12 root netstat -antlp |grep 80
1104 2019-10-09 22:16:20 root systemctl start httpd
1105 2019-10-09 22:16:23 root netstat -antlp |grep 80
1106 2019-10-09 22:16:37 root curl 127.0.0.1
1107 2019-10-09 22:16:48 root cd /etc/nginx/conf.d/
1108 2019-10-09 22:16:49 root ls
1109 2019-10-09 22:16:54 root more time-queue-no-ssl.conf
1110 2019-10-09 22:17:10 root tail -100f /var/log/nginx/access.log
1111 2019-10-09 22:18:37 root vim /etc/php.ini
1112 2019-10-09 22:21:07 root service php-fpm restart
1113 2019-10-09 22:21:31 root vim /etc/php.ini
1114 2019-10-09 22:22:16 root find / -name php.ini
1115 2019-10-09 22:22:50 root ls
1116 2019-10-09 22:22:57 root which https
1117 2019-10-09 22:23:00 root which httpd
1118 2019-10-09 22:23:23 root cd /etc/httpd/conf.d/php.conf
1119 2019-10-09 22:23:30 root vim /etc/httpd/conf.d/php.conf
1120 2019-10-09 22:24:04 root vim /etc/httpd/conf.d/zabbix.conf
以上是关于zabbix的主要内容,如果未能解决你的问题,请参考以下文章