会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大军军军之技术落地
责人之心责己、恕己之心恕人
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
18
下一页
2023年3月14日
es备份
摘要: [root@es ~]# cat /data/elasticsearch-6.8.8/config/elasticsearch.yml cluster.name: es_user node.name: es-user01 path.data: /data/elasticsearch_data pat
阅读全文
posted @ 2023-03-14 11:43 Hello_worlds
阅读(40)
评论(0)
推荐(0)
2023年3月3日
ucloud 签名算法
摘要: # Python version:3.6.5 # Python version:Python 3.6.5import hashlibimport urllibfrom urllib.parse import urlparseimport datetimeimport requestsimport j
阅读全文
posted @ 2023-03-03 17:13 Hello_worlds
阅读(72)
评论(0)
推荐(0)
2023年2月22日
将 ChatGPT 接入 Zabbix 为告警提供修复建议(对接钉钉)
摘要: 1、如果接企业微信请参考下面的文章 https://www.txisfine.cn/archives/9c078bb7.html 感谢上述文章的作者提供的思路 ChatGPT 是最近很火的 AI 智能机器人程序,2 个月活跃用户突破 1 亿,它能够通过学习和理解人类的语言来进行对话,还能根据聊天的上
阅读全文
posted @ 2023-02-22 17:29 Hello_worlds
阅读(1317)
评论(2)
推荐(0)
2023年2月16日
Python3 时间戳格式化和减法运算
摘要: import datetime import time # 获取当前时间(2023-02-16 16:41:36) now_date = datetime.datetime.now().strftime('%Y-%m-%d %H:%M:%S') # 将当前时间转换为秒级时间戳(1676536896.
阅读全文
posted @ 2023-02-16 17:19 Hello_worlds
阅读(135)
评论(0)
推荐(0)
2023年2月6日
打印一个三角形
摘要: for i in range(20):# 这里循环(0-20) if i <= 9: print("❤ " * i) else: print("❤ " * (20 - i))
阅读全文
posted @ 2023-02-06 14:13 Hello_worlds
阅读(27)
评论(0)
推荐(0)
2023年2月3日
99乘法表
摘要: shell cat 99.sh #!/bin/bash for i in `seq 9` do for j in `seq 1 $i` do echo -en "$i*$j=$(($i*$j))\t" #-n:默认echo会在每行结尾加一个回车的换行符,-n放在这里是为了取消这个换行符 #-e:放在
阅读全文
posted @ 2023-02-03 16:14 Hello_worlds
阅读(310)
评论(0)
推荐(0)
2023年1月28日
zabbix-agent2安装问题汇总
摘要: 1、yum源报错 # 具体报错信息 failure: repodata/4bb73bd0742c638c3cd1e73a5f3dc8838c7b0d693c9f50b7ed8266c3e83308d3-filelists.sqlite.bz2 from zabbix: [Errno 256] No
阅读全文
posted @ 2023-01-28 16:20 Hello_worlds
阅读(1960)
评论(0)
推荐(0)
2023年1月11日
数组添加元素
摘要: cat test.sh # 定义一个空的数组 array=() ping -w 1 192.168.1.1 > /dev/null 2>&1 array+=($?) ping -w 1 192.168.1.1 > /dev/null 2>&1 array+=($?) ping -w 1 127.0.
阅读全文
posted @ 2023-01-11 14:54 Hello_worlds
阅读(21)
评论(0)
推荐(0)
2023年1月3日
Centos 6.5 iptables 端口白名单设置
摘要: iptables -I INPUT -p tcp --dport 8888 -j DROPiptables -I INPUT -s 10.9.145.101 -p tcp --dport 8888 -j ACCEPTservice iptables save 参考文章: https://www.cn
阅读全文
posted @ 2023-01-03 16:49 Hello_worlds
阅读(1030)
评论(0)
推荐(0)
2022年12月8日
001、nodelocaldns(/etc/resolv.conf)
摘要: nodelocaldns pod 中的 /etc/resolv.conf 虽然读取的是 宿主机的/etc/resolv.conf,但是不是实时同步更新的。可能同步更新会有延迟 所以如果 /etc/resolv.conf 文件中的内容 [root@master-01 kubernetes]# kube
阅读全文
posted @ 2022-12-08 17:57 Hello_worlds
阅读(315)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
18
下一页
公告