1 2 3 4 5 ··· 18 下一页
摘要: alpline 构建lnmp default.conf map $http_upgrade $connection_upgrade { default upgrade; '' close; } server { listen 80; root "/app/public"; index index.p 阅读全文
posted @ 2025-10-14 14:56 Gshelldon 阅读(6) 评论(0) 推荐(0)
摘要: wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb percona- 阅读全文
posted @ 2025-07-02 09:13 Gshelldon 阅读(43) 评论(0) 推荐(0)
摘要: 主要是记录编译部分 # 镜像很小,打包好之后只有600多M webdevops/php-nginx:8.1-alpine php -v 8.1 install-swoole.sh #!/bin/bash apk update apk add --no-cache autoconf gcc g++ a 阅读全文
posted @ 2025-02-12 13:44 Gshelldon 阅读(159) 评论(0) 推荐(0)
摘要: nginx中间人代理实现七层https代理后端https cat alijms.esb.com.conf server { listen 443 ssl; server_name alijms.esb.com; ssl_certificate certs/esb.com.pem; ssl_certi 阅读全文
posted @ 2024-12-17 11:55 Gshelldon 阅读(53) 评论(0) 推荐(0)
摘要: postgres 读书笔记 第1章 预写日志 预写日志在客户端写入数据的时候首先写入预写日志中,从原理上来说因为是顺序写性能会更好。 预写日志的配置。 在编译安装的时候可以指定--with-wal-segsize=size修改默认的预写日志文件大小。 wal_level=replica fsync= 阅读全文
posted @ 2024-11-19 16:27 Gshelldon 阅读(75) 评论(0) 推荐(0)
摘要: 基于l 版本。 1、osd 状态 ceph -s active:PG 处于活动状态,正在处理读写请求。 clean:PG 中的所有对象都是最新的,所有副本都已同步,没有缺失或未完成的操作。 scrubbing:PG 正在进行数据校验过程,确保所有数据都是一致的。Scrubbing 是定期的检查,以防 阅读全文
posted @ 2024-10-08 14:54 Gshelldon 阅读(238) 评论(0) 推荐(0)
摘要: 架构 4层代理配置 stream { upstream backend { server 10.4.7.30:80; } server { listen 80; proxy_pass backend; proxy_connect_timeout 1s; proxy_protocol on ; # 主 阅读全文
posted @ 2024-09-14 10:20 Gshelldon 阅读(441) 评论(0) 推荐(0)
摘要: gzip /etc/yum.repos.d/* # base curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.huaweicloud.com/repository/conf/CentOS-7-anon.repo cat>/etc/y 阅读全文
posted @ 2024-07-15 16:01 Gshelldon 阅读(821) 评论(0) 推荐(0)
摘要: 背景:k8s集群是使用的calico IPIP模式的网络。 1、通过sar查看异常的网口 # 没秒统计一次,按ctrl + c结束 sar -n DEV 1 上一个步骤能看到是哪个网络接口的流量异常。 然后根据获取到的网口名称。过滤查找到是哪个pod IP在过滤出pod route -n | gre 阅读全文
posted @ 2024-07-12 17:19 Gshelldon 阅读(28) 评论(0) 推荐(0)
摘要: Ubuntu 24.04 安装配置 1、安装基本优化 1.1 关闭cloud-init进程 cloud init进程在云计算中,开机的时候会去访问一个固定的IP地址,来获取主机的元数据信息,比如初始化的脚本,重置操作系统密码等功能。单独装不需要可以关闭。 echo 'network: {config 阅读全文
posted @ 2024-07-11 14:40 Gshelldon 阅读(2103) 评论(0) 推荐(0)
1 2 3 4 5 ··· 18 下一页