上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 70 下一页
摘要: 1.拉取代码: mkdir /do1cloud/testplugins cd /do1cloud/testplugins git clone https://github.com/KrisMarko/kr-changelog.git 2.重启jenkins服务 ls /root/.jenkins/p 阅读全文
posted @ 2020-12-18 11:59 littlevigra 阅读(688) 评论(0) 推荐(0)
摘要: 1.选出对应时间的日志 sed -ne '/15\/Dec\/2020:09:00:04 +0800/,/15\/Dec\/2020:10:38:54 +0800/p' access.log |grep -v 'HEAD / HTTP/1.1' > /tmp/all-ip.txt 2.统计独立访问i 阅读全文
posted @ 2020-12-15 11:17 littlevigra 阅读(125) 评论(1) 推荐(0)
摘要: 1.Nginx 作为服务器时,获取客户端真实 IP 使用 http_realip_module,默认安装的 Nginx 是没有安装这个模块的,需要重新编译 Nginx 增加 --with-http_realip_module。 wget http://nginx.org/download/nginx 阅读全文
posted @ 2020-12-15 00:06 littlevigra 阅读(1691) 评论(3) 推荐(0)
摘要: 1.Quick setup — if you’ve done this kind of thing before https://github.com/littlevigra/django-urls-mgr 2.create a new repository on the command line 阅读全文
posted @ 2020-12-13 20:51 littlevigra 阅读(217) 评论(1) 推荐(0)
摘要: 1.curl -O https://arthas.aliyun.com/arthas-boot.jar 2.java -jar arthas-boot.jar # 查看当前进程中前3个占用cpu比较高的线程 thread -n 3 Linux环境下使用Arthas定位cpu飙高问题 - qudehu 阅读全文
posted @ 2020-12-12 10:24 littlevigra 阅读(7357) 评论(2) 推荐(0)
摘要: 1.kubectl create cm license-config --from-file=fenghui_20501231_1000_2.lic -n daoyi-pord 2.kubectl describe cm license-config -n daoyi-prod 阅读全文
posted @ 2020-12-11 00:06 littlevigra 阅读(260) 评论(0) 推荐(0)
摘要: 1.安装node,npm wget https://nodejs.org/dist/v14.15.1/node-v14.15.1-linux-x64.tar.xz tar -xf node-v14.3.0-linux-x64.tar.xz mv node-v14.3.0-linux-x64 /opt 阅读全文
posted @ 2020-12-08 20:40 littlevigra 阅读(152) 评论(0) 推荐(0)
摘要: pipeline { agent any stages { stage('common') { //每个stage为一流程,与脚本式基本一致,每个stage可以定义名称 steps { //步骤块,内部包含具体操作 sh 'rm -fr /tmp/jenkins-test;mkdir -p /tmp 阅读全文
posted @ 2020-12-07 19:29 littlevigra 阅读(304) 评论(1) 推荐(0)
摘要: 1.一个location有四个实例,每次修改一半的权重 [root@master dxw-test]# cat modify_lb.py import json,sys,time from tencentcloud.common import credential from tencentcloud 阅读全文
posted @ 2020-11-28 21:29 littlevigra 阅读(433) 评论(1) 推荐(0)
摘要: 1.SDK 安装,执行以下命令,详细可参见 tencentcloud-sdk-python github 项目。 pip install tencentcloud-sdk-pythonhttps://cloud.tencent.com/document/product/573/38366 阅读全文
posted @ 2020-11-28 14:13 littlevigra 阅读(315) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 70 下一页