会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
东峰叵.com
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
下一页
2022年8月10日
docker的安装与卸载
摘要: # 安装docker # 1.安装基础工具yum install -y yum-utils device-mapper-persistent-data lvm2 yum-config-manager --add-repo https://download.docker.com/linux/cento
阅读全文
posted @ 2022-08-10 09:41 东峰叵,com
阅读(95)
评论(0)
推荐(0)
2022年8月9日
docker安装postgresql
摘要: # 需要关闭SELinux getenforce #查看SELinux状态 permissive关闭状态 enforcing开启状态setenforce 0 #临时关闭 setenforce 1 #临时开启# 永久关闭修改 /etc/selinux/configSELINUX=enforcing改为
阅读全文
posted @ 2022-08-09 18:01 东峰叵,com
阅读(219)
评论(0)
推荐(0)
2022年8月8日
不删除临时目录,修改服务器时间
摘要: // 不删除临时目录 vi /usr/lib/tmpfiles.d/tmp.conf x /tmp/undertow.* // 修改服务器时间 date -s 17:32:30 date -s 2022/06/23 // 查看端口进程 netstat -ntulp | grep 8018
阅读全文
posted @ 2022-08-08 10:08 东峰叵,com
阅读(48)
评论(0)
推荐(1)
fastDFS docker 安装
摘要: fastDFS docker 安装 # fastDFS docker 安装 docker run -d --restart=always --privileged=true --net=host --name=fastdfs \ -p 22122:22122 -p 23000:23000 -p 88
阅读全文
posted @ 2022-08-08 10:06 东峰叵,com
阅读(56)
评论(0)
推荐(0)
docker安装nacos
摘要: docker run -d -p 8848:8848 \ #端口映射 -e MODE=standalone \ -e PREFER_HOST_MODE=hostname \ -e SPRING_DATASOURCE_PLATFORM=mysql \ #数据库类型 -e MYSQL_SERVICE_H
阅读全文
posted @ 2022-08-08 10:03 东峰叵,com
阅读(37)
评论(0)
推荐(0)
删除k8s相关组件,删除相关容器镜像脚本
摘要: 删除k8s相关组件 kubectl delete node --all rm -rf ~/.kube/ rm -rf /etc/kubernetes/ rm -rf /etc/systemd/system/kubelet.service.d rm -rf /etc/systemd/system/ku
阅读全文
posted @ 2022-08-08 09:57 东峰叵,com
阅读(632)
评论(0)
推荐(0)
2022年7月12日
redis - 客户端选择:jedis、redission、lettuce
摘要: 地址详情 Jedis api 在线网址:http://tool.oschina.net/uploads/apidocs/redis/clients/jedis/Jedis.html redisson 官网地址:https://redisson.org/ redisson git项目地址:https:
阅读全文
posted @ 2022-07-12 14:16 东峰叵,com
阅读(1622)
评论(0)
推荐(0)
2022年6月1日
k3s证书过期的处理 以及 修改k3s证书有效期为10年(或自定义时间)
摘要: 1、常规操作由于k3s证书的默认过期时间是12个月,因此到期之前或不小心到期,需要轮换 其实官网有明确的说明以及处理办法——但是你会发现按照官方处理办法,基本上无法生效 这里给一个一定可行的办法 # 在其中一个节点上执行k3s kubectl --insecure-skip-tls-verify=t
阅读全文
posted @ 2022-06-01 16:29 东峰叵,com
阅读(2111)
评论(0)
推荐(0)
2022年5月6日
批量删除docker容器
摘要: docker ps发现很多k8s相关的容器(k8s_开头)在运行,内存占用极大 通过命令批量删除 docker stop $(docker ps -q -f name=k8s_) & docker rm $(docker ps -aq -f name=k8s_)
阅读全文
posted @ 2022-05-06 15:01 东峰叵,com
阅读(56)
评论(0)
推荐(0)
2022年2月7日
怎么保护 Spring Boot 配置文件中的敏感信息
摘要: 说明 使用过SpringBoot配置文件的朋友都知道,资源文件中的内容通常情况下是明文显示,安全性就比较低一些。 打开application.properties或application.yml,比如 MySql登陆密码,Redis登陆密码以及第三方的密钥等等一览无余,这里介绍一个加解密组件,提高一
阅读全文
posted @ 2022-02-07 16:36 东峰叵,com
阅读(93)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
下一页
公告