11 2023 档案

摘要:docker镜像操作 [root@hecs-74102 ~]# docker image --help Usage: docker image COMMAND Manage images Commands: build Build an image from a Dockerfile history 阅读全文
posted @ 2023-11-27 23:24 tom_log 阅读(104) 评论(0) 推荐(0) 编辑
摘要:#!/bin/sh #dest: 切割日志,只保留30天,每日00:10运行 日志目录格式 /var/log/YYYY-MM-DD #请赋予脚本执行权限! #crontab -e创建任务 写入 10 0 * * * /当前脚本绝对路径 #crontab -l 查看任务 # find 递归找,所以删除 阅读全文
posted @ 2023-11-15 09:47 tom_log 阅读(64) 评论(0) 推荐(0) 编辑
摘要:# GIT笔记 安装地址 [GitHub下载](https://git-for-windows.github.io/ ) [官网下载]( https://git-scm.com/download) ## 创建库 1. 初始化库 git init 初始化后产生.git文件 2. 添加唯一标识 git 阅读全文
posted @ 2023-11-15 09:44 tom_log 阅读(4) 评论(0) 推荐(0) 编辑
摘要:在生产环境不存在单体果奔的数据库,且云厂商rds等高可用数据库性价比极低,因此很多场景需要我们使用实例自建集群。本章介绍如何从0开始搭建redis7三主三从基础集群环境与故障迁移模拟测试。 预备姿势 vm模拟环境 vmware cetos7.9 //关闭防火墙与selinux redis7 | 6 阅读全文
posted @ 2023-11-15 09:37 tom_log 阅读(82) 评论(0) 推荐(0) 编辑