摘要: 参考:https://www.cnblogs.com/LiuChang-blog/p/15898005.html 一、redis集群部署(三主三从) 1.1yaml文件准备 (1) 配置文件说明 # 部署所在命名空间: redis-cluster [root@k8s-master1 ~]# cd / 阅读全文
posted @ 2023-03-30 17:15 灰蓝色的白云梦想 阅读(508) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.jianshu.com/p/a329a73f3296 http://blog.redrose2100.com/article/263 1.钩子函数介绍 钩子函数对于程序员来说并不陌生,比如我们java中常用的过滤器、拦截器都可以称作为一个钩子函数。指在自身生命周期过程中 阅读全文
posted @ 2023-02-09 11:19 灰蓝色的白云梦想 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/yunqingtuo/p/13412491.html system-logind 排查方法 1、通过 trace -t su root 可以发送耗时在什么地方,但是也获取不到有用的信息 2、通过ssh -v root@IP 查看输出日志 3、可能 阅读全文
posted @ 2023-01-04 11:54 灰蓝色的白云梦想 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 参考:https://copyfuture.com/blogs-details/20201231224307473y https://blog.csdn.net/u013914485/article/details/38265129?utm_medium=distribute.pc_relevant 阅读全文
posted @ 2022-11-18 17:59 灰蓝色的白云梦想 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/Ruishine/article/details/115323525 阅读全文
posted @ 2022-11-18 17:37 灰蓝色的白云梦想 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 参考:https://support.huaweicloud.com/usermanual-cce/cce_01_0361.html 一、修改CoreDNS Hosts配置 修改CoreDNS配置文件,将自定义域名添加到hosts中。 例如将www.example.com指向192.168.1.1, 阅读全文
posted @ 2022-09-07 17:51 灰蓝色的白云梦想 阅读(2163) 评论(0) 推荐(0) 编辑
摘要: oralce报错:ORA-01653: unable to extend table DATAX.sqlserver_t1_copy by 1024 in tablespace DATAX_TEST 参考:https://blog.csdn.net/huxiangen/article/details 阅读全文
posted @ 2022-08-05 10:39 灰蓝色的白云梦想 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/qq_34272760/article/details/123790139 Redis是基于内存的,如果Redis服务器挂了,数据就会丢失。为了避免数据丢失了,Redis提供了两种持久化方式,RDB和AOF。 1、AOF持久化 AOF(append 阅读全文
posted @ 2022-06-22 16:05 灰蓝色的白云梦想 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 参考:https://mp.weixin.qq.com/s/hn8Env3e5PztLgOCAYZamA 在构建 docker 容器时,我们一般希望尽量减小镜像,以便加快镜像的分发;但是不恰当的镜像构建方式,很容易导致镜像过大,造成带宽和磁盘资源浪费,尤其是遇到 daemonset 这种需要在每台机 阅读全文
posted @ 2022-06-20 17:55 灰蓝色的白云梦想 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: 一、创建用户 二、给新建的用户授权 2.1新建角色 2.2分配角色 三、登陆验证 略 阅读全文
posted @ 2022-06-20 15:32 灰蓝色的白云梦想 阅读(28) 评论(0) 推荐(0) 编辑