上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: Ubuntu 24.04 安装配置 1、安装基本优化 1.1 关闭cloud-init进程 cloud init进程在云计算中,开机的时候会去访问一个固定的IP地址,来获取主机的元数据信息,比如初始化的脚本,重置操作系统密码等功能。单独装不需要可以关闭。 echo 'network: {config 阅读全文
posted @ 2024-07-11 14:40 Gshelldon 阅读(2522) 评论(0) 推荐(0)
摘要: cat k8s-events-elasticsearch.yaml # 采集k8s事件(events)到elasticsearch # https://github.com/AliyunContainerService/kube-eventer apiVersion: apps/v1 kind: D 阅读全文
posted @ 2024-07-05 16:34 Gshelldon 阅读(66) 评论(0) 推荐(0)
摘要: # redis7.2 安装部署 https://redis.io/download/ https://github.com/redis/redis/tree/7.2 wget https://github.com/redis/redis/archive/7.2.3.tar.gz redis-7.2. 阅读全文
posted @ 2024-07-05 16:29 Gshelldon 阅读(458) 评论(0) 推荐(0)
摘要: mysqlbinlog 命令行 常见的选项 mysqlbinlog常见的选项有一下几个: a、--start-datetime:从二进制日志中读取指定等于时间戳或者晚于本地计算机的时间。 b、--stop-datetime:从二进制日志中读取指定小于时间戳或者等于本地计算机的时间 取值和上述一样。 阅读全文
posted @ 2024-07-05 16:24 Gshelldon 阅读(486) 评论(0) 推荐(0)
摘要: # gbk转成utf-8 iconv -f GB2312 -t UTF-8//IGNORE ecology -o ecology.log # linux到windows互转 dos2unix unix2dos 阅读全文
posted @ 2024-06-26 09:37 Gshelldon 阅读(30) 评论(0) 推荐(0)
摘要: helm 安装redis的主从、哨兵 主要的配置还是得看helm values中的注释说明 安装库 $ helm repo add bitnami https://charts.bitnami.com/bitnami # 查询redis资源 $ helm repo update $ helm sea 阅读全文
posted @ 2024-03-15 21:53 Gshelldon 阅读(691) 评论(0) 推荐(0)
摘要: ingress 注释常用功能总结 --annotations-prefix # 特定于 NGINX 控制器的入口注释的前缀。(默认“nginx.ingress.kubernetes.io”) 1、域名重定向 这个配置会把www.hr.com跳转到www.ehr.com。 # 主要配置 nginx.i 阅读全文
posted @ 2024-03-12 11:54 Gshelldon 阅读(386) 评论(0) 推荐(0)
摘要: systemctl disable myservice.service systemctl stop myservice.service systemctl status myservice.service rm -fr /usr/lib/systemd/system/myservice.servi 阅读全文
posted @ 2024-03-08 10:36 Gshelldon 阅读(417) 评论(0) 推荐(0)
摘要: # mysql 迁移 docker run -d --name=mysql \ -e TZ=Asia/Shanghai \ -e MYSQL_ROOT_PASSWORD=qwer1234 \ -p 3306:3306 \ -v /opt/mysql:/var/lib/mysql \ mysql:5. 阅读全文
posted @ 2024-02-27 17:05 Gshelldon 阅读(51) 评论(0) 推荐(0)
摘要: 关闭了持久化,和对客户端的链接进行了简单的调优,使用的是本地存储。 redis.conf: |- dir /tmp #appendonly yes #appendfsync everysec #auto-aof-rewrite-percentage 100 #auto-aof-rewrite-min 阅读全文
posted @ 2024-02-27 17:01 Gshelldon 阅读(37) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 17 下一页