摘要:
mysql> select concat(round(sum(DATA_LENGTH/1024/1024),2),'MB') as data from information_schema.TABLES; + + | data | + + | 433.96MB | + + 1 row in set 阅读全文
mysql> select concat(round(sum(DATA_LENGTH/1024/1024),2),'MB') as data from information_schema.TABLES; + + | data | + + | 433.96MB | + + 1 row in set 阅读全文
posted @ 2022-11-02 10:15
安生丶
阅读(53)
评论(0)
推荐(0)
摘要:
[root@small-node2 ~]# cat check-yuming-time.sh #!/bin/bash ################ Version Info ################## # Create Date: 2022-10-14 # Author: Anshen 阅读全文
[root@small-node2 ~]# cat check-yuming-time.sh #!/bin/bash ################ Version Info ################## # Create Date: 2022-10-14 # Author: Anshen 阅读全文
posted @ 2022-11-02 10:14
安生丶
阅读(127)
评论(0)
推荐(0)
摘要:
[root@small-master ~]# kubectl get po -A -o wide |grep Running |awk '{print $5}' 0 0 0 0 0 1 2 0 1 1 1 2 1 0 1 2 [root@small-master ~]# kubectl get po 阅读全文
[root@small-master ~]# kubectl get po -A -o wide |grep Running |awk '{print $5}' 0 0 0 0 0 1 2 0 1 1 1 2 1 0 1 2 [root@small-master ~]# kubectl get po 阅读全文
posted @ 2022-11-02 10:13
安生丶
阅读(28)
评论(0)
推荐(0)
摘要:
#修改dns: [root@iZap201hv2fcgry1alvbznZ ~]# vim /etc/resolv.conf #添加此格式的dns nameserver 114.114.114.114 不用任何操作立即生效,重启后失效 阅读全文
#修改dns: [root@iZap201hv2fcgry1alvbznZ ~]# vim /etc/resolv.conf #添加此格式的dns nameserver 114.114.114.114 不用任何操作立即生效,重启后失效 阅读全文
posted @ 2022-11-02 10:10
安生丶
阅读(48)
评论(0)
推荐(0)
摘要:
[root@iZap201hv2fcgry1alvbznZ ~]# curl cip.cc IP : xxx.xxx.xx.xx 地址 : 中国 浙江 绍兴 运营商 : 移动 数据二 : 浙江省绍兴市 | 移动 数据三 : 中国浙江省绍兴市 | 移动 URL : http://www.cip.cc/ 阅读全文
[root@iZap201hv2fcgry1alvbznZ ~]# curl cip.cc IP : xxx.xxx.xx.xx 地址 : 中国 浙江 绍兴 运营商 : 移动 数据二 : 浙江省绍兴市 | 移动 数据三 : 中国浙江省绍兴市 | 移动 URL : http://www.cip.cc/ 阅读全文
posted @ 2022-11-02 10:09
安生丶
阅读(65)
评论(0)
推荐(0)
摘要:
root@master:~# curl -X POST -H "Content-type: application/json" -d "{\"bizCode\": \"SLb6a98\",\"code\": \"330821194812082874\", \"codeType\": \"idCard 阅读全文
root@master:~# curl -X POST -H "Content-type: application/json" -d "{\"bizCode\": \"SLb6a98\",\"code\": \"330821194812082874\", \"codeType\": \"idCard 阅读全文
posted @ 2022-11-02 10:07
安生丶
阅读(69)
评论(0)
推荐(0)
摘要:
1)开始通知 在Jenkins发版过程的第一步添加下面内容,调用下面脚本实现机器人发版通知(注意脚本路径和传参) ${BUILD_USER}是Jenkins内置变量,执行发布的用户名,需要安装插件-Build User Vars Plugin,在构建任务里开启Set jenkins user bui 阅读全文
1)开始通知 在Jenkins发版过程的第一步添加下面内容,调用下面脚本实现机器人发版通知(注意脚本路径和传参) ${BUILD_USER}是Jenkins内置变量,执行发布的用户名,需要安装插件-Build User Vars Plugin,在构建任务里开启Set jenkins user bui 阅读全文
posted @ 2022-11-02 10:04
安生丶
阅读(702)
评论(0)
推荐(0)
摘要:
1.安装docker-compose curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docke 阅读全文
1.安装docker-compose curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docke 阅读全文
posted @ 2022-11-02 10:02
安生丶
阅读(52)
评论(0)
推荐(0)
摘要:
[root@zhyly-pre-002 ~]# /usr/local/redis/bin/redis-cli -p 6379 #登录redis 127.0.0.1:6379> auth 'Redisylypre@shuli123' OK 127.0.0.1:6379> DEL key access* 阅读全文
[root@zhyly-pre-002 ~]# /usr/local/redis/bin/redis-cli -p 6379 #登录redis 127.0.0.1:6379> auth 'Redisylypre@shuli123' OK 127.0.0.1:6379> DEL key access* 阅读全文
posted @ 2022-11-02 09:59
安生丶
阅读(794)
评论(0)
推荐(0)
摘要:
[root@lecode-pre55 bin]# cat nginx-log.sh #!bin/bash #auther:ansheng #desc: nginx日志备份,注意脚本中文件的路径。 #备份以时间命名。每天晚上两点执行备份。时间减1 date=`date -d "-1day" +%F` 阅读全文
[root@lecode-pre55 bin]# cat nginx-log.sh #!bin/bash #auther:ansheng #desc: nginx日志备份,注意脚本中文件的路径。 #备份以时间命名。每天晚上两点执行备份。时间减1 date=`date -d "-1day" +%F` 阅读全文
posted @ 2022-11-02 09:58
安生丶
阅读(233)
评论(0)
推荐(1)

浙公网安备 33010602011771号