先安装postgresql 官方下载地址:https://www.postgresql.org/download/ 点击对应系统之后进入选择: 按照官方提示操作即可。 操作完成之后修改配置文件 /var/lib/pgsql/9.6/data/pg_hba.conf 内容为如下: 然后重启数…
准备工作: ***********yum install sth.*************" yum -y install setuptool yum -y install gd gd-…
WebDAV 是一种基于 HTTP 1.1协议的通信协议。它扩展了HTTP 1.1,在GET、POST、HEAD等几个HTTP标准方法以外添加了一些新的方法,使应用程序可直接对Web Server直接读写,并支持写文件锁定(Locking)及解锁(Unlock),还可以支持文件的版本控制。…
由于zabbix版本更新,目录内已没有 frontend.po 文件,因此首先得将 frontend.mo 转换为 frontend.po msgunfmt /usr/share/zabbix/locale/zh_CN/LC_MESSAGES/frontend.mo -o&nbs…
location中加入如下即可: location = /apps/firmwares/firmware.json { log_not_found off; &nb…
#!/bin/bash ##配置信息 host="www" #主机名 domain="test.com" #你的域名 ak="kkkk" #你的阿里云app key sk="yy…
#!/bin/bash mail_list="[email protected],[email protected]" path_self=$(cd "$(dirname "$0")";pwd) #是否开起手动执行调试模式 echo…
nginx 转发 kibana访问端口为5601,使用ip访问就可以,如果你还需要其他的,使用nginx 或者其他web服务器做转发都行。 nginx转发设置如下: upstream elk { server 127.0.0.1:5601; } server …
一、概念介绍 ELK 是Elasticsearch、Logstash、Kibana的简称,这三者是核心套件,但并非全部。 Elasticsearch 是实时全文搜索和分析引擎,提供搜集、分析、存储数据三大功能;是一套开放REST和JAVA API等结构提供高效搜索功能,可扩展的分布式系统。它构建于A…
环境:nginx 修改location目标位置为停机维护页面位置 正常业务路径修改为停机维护页面位置 location /ok { #root /home/wwwroot/ok; &nb…