张文兵博客
首页
留言板
linux开启tcp_tw_recycle引发的问题总结
存在场景 服务端 cat /etc/sysctl.conf ... net.ipv4.tcp_tw_recycle = 1 net.ipv4.tcp_timestamps = 1 ... 客户端 k8s集群pod中请求服务端的http接口 客户端host抓包 tcpdump -i bo ...
ansible 超详细讲解[值得收藏]
ansible安装 yum install python39 -y pip3.9 install ansible # 查看版本 ansible --version ansible配置 mkdir /etc/ansible # 此处根据安装的 ansible 版本进行修改 # wget -O ...
netem 模拟丢包乱序延迟
安装工具 # centos yum install iproute-tc -y # debian apt-get install iproute2 使用方法 帮助信息 tc -h tc qdisc help 查看配置 tc qdisc show dev bond0 删除配置 t ...
Nginx 使用 logrotate 滚动日志
安装logrotate 一般系统已经安装了logrotate, 如果没有安装使用一下命令安装 yum install logrotate 入口文件 /etc/cron.daily/logrotate 使用crontab每天执行一次 配置文件 主配置文件/etc/logrotate.co ...
centos 禁止更新内核
# 禁止更新内核等 if [ "$(grep -c "exclude=kernel" /etc/yum.conf)" -eq '0' ]; then sed -i '$a exclude=kernel* centos-release* initscripts* gcc-*' /etc/yum ...
keepalived 高可用(主备切换)
安装keepalived(ALL) yum install -y keepalived 配置服务(ALL) cat /etc/keepalived/keepalived.conf global_defs { router_id test001 #标识,只是一个名称 s ...
k8s集群报错之You must be logged in to the server (Unauthorized)
这是个常见的错误,一般是证书更新后,没有即时更新kubectl配置导致的。 error: You must be logged in to the server (Unauthorized) 解决方法 cp -i /etc/kubernetes/admin.conf $HOME/.kube/ ...
sshd禁止密码登录
修改配置 vim /etc/ssh/sshd_config # 禁止密码登录 PasswordAuthentication no # 确保秘钥登录打开 PubkeyAuthentication yes 重启服务 # 这里建议reload systemctl reload sshd.ser ...
centos7安装高可用k8s集群
一、环境准备 1 主机准备 主机 Ip主机名主功能10.200.20.116master01etcd,apiserver,controller-manager,scheduler,docker,proxy10.200.20.117master02etcd,apiserver,controller ...
实战之给博客加全文索引
卸载 systemctl stop mariadb mv /etc/my.cnf /etc/my.cnf.bak yum remove mariadb mariadb-server 升级 cat /etc/yum.repos.d/mariadb.repo # MariaDB 10.5 Ce ...
张文兵
90后程序员
湖南 - 长沙
分类导航
Golang
Linux
Git
Database
FFmpeg
Game
Python
Node.js
.Net
Java
MacOS
Windows
Sharing
Other
热文排行
SecureCRT SecureFX for mac 破解版
Mac terminal清除历史命令纪录
ffmpeg音频合成命令全集
The request client is not a secure context and the resource is in more-private address space `private`
tcpdump之UDP抓包
nginx+rtmp+hls直播推流
golang创建目录的权限问题
.net core简单读取xml内容
MinIO 多种部署及扩容方案
beego orm关联查询之多对多(m2m)
Golang-RSA加密解密-无数据长度限制
packets.go:36: unexpected EOF
【实战】opencv 文字区域的提取
axios完美解决自动重试
CentOS7 搭建NFS服务
友情链接
首页
留言板