06 2022 档案

摘要:1. 字符串处理 1.1 去除空白符 // this data still needs to be parsed lines = strings.Split(r.Output, "\n") for i = range lines { lines[i] = strings.TrimSpace(line 阅读全文
posted @ 2022-06-30 08:47 明天OoO你好 阅读(50) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/machangwei-8/p/15686096.html 阅读全文
posted @ 2022-06-25 14:07 明天OoO你好 阅读(288) 评论(0) 推荐(0) 编辑
摘要:首先原因是因为禁止了DEBUGDEBUG = False,所以导致找不到静态资源,但是生产环境是必须要关闭DEBUG的,所以我们需要找给Django开设一条路由来解决此问题。 settings配置如下所示: STATIC_URL = '/static/' if DEBUG: STATICFILES_ 阅读全文
posted @ 2022-06-23 15:24 明天OoO你好 阅读(497) 评论(0) 推荐(0) 编辑
摘要:首先需要创建host_vars.yml文件(可以根据需要建在任意位置) /home/ops/ansible/vars/host_vars.yml # vars file for node_exporter hosts: - busi: zhudong machines: - ip: '10.96.1 阅读全文
posted @ 2022-06-19 09:25 明天OoO你好 阅读(597) 评论(0) 推荐(0) 编辑
摘要:欢迎来到我的友链小屋 展示本站所有友情站点,排列不分先后,均匀打乱算法随机渲染的喔! 友链信息 博客名称:明天OoO你好博客网址:https://www.cnblogs.com/miluluyo/博客头像:https://pic.cnblogs.com/avatar/1273193/20190806 阅读全文
posted @ 2022-06-16 22:46 明天OoO你好 阅读(18) 评论(0) 推荐(0) 编辑
摘要:https://www.junmajinlong.com/ansible/8_learn_back/ https://www.zsythink.net/archives/category/%e8%bf%90%e7%bb%b4%e7%9b%b8%e5%85%b3/ansible/ 阅读全文
posted @ 2022-06-15 22:06 明天OoO你好 阅读(49) 评论(0) 推荐(0) 编辑
摘要:1、prometheus、grafana、alertmanager安装与使用详细教程 https://www.cnblogs.com/gered/p/13476061.html#autoid-6-3-0 2、alertmanager深入配置 https://www.cnblogs.com/gered 阅读全文
posted @ 2022-06-08 09:01 明天OoO你好 阅读(816) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示