background picture of the home page

Hi,Friend

删除没运行的docker镜像

#!/bin/bash # 列出所有本地镜像 echo "列出所有本地镜像:" docker images # 列出所有正在运行的容器 echo "列出所有正在运行的容器:" docker ps # 获取所有正在使用的镜像 ID used_images=$(docker ps --format

thumbnail of the cover of the post

11.https证书

1.https证书 1.1htpps概述 基于http协议,传输的时候进行加密. 如果不使用https,数据传输都是明文的. 应用场景: 目前大部分的业务都是使用https加密. 企业想使用http 2.0 基于https. 部署https加密的流程 域名 *.jd.

thumbnail of the cover of the post

10.keepalived高可用

1.HA 高可用服务 1.1概述 高可用:HA HighAvailablity --- Keepalived 生成vip,dns解析到这个ip地址即可 选型 说明 keepalived 活着 高可用软件,负载使用,一些不涉及数据服务. heartbeat 心跳 高可用软件,涉及数据库,存储数据相关

thumbnail of the cover of the post

9.nginx轮回和重写

1.轮询算法 1.1概述 决定负载均衡如何把请求分发给后端节点,这种分发的方式就是轮询算法. 1.2轮询算法 rr,wrr,ip_hash,lc算法(最小连接数),wlc(加权最小连接数) 负载 说明 rr轮询 round robin 轮询,默认的循环访问. wrr 加权轮询,在轮询的基础上增加

thumbnail of the cover of the post

8.nginx负载均衡

1.nginx代理 1.1代理概述 代理: 外卖/中介/中间商. 用户无法直接做某些事情,通过中介进行处理.这个中介就是代理. 用户---代理---WEB节点,后面只有一个节点,一般使用的是ngx代理功能即可,后面如果是集群需要使用ngx负载均衡功能 1.2代理分类 代理分类 方向 应用 正向代理

thumbnail of the cover of the post