会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
夜夜漫笔
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
16
下一页
2021年3月8日
镜像扫描
摘要: 1、添加yum源 RHEL/CentOS Add repository setting to /etc/yum.repos.d. $ sudo vim /etc/yum.repos.d/trivy.repo [trivy] name=Trivy repository baseurl=https://
阅读全文
posted @ 2021-03-08 18:39 夜夜漫笔
阅读(99)
评论(0)
推荐(0)
2021年3月6日
openstack中region、az、host aggregate、cell 概念
摘要: openstack中region、az、host aggregate、cell 概念 1. region 更像是一个地理上的概念,每个region有自己独立的endpoint,regions之间完全隔离,但是多个regions之间共享同一个keystone和dashboard。(注:目前openst
阅读全文
posted @ 2021-03-06 15:59 夜夜漫笔
阅读(1083)
评论(0)
推荐(0)
2021年3月5日
helm 包管理
摘要: Helm应用包管理器 为什么需要Helm? K8S上的应用对象,都是由特定的资源描述组成,包括deployment、service等。都保存各自文件中或者集中写到一个配置文件。然后kubectl apply –f 部署。如果应用只由一个或几个这样的服务组成,上面部署方式足够了。而对于一个复杂的应用,
阅读全文
posted @ 2021-03-05 16:30 夜夜漫笔
阅读(336)
评论(0)
推荐(0)
2021年3月2日
ntp服务器
摘要: 一、安装ntp root@ZND ~]# yum install ntp -y 1 二、修改ntp的配置文件 [root@ZND ~]# cp /etc/ntp.conf{,.bak} [root@ZND ~]# vim /etc/ntp.conf server 127.127.1.0 #以本机作为
阅读全文
posted @ 2021-03-02 15:25 夜夜漫笔
阅读(370)
评论(0)
推荐(0)
基于k8s mysql 数据备份
摘要: 1.创建cronjob的文件 CronJob所描述的,正是定时任务。 在给定时间点只运行一次 在给定时间点周期性地运行 一个 CronJob 对象类似于 crontab (cron table)文件中的一行。它根据指定的预定计划周期性地运行一个 Job。在这里简单的说一下cron,是指unix中cr
阅读全文
posted @ 2021-03-02 15:16 夜夜漫笔
阅读(1590)
评论(0)
推荐(0)
mysql相关
摘要: 最常用的显示命令: 1、显示数据库列表。show databases; 2、显示库中的数据表:use mysql;show tables; 3、显示数据表的结构:describe 表名; 4、建库:create database 库名; 5、建表:use 库名;create table 表名 (字段
阅读全文
posted @ 2021-03-02 15:04 夜夜漫笔
阅读(90)
评论(0)
推荐(0)
2021年1月18日
k8s the hard way
摘要: 1、安装必要工具cfssl、cfssljson、kubectl linux wget -a --show-progress --https-only --timestamping https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 https://pkg.cfs
阅读全文
posted @ 2021-01-18 16:38 夜夜漫笔
阅读(249)
评论(0)
推荐(1)
2021年1月14日
nginx https 配制
摘要: 1、前置条件 ssl证书(两个文件:一个key后缀,一个pem后缀;生成方法很多这里不再介绍);docker环境 2、docker pull nginx:latest 3、创建目录 nginx, 用于存放后面的相关东西 mkdir -p /home/nginx/www /home/nginx/log
阅读全文
posted @ 2021-01-14 15:16 夜夜漫笔
阅读(154)
评论(0)
推荐(0)
2020年12月12日
github使用
摘要: 1、git --help 查看常用命令 2、git add + 编辑的文件 添加文件 3、get commit -m "描述" 4、git push 将变更提交到github
阅读全文
posted @ 2020-12-12 11:31 夜夜漫笔
阅读(72)
评论(0)
推荐(0)
2020年11月24日
crontab 计划任务
摘要: 1、crontab 命令 -u 指定一个用户 -l 列出某个用户的计划任务 -r 删除某个用户的任务 -e 编辑某个用户的任务 2、cron文件语法: 分 时 日 月 周 命令 0-59 0-23 1-31 1-12 0-6 command 可用crontab -e 命令来编辑,编辑的是/var/s
阅读全文
posted @ 2020-11-24 16:02 夜夜漫笔
阅读(214)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
16
下一页
公告