会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Patsy Zhang
我们之所以飘荡四方,是因为还没有找到安家的地方;我们之所以徘徊迷茫,是因为还没有找到奋斗终生的事业,我们之所以孤独寂寞,是因为还没有找到专注一生的爱情。安一个家有一份事业有一个深爱的人陪伴,这就是人生努力的意义。 人们眼中的天才之所以卓越非凡,并非天资超人一等,而是付出了持续不断的努力。1万小时的练习是任何人从平凡变成超凡的必要条件 代码封装得越“高级”,解决的问题就越具体;越深入计算机底层,解决的问题就越通用。
博客园
首页
新随笔
联系
管理
订阅
1
2
3
4
5
···
9
下一页
2025年1月19日
redis 迁移方案
摘要: 主从复制(Master-Slave Replication) 在目标服务器上配置 Redis 为源服务器的从节点: slaveof 源服务器IP 源服务器端口masterauth 源服务器密码(如果有) 启动目标服务器的 Redis 服务。 此时,目标服务器将开始从源服务器同步数据。 等待数据同步完
阅读全文
posted @ 2025-01-19 16:35 人生信条~~
阅读(70)
评论(0)
推荐(0)
2024年11月8日
aws 利用生命周期删除对象
摘要:
阅读全文
posted @ 2024-11-08 10:21 人生信条~~
阅读(7)
评论(0)
推荐(0)
2024年3月7日
安装新版本php8.0扩展swoole 5.1
摘要: wget https://github.com/swoole/swoole-src/archive/v5.1.0.tar.gz cd swoole-src-5.1.0/ /opt/remi/php80/root/usr/bin/phpize ./configure --with-php-config
阅读全文
posted @ 2024-03-07 11:01 人生信条~~
阅读(349)
评论(0)
推荐(0)
2024年2月26日
aws工具的iam使用方法
摘要: [root@uat-nanguaapp-mysql backup]# cat ~/.aws/config [profile all_sdk]region = us-west-1output = json [profile jfm_sdk]region = us-east-1output = json
阅读全文
posted @ 2024-02-26 10:32 人生信条~~
阅读(33)
评论(0)
推荐(0)
2023年10月19日
上传阿里云
摘要: #!/usr/bin/python3import timeimport threadingimport subprocessimport multiprocessingfrom multiprocessing import Pool # -*- coding: utf-8 -*-date_dir =
阅读全文
posted @ 2023-10-19 09:44 人生信条~~
阅读(36)
评论(0)
推荐(0)
2023年9月25日
goland激活码
摘要: https://gist.github.com/5hmlA/2d25c4a5b2630a61826079b3f8ed6110
阅读全文
posted @ 2023-09-25 15:01 人生信条~~
阅读(533)
评论(0)
推荐(0)
2023年6月14日
s3 策略
摘要: { "Version": "2012-10-17", "Id": "Policy1686715306459", "Statement": [ { "Sid": "Stmt1686715042068", "Effect": "Allow", "Principal": { "AWS": "arn:aws
阅读全文
posted @ 2023-06-14 22:34 人生信条~~
阅读(23)
评论(0)
推荐(0)
2023年4月27日
查询域名注册商
摘要: #!/bin/bash # 从文件中读取域名列表for i in `cat domain.txt`do registrar_url=$(whois $i | grep "Registrar WHOIS Server" |awk '{print $NF}') if [ "$registrar_url"
阅读全文
posted @ 2023-04-27 09:18 人生信条~~
阅读(59)
评论(0)
推荐(0)
2023年4月4日
pod退出执行命令
摘要: # pod-prestop.yamlapiVersion: v1kind: Podmetadata: name: hook-demo2spec: containers: - name: hook-demo2 image: nginx lifecycle: preStop: exec: command
阅读全文
posted @ 2023-04-04 15:57 人生信条~~
阅读(97)
评论(0)
推荐(0)
pod的常用状态
摘要: pod的状态挂起(Pending):Pod 信息已经提交给了集群,但是还没有被调度器调度到合适的节点或者 Pod 里的镜像正在下载运行中(Running):该 Pod 已经绑定到了一个节点上,Pod 中所有的容器都已被创建。至少有一个容器正在运行,或者正处于启动或重启状态成功(Succeeded):
阅读全文
posted @ 2023-04-04 15:22 人生信条~~
阅读(533)
评论(0)
推荐(0)
1
2
3
4
5
···
9
下一页
公告