ansible 超详细讲解[值得收藏]
ansible 超详细讲解[值得收藏]
ansible安装 yum install python39 -y pip3.9 install ansible # 查看版本 ansible --version ansible配置 mkdir /etc/ansible # 此处根据安装的 ansible 版本进行修改 # wget -O ...
检测内存错误(edac)
检测内存错误(edac)
安装工具 yum install -y libsysfs edac-utils 检测命令 # 详细信息 edac-util -v # 只显示错误信息 edac-util -q ...
netem 模拟丢包乱序延迟
netem 模拟丢包乱序延迟
安装工具 # centos yum install iproute-tc -y # debian apt-get install iproute2 使用方法 帮助信息 tc -h tc qdisc help 查看配置 tc qdisc show dev bond0 删除配置 t ...
MacOS docker desktop 替代之 docker-ce
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 ...
Nginx 使用 logrotate 滚动日志
Nginx 使用 logrotate 滚动日志
安装logrotate 一般系统已经安装了logrotate, 如果没有安装使用一下命令安装 yum install logrotate 入口文件 /etc/cron.daily/logrotate 使用crontab每天执行一次 配置文件 主配置文件/etc/logrotate.co ...
centos 禁止更新内核
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 高可用(主备切换)
安装keepalived(ALL) yum install -y keepalived 配置服务(ALL) cat /etc/keepalived/keepalived.conf global_defs { router_id test001 #标识,只是一个名称 s ...
centos7安装高可用k8s集群
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 ...
执行命令报No such file or directory
执行命令报No such file or directory
更新docker镜像时,执行命令发现报No such file or directory,确定路径是存在的。经过排查发现,没有安装32位兼容库。常见的centos和ubuntu解决方法如下。 # centos yum install xulrunner.i686 yum install libXt ...
zhr

张文兵

90后程序员

 湖南 - 长沙



友情链接