上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 70 下一页
摘要: 1.登陆 psql -h 127.0.0.1 -U postgres -p31800 postgres (1)列出所有的数据库 mysql: show databasespsql: \l或\list (2)切换数据库 mysql: use dbnamepsql: \c dbname (3)列出当前数 阅读全文
posted @ 2021-03-09 16:50 littlevigra 阅读(1799) 评论(0) 推荐(0)
摘要: 1. 好的参考文档:prometheus/blackbox_exporter https://github.com/prometheus/blackbox_exporter https://github.com/prometheus/blackbox_exporter/blob/master/CON 阅读全文
posted @ 2021-03-08 11:13 littlevigra 阅读(318) 评论(0) 推荐(0)
摘要: 1. /usr/local/tengine/conf/conf.d [root@slave1 conf.d]# cat myserver.conf server { listen 80; client_max_body_size 4G; server_name example.com 129.211 阅读全文
posted @ 2021-03-06 21:15 littlevigra 阅读(103) 评论(0) 推荐(0)
摘要: 1.HTTP连接最显著的特点是客户端发送的每次请求都需要服务器回送响应,在请求结束后,会主动释放连接。 从建立连接到关闭连接的过程称为“一次连接”。 2.在Nginx配置7层代理等存在大量短连接的场景下,阿里云推荐您将TIME-WAIT超时时间修改为5s。运行以下任一命令修改超时时间: TCP/IP 阅读全文
posted @ 2021-03-05 00:46 littlevigra 阅读(311) 评论(1) 推荐(0)
摘要: 1. Web Analytics Dashboard for NGINX Required NGINX json log format configuration below. https://grafana.com/grafana/dashboards/12559 log_format json_ 阅读全文
posted @ 2021-02-26 23:08 littlevigra 阅读(1410) 评论(0) 推荐(0)
摘要: 1.根据http://xxxx.com/nginx_status/ 统计 参考:https://www.oschina.net/code/snippet_226718_17879 #/bin/bash 2 3 #nginx_status_url 手动配置项 4 NGINX_STATUS_URL="h 阅读全文
posted @ 2021-02-26 00:33 littlevigra 阅读(2973) 评论(0) 推荐(1)
摘要: 1. nginx的配置 location /jenkinsno { index index.html index.htm; proxy_pass http://127.0.0.1:8081; proxy_connect_timeout 3000s; proxy_send_timeout 3000s; 阅读全文
posted @ 2021-02-20 18:56 littlevigra 阅读(370) 评论(0) 推荐(0)
摘要: 1.脚本的路径 2.代码路径 3.自动生成的Jenkinsfile creating-a-pipeline-in-blue-ocean/Jenkinsfile pipeline { agent { docker { image 'node:6-alpine' args '-p 3000:3000' 阅读全文
posted @ 2021-02-20 11:36 littlevigra 阅读(193) 评论(0) 推荐(0)
摘要: 1.mail As an example of loading variable values from Groovy: mail to: 'devops@acme.com', subject: "Job '${JOB_NAME}' (${BUILD_NUMBER}) is waiting for 阅读全文
posted @ 2021-02-18 23:59 littlevigra 阅读(77) 评论(0) 推荐(0)
摘要: 1. 10秒钟测试ip段所有IP的连通性 (base) [root@wlt-overseas-middleware-master ~]# cat su-asyncio-re-cancel.py import asyncio import time import re # call shell cmd 阅读全文
posted @ 2021-02-13 00:24 littlevigra 阅读(1486) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 70 下一页