摘要:
清除es 30天之前数据 #! /bin/bash echo "Begin @ `date +%Y%m%d%H%M%S`" d7=$(date +%Y.%m.%d --date '31 days ago') curl -XDELETE "http://localhost:9200/logstash- 阅读全文
摘要:
nginx 配置 #!/bin/bash # yum install yum-utils -y echo '''[nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/$releasever/$ba 阅读全文
该文被密码保护。 阅读全文
摘要:
###java 环境配置 #!/bin/bash # # java 环境配置 cd /usr/local/src tar xf jdk-8u211-linux-x64.tar.gz -C ../ cd .. ln -s jdk1.8.0_211 jdk echo 'export JAVA_HOME= 阅读全文
摘要:
###rancher 配置 docker run -d --name=rancher --restart=unless-stopped -p 81:80 -p 1443:443 rancher/rancher or docker run -d --privileged --name=rancher 阅读全文
摘要:
prometheus 安装 官网:https://prometheus.io/download/ GitHub:https://github.com/prometheus/prometheus Prometheus配置信息的热加载有两种方式: 第一种热加载方式:查看Prometheus的进程id,发 阅读全文