标签:转发 utf-8 har mysql usr server cat htm 资料
先只记录关键点
1.nginx、MYSQL 用官方的YUM库安装
2.CENTOS升级到最新
3.ZABBIX 官方RPM安装,然后下载源码库,源码中的PHP复制至NGINX的配置目录
4.NGINX的配置
location ~ \.php$ {
root /usr/share/nginx/html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
这块要注意
5.grafana转发代理注意事项(一定要使用域名,不能使用目录转发)
[root@localhost conf.d]# cat grafana.conf
server {
server_name *.com;
listen 80;
charset utf-8;
index index.html index.htm;
access_log /data/logs/nginx/grafana.access_log main;
error_log /data/logs/nginx/grafana.-error_log warn;
location / {
proxy_pass http://localhost:3000;
}
}
参考资料:
http://www.cnblogs.com/yyhh/archive/2015/09/08/4792830.html
http://www.tuicool.com/articles/F7rMnyY
http://www.cnblogs.com/openfly/p/zabbix.html
其它细节有空再补。
zabbix 3.2.6+centos 7 +nginx 1.12+ mysql 5.6+ Grafana +php 5.6
标签:转发 utf-8 har mysql usr server cat htm 资料
原文地址:http://www.cnblogs.com/net2817/p/6915086.html