会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
黄褐色的菊花怪
大大怪将军!!!
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
5
···
18
下一页
2025年10月14日
alpline 构建lnmp
摘要: 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)
2025年7月2日
ubuntu22.04安装xtrabackup-24
摘要: 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)
2025年2月12日
php 8.1安装swoole扩展
摘要: 主要是记录编译部分 # 镜像很小,打包好之后只有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)
2024年12月17日
nginx中间人代理
摘要: 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)
2024年11月19日
postgres 读书笔记
摘要: postgres 读书笔记 第1章 预写日志 预写日志在客户端写入数据的时候首先写入预写日志中,从原理上来说因为是顺序写性能会更好。 预写日志的配置。 在编译安装的时候可以指定--with-wal-segsize=size修改默认的预写日志文件大小。 wal_level=replica fsync=
阅读全文
posted @ 2024-11-19 16:27 Gshelldon
阅读(75)
评论(0)
推荐(0)
2024年10月8日
CEPH 运维记录
摘要: 基于l 版本。 1、osd 状态 ceph -s active:PG 处于活动状态,正在处理读写请求。 clean:PG 中的所有对象都是最新的,所有副本都已同步,没有缺失或未完成的操作。 scrubbing:PG 正在进行数据校验过程,确保所有数据都是一致的。Scrubbing 是定期的检查,以防
阅读全文
posted @ 2024-10-08 14:54 Gshelldon
阅读(238)
评论(0)
推荐(0)
2024年9月14日
Nginx 4层代理获取客户端真实IP
摘要: 架构 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)
2024年7月15日
centos7 华为云镜像源
摘要: 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)
2024年7月12日
定位k8s异常流量的pod
摘要: 背景: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)
2024年7月11日
Ubuntu 24.04 安装配置
摘要: 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
下一页
公告