background picture of the home page

Hi,Friend

设置新的master负载均衡器

在任意节点(推荐单独节点,也可在现有 master 上)安装 HAProxy: sudo vim /etc/haproxy/haproxy.cfg shitou@aishitou:~$ cat /etc/haproxy/haproxy.cfg global log /dev/log

thumbnail of the cover of the post

k8s之containerd安装

# 第一步:安装依赖工具 sudo apt update && sudo apt install -y apt-transport-https ca-certificates curl software-properties-common # 第二步:配置内核参数(容器网络需要) # 加载 ove

thumbnail of the cover of the post

自建docker 加速地址

首先你需要有一台非大陆的云服务器, 我购买的是优刻得的,轻量云,年限或者浏览都可以自选,当然这是新用户,需要实名认证,因为我之前已经有了账户, 有了服务器你就可以安装docker 了, 你还需要修改一下 ssh 的远程端口为了安全,定期修改可以起到一定的保护作用,最好还是使用密钥验证, sudo n

thumbnail of the cover of the post

Ubuntu 系统安全设置

在 Ubuntu 系统初次安装后,进行一些基础安全设置可以显著降低被攻击的风险。以下是推荐的核心安全配置步骤: 一、立即更新系统 新系统可能包含未修复的安全漏洞,首先更新所有软件包: bash # 更新软件源索引 sudo apt update # 升级所有可更新的包(包括安全补丁) sudo ap

thumbnail of the cover of the post

cgroup v1和v2差异

要将系统从 cgroup v1 切换到 cgroup v2(统一层次结构),主要需要调整内核启动参数并重启系统。以下是具体步骤: 1. 理解核心差异 cgroup v1 使用分离的子系统(如 /sys/fs/cgroup/cpu、/sys/fs/cgroup/memory 等)。 cgroup v2

thumbnail of the cover of the post