02 2021 档案
摘要:环境:centos7 、apache-tomcat-8.0.36、 jdk1.8.0_11 直接下载images:docker pull wukc/tomcat:8.0.36 下面打包方法: 1、官网下载tomcat https://archive.apache.org/dist/tomcat/to
阅读全文
摘要:环境:centos7、prometheus2.24、grafana 1、下载插件blackbox_exporter https://github.com/prometheus/blackbox_exporter/releases wget https://github.com/prometheus/
阅读全文
摘要:环境:centos7 思路:node_exporter插件收集服务器数据——prometheus存储插件收集的数据——grafana展示prometheus收集的数据 下载对应系统最新软件包prometheus和监控插件node_exporter https://prometheus.io/down
阅读全文
摘要:环境:windows、cmd 要求:一个配置文件中有日期,程序执行一次日期自动加一天。 链接: https://pan.baidu.com/s/1SJir4jMfJCdQmLkdkqdI5Q 提取码: di2n 文件三个: param.properties 参数文件需要修改其中日期 delete.b
阅读全文
摘要:环境:oracle11G、linux 脚本作用:检测数据库的表空间使用量,大于设置法值通过短信告警通知相关人员。 思路:登陆数据库查询出所有表空间使用情况——通过shell脚本分析结果——找出大于设置值得表空间——短信预警(也可以改成邮件预警) 链接: https://pan.baidu.com/s
阅读全文
摘要:环境:k8s、centos 出于安全考虑,默认配置下Kubernetes不会将Pod调度到Master节点。 #查看k8s-master表示不运行pod [root@k8s-master ~]# kubectl describe node k8s-master |grep Taints Taints
阅读全文
摘要:环境:linux、redis redis持久化数据到磁盘配置有两种方式,修改配置文件redis.conf: 1、快照dump.rdb filesnapshotting(快照):这种方式是就是将内存中数据以快照的方式写入到二进制文件中,默认的文件名为dump.rdb。可以通过配置设置自动做快照持久化的
阅读全文