摘要: Gateway api 安装使用 gateway的实现有很多方式 nginx traefik kong istio nginx只是其中的一种实现。 一、Gateway的nginx实现 1.安装网关api资源 nginx gateway的参考地址: https://docs.nginx.com/ngi 阅读全文
posted @ 2025-12-24 11:22 Gshelldon 阅读(6) 评论(0) 推荐(0)
摘要: Openwrt初始化基本配置 针对x86_64平台 openwrt Version: 24.10 每个版本的依赖都不一样报错也会不一样。 1.修改网卡配置 配置文件路径,修改成dhcp或者静态IP root@OpenWrt:~# cat /etc/config/network config inte 阅读全文
posted @ 2025-11-26 15:47 Gshelldon 阅读(156) 评论(0) 推荐(0)
摘要: root@tpl-ops:~# cat /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity' network: ethernets: ens160: dhcp4: false 阅读全文
posted @ 2025-11-21 13:47 Gshelldon 阅读(5) 评论(0) 推荐(0)
摘要: 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 阅读(58) 评论(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 阅读(191) 评论(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 阅读(59) 评论(0) 推荐(0)
摘要: postgres 读书笔记 第1章 预写日志 预写日志在客户端写入数据的时候首先写入预写日志中,从原理上来说因为是顺序写性能会更好。 预写日志的配置。 在编译安装的时候可以指定--with-wal-segsize=size修改默认的预写日志文件大小。 wal_level=replica fsync= 阅读全文
posted @ 2024-11-19 16:27 Gshelldon 阅读(86) 评论(0) 推荐(0)
摘要: 基于l 版本。 1、osd 状态 ceph -s active:PG 处于活动状态,正在处理读写请求。 clean:PG 中的所有对象都是最新的,所有副本都已同步,没有缺失或未完成的操作。 scrubbing:PG 正在进行数据校验过程,确保所有数据都是一致的。Scrubbing 是定期的检查,以防 阅读全文
posted @ 2024-10-08 14:54 Gshelldon 阅读(281) 评论(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 阅读(461) 评论(0) 推荐(0)