张文兵博客
首页
留言板
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 ...
Linux 查看SN序列号及服务器型号
查看服务器型号 dmidecode | grep 'Product Name' 查看SN序列号 dmidecode -t system | grep 'Serial Number' 查看SN序列号和型号 dmidecode | grep "System Information" -A9 ...
linux 查询内存条信息
内存条数 dmidecode|grep -P -A5 "Memory\s+Device"|grep Size|grep -v Range 内存最大容量 dmidecode|grep -P 'Maximum\s+Capacity' 内存频率 dmidecode|grep -A16 "Me ...
MacOS docker desktop 替代之 docker-ce
服务端 安装docker-ce yum install -y yum-utils yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/fedora/docker-ce.repo 启动服务 syst ...
vscode 使用dlv远程调试golang程序
编译 GOOS=linux GOARCH=amd64 go build -gcflags="all = -N -l" main.go 远程机器 # ${pid} 远程机器上运行go程序的pid dlv --listen=:2345 --headless=true --api-version ...
centos7安装高可用k8s集群
一、环境准备 1 主机准备 主机 Ip主机名主功能10.200.20.116master01etcd,apiserver,controller-manager,scheduler,docker,proxy10.200.20.117master02etcd,apiserver,controller ...
执行命令报No such file or directory
更新docker镜像时,执行命令发现报No such file or directory,确定路径是存在的。经过排查发现,没有安装32位兼容库。常见的centos和ubuntu解决方法如下。 # centos yum install xulrunner.i686 yum install libXt ...
Linux运行命令报Argument list too long
错误信息 Argument list too long 原因分析 # 查看最大参数大小 getconf ARG_MAX # 我这边默认输出是2097152,经过一番搜索发现可以通过修改 ulimit -s 修改这个数值 ulimit -s 81920 # 再次支持 getconf ARG_MA ...
linux容器 x509: certificate signed by unknown authority
在Dockerfile中加入如下命令 # ubuntu RUN set -e; \ export DEBIAN_FRONTEND=noninteractive; \ apt-get update; \ apt-get install -y --no-install-reco ...
误删根目录下系统目录软链接的恢复方法
问题背景 根目录下 /lib /lib64 /bin /sbin都是软链接到/usr/下对应的目录,如果误删的话,需要重新建立软链接才能恢复。 问题现象 bash: /usr/bin/ls: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter: N ...
张文兵
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服务
友情链接
首页
留言板