上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: nginx开启gzip功能 1. nginx开启gzip nginx,配置gzip https://www.cnblogs.com/kevingrace/p/10018914.html 2, 检测gzip是否开启 2.1 网站工具检测 https://www.dute.org/gzip 2.2 命令 阅读全文
posted @ 2023-08-30 18:55 solomon123 阅读(603) 评论(0) 推荐(0) 编辑
摘要: jenkins 的字符集问题有操作系统字符引起的,也有jenkins服务自身问题引起的,大致就分为这两类 1. jenkins 的 执行shell中, 不能识别中文注释,这个是操作系统的字符集问题引起, 修改操作系统 /etc/locale.conf 文件 [root@jenkins ~]# cat 阅读全文
posted @ 2023-08-06 18:06 solomon123 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 1, playbook命令行书写格式 -i + ip 地址后面有逗号,否则会报错 命令行如下 ansible-playbook deploy.yml -i 192.168.1.10, --vault-password-file "../secrets" --extra-vars "host=all" 阅读全文
posted @ 2023-08-03 14:56 solomon123 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1,钉钉群发送消息模块 dingtalkchatbot 代码块 from dingtalkchatbot.chatbot import DingtalkChatbot bot = DingtalkChatbot("https://oapi.dingtalk.com/robot/send?access 阅读全文
posted @ 2023-06-06 13:59 solomon123 阅读(12) 评论(0) 推荐(0) 编辑
摘要: xshell 免费版下载地址 https://51.ruyo.net/test/download_xshell_xftp.html 阅读全文
posted @ 2022-08-26 16:49 solomon123 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1. 官方脚本自动安装docker curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun 2. 查看jenkins 镜像,并下载 docker search jenkins docker pull jenkins 3. 阅读全文
posted @ 2022-08-24 16:19 solomon123 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 1. 几个组件的关系 gitlab代码提交 --> 触发yaml文件(ymal文件式gitlab库中的一个隐藏文件.gitlab-ci.yml)--> yaml文件关联gitlab-runner(通过打标签的方式) 一个yaml文件样例 cat .gitlab-ci.yml stages: - te 阅读全文
posted @ 2022-08-24 10:31 solomon123 阅读(58) 评论(0) 推荐(0) 编辑
摘要: jenkins pipline样例 String name="${checkout_sha}" node { // 拉取代码 stage('git checkout') { checkout([$class: 'GitSCM', branches: [[name: '*/main']],doGene 阅读全文
posted @ 2022-08-18 17:17 solomon123 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 1, 准备工作,事先准备https登录的Harbor,和k8s集群 2. 修改master节点hosts文件,添加Harbor的域名解析,不加后面会报错 192.168.169.133 harbor.solomon.com 3,修改master节点的docker启动配置文件 参考链接: https: 阅读全文
posted @ 2022-08-11 11:49 solomon123 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 1, 对称加密 2.非对称加密 阅读全文
posted @ 2022-06-10 11:12 solomon123 阅读(26) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页