会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
littlevigra
用个简单例子来让自己清楚工作过程
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
15
16
17
18
19
20
21
22
23
···
70
下一页
2020年12月18日
Add Changelog Information to Environment 插件安装
摘要: 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)
2020年12月15日
统计nginx的访问日志
摘要: 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)
部署nginx获取客户端ip - log - "$http_x_forwarded_for"
摘要: 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)
2020年12月13日
git 使用命令 - JENKINS_HOME curl cip.cc pyinstaller 流水线构建python代码 Pull 更新的 Jenkinsfile 到其他的仓库分支中 git checkout development
摘要: 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)
2020年12月12日
离线 arthas命令trace追踪方法链路 火焰图
摘要: 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)
2020年12月11日
命令行创建configmap
摘要: 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)
2020年12月8日
node - npm - yarn
摘要: 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)
2020年12月7日
jenkins pipeline jenkins 原理
摘要: 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)
2020年11月28日
用python修改腾讯云负载均衡的权重
摘要: 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)
腾讯云SDK 安装
摘要: 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
下一页
公告