Archive Post
Home / January 2026
kubernetes 滚动更新、定义应用版本、实现应用更新、管理应用更新、添加更新描述
pv.yaml: apiVersion: v1 kind: PersistentVolume metadata: name: pv-data-10m spec: capacity:…
docker运维——搭建kms服务器
vlmcsd-20251208.tarDownload 新建项目文件夹 mkdir /data/containers/kms_server 文件夹结构: . ├── build │ ├──…
docker运维——设置时区
方法一:在Dockerfile中设置时区 你可以在Dockerfile中通过环境变量和安装相关时区软件来设置时区。例如: FROM ubuntu:latest # 安装 tzdata 包 RUN apt-get…
vim中文乱码的解决方法
/root/.vimrc :set encoding=utf-8 :set fileencoding=utf-8 :set fileencodings=utf-8,ucs-bom,gbk,gb2312,cp936
debian运维——iptables规则重启失效问题的解决方法
touch /etc/network/if-pre-up.d/iptables chmod +x /etc/network/if-pre-up.d/iptables /etc/network/if-pre-up.d/iptables的内容是: #!/bin/bash /usr/sbin/iptables-restore </etc/iptables.rules 平时加策略后…
自行定制geoip.dat和h2y.dat
下载Loyalsoldier/geoip: git clone https://github.com/Loyalsoldier/geoip.git cd geoip config.json: { "input": […