会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lfxx
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
15
下一页
2024年11月14日
linux开机自启动运行命令
摘要: 一、rc.local方式 1、授权 chmod a+x /etc/rc.d/rc.local 2、编辑文件输入需要开机自启的命令 vim /etc/rc.d/rc.local # 格式是/usr/bin/nohup 运行命令 & # 这种方式可以不用担心运行的命令是前台进程还是后台进程 source
阅读全文
posted @ 2024-11-14 18:23 苦逼yw
阅读(1345)
评论(0)
推荐(0)
2024年10月30日
Ubuntu22 mysql8 MHA高可用
摘要: mha-manager地址:https://github.com/yoshinorim/mha4mysql-manager mha-node地址:https://github.com/yoshinorim/mha4mysql-node mha有mha-manager和mha-node 2个组件 由于
阅读全文
posted @ 2024-10-30 18:10 苦逼yw
阅读(236)
评论(0)
推荐(0)
k8s 常用yml配置和service解析
摘要: 1、pvc apiVersion: v1 kind: PersistentVolumeClaim metadata: name: nmg-logs namespace: nmg-test spec: storageClassName: "glusterfs" accessModes: - ReadW
阅读全文
posted @ 2024-10-30 17:04 苦逼yw
阅读(79)
评论(0)
推荐(0)
jenkins 常用shell
摘要: 1、发布前端shell ip="192.168.31.33" port=22 # 前端打包后的包名 dist_name="dist" # app的名字,app下有index.html app_name="dist" # app所在的目录 app_dir="/data/project/html/nmg
阅读全文
posted @ 2024-10-30 10:11 苦逼yw
阅读(139)
评论(0)
推荐(0)
2024年10月29日
linux redis7.4 cluster分片集群
摘要: Redis 集群中内置了 16384 个哈希槽,当需要在 Redis 集群中放置一个 key-value 时, redis 先对 key 使用 crc16 算法算出一个结果,然后把结果对 16384 求余数, 这样每个 key 都会对应一个编号在 0-16383 之间的哈希槽,redis 会根据节点
阅读全文
posted @ 2024-10-29 18:09 苦逼yw
阅读(129)
评论(0)
推荐(0)
2024年10月28日
docker和containerd镜像源配置
摘要: 分享镜像加速地址:https://www.coderjia.cn/archives/dba3f94c-a021-468a-8ac6-e840f85867ea docker vim /etc/docker/daemon.json { "registry-mirrors": ["https://sfpt
阅读全文
posted @ 2024-10-28 14:45 苦逼yw
阅读(631)
评论(0)
推荐(0)
mysql8 gitd 主从复制
摘要: 一、master主库 1、配置serviceID、开启二进制日志和打开gitd,可以配置中继日志。然后重启mysql。完整配置如下 [client] socket=/data/mysql/mysql.sock [mysqld] user=root datadir=/data/mysql/data b
阅读全文
posted @ 2024-10-28 14:44 苦逼yw
阅读(210)
评论(0)
推荐(0)
2024年10月23日
linux 一键部署mysql 8.4.2 绿色版
摘要: 亲测有效 vim deploy_mysql.sh #! /bin/bash # mysql安装目录是 ${wget_path}/${mysql_dir} # 修改mysql的登录密码 updatePassword="sykj@2024" wget_path="/data" mysql_dir="my
阅读全文
posted @ 2024-10-23 12:06 苦逼yw
阅读(286)
评论(0)
推荐(0)
2024年10月12日
k8s 1.25 dashboard可视化面板
摘要: 参考:https://zhuanlan.zhihu.com/p/595657422 dashboard地址:https://github.com/kubernetes/dashboard/ 本次安装的环境:k8s 集群版本为 v1.25,dashboard 的版本是 v2.7.0。 1、下载yaml
阅读全文
posted @ 2024-10-12 16:05 苦逼yw
阅读(469)
评论(0)
推荐(0)
2024年7月26日
centos7 安装单机etcd
摘要: etcd官网 https://etcd.io/ GitHub下载地址 https://github.com/etcd-io/etcd/releases 待完善 1、下载 wget https://github.com/etcd-io/etcd/releases/download/v3.5.15/et
阅读全文
posted @ 2024-07-26 15:46 苦逼yw
阅读(78)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
15
下一页