<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weixin_46299169的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/weixin_46299169</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; weixin_46299169]]></copyright><item><title><![CDATA[解析报错Name or service not known]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/119932397</link><guid>https://blog.csdn.net/weixin_46299169/article/details/119932397</guid><author>weixin_46299169</author><pubDate>Thu, 26 Aug 2021 15:23:57 +0800</pubDate><description><![CDATA[问题现象
在阿里ocp集群node7节点上，解析某个域名会出现无法解析的情况。报错信息：Name or service not known
问题排查
经过测试发现，发现此问题不只发生在node7节点中。在所有阿里云华东2（上海）可用区F的服务器中，都会出现解析该域名无法解析的情况（其它可用区正常）。
结论
经过向阿里工程师确认，问题出现的原因是由于解析该域名的自建DNS权威服务器不支持edns导致的。DNS社区要求权威服务器必须支持edns，否则localdns不在有workaround机制。但是线上阿里云]]></description><category></category></item><item><title><![CDATA[数据库的磁盘突然一直飘升导致数据库被锁定]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/119930656</link><guid>https://blog.csdn.net/weixin_46299169/article/details/119930656</guid><author>weixin_46299169</author><pubDate>Thu, 26 Aug 2021 14:51:03 +0800</pubDate><description><![CDATA[问题描述
数据库的磁盘突然一直飘升导致数据库被锁定。
问题排查
首先对数据库进行一件诊断，查看空间分析，发现表空间并没有达到让磁盘爆满的程度。
然后查看监控，发现是系统文件空间使用量较大。最后发现是ibtmp1文件一直增加导致磁盘爆满。

问题原因
因为使用关联查询，使用了临时表，当查询的数据需要组合或者排序之类的，数据量过大，会使用临时表空间。ibtmp1是非压缩的innodb临时表的独立表空间，临时表释放后，空间会释放，但是磁盘空间不会释放，空闲空间可以被复用。释放磁盘空间只能重启。
根据监控也可以判断]]></description><category></category></item><item><title><![CDATA[kubernets_Yaml文件详解]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/112312125</link><guid>https://blog.csdn.net/weixin_46299169/article/details/112312125</guid><author>weixin_46299169</author><pubDate>Thu, 07 Jan 2021 15:08:48 +0800</pubDate><description><![CDATA[kubernets_yaml文件详解
apiVersion: v1 # 必选，API的版本号
kind: Pod       # 必选，类型Pod
metadata:       # 必选，元数据
  name: nginx   # 必选，符合RFC 1035规范的Pod名称
   namespace: default # 可选，Pod所在的命名空间，不指定默认为default，可以使用-n 指定namespace 
  labels:       # 可选，标签选择器，一般用于过滤和区分Pod
    a]]></description><category></category></item><item><title><![CDATA[ansible]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/108102769</link><guid>https://blog.csdn.net/weixin_46299169/article/details/108102769</guid><author>weixin_46299169</author><pubDate>Wed, 19 Aug 2020 15:53:52 +0800</pubDate><description><![CDATA[1、请写出saltstack或者ansible中你常用的5个管理模块。
saltstack:
		cmd   acl  cloud  cp  cron
ansible:
		shell  copy  yum  service  cron

2、你对自动化运维的理解，以及自动化运维需要掌握哪些技能？
1、项目部署维护能力
2、脚本开发能力
3、运维方案制定，业务架构关联分析
4、shell、python使用能力，应用架构设计能力

3、如何用ansible获取远程服务器10.10.125.125的时间（环境配]]></description><category></category></item><item><title><![CDATA[ansible中lineinfile模块、replace模块、yum_repository 模块、mount模块相关分享]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/107989656</link><guid>https://blog.csdn.net/weixin_46299169/article/details/107989656</guid><author>weixin_46299169</author><pubDate>Thu, 13 Aug 2020 19:43:37 +0800</pubDate><description><![CDATA[#主机名为localhost的主机就是ansible2

一、lineinfile模块
1、lineinfile模块介绍

我们可以借助 lineinfile 模块，确保”某一行文本”存在于指定的文件中，或者确保从文件中删除指定的”文本”（即确保指定的文本不存在于文件中），还可以根据正则表达式，替换”某一行文本”。

2、常用参数


path参数 ：必须参数，指定要操作的文件。


line参数 : 使用此参数指定文本内容。


regexp参数 ：使用正则表达式匹配对应的行，当替换文本时，如果有多行文本]]></description><category></category></item><item><title><![CDATA[docker实现haproxy代理后端wordpress]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/107989490</link><guid>https://blog.csdn.net/weixin_46299169/article/details/107989490</guid><author>weixin_46299169</author><pubDate>Thu, 13 Aug 2020 19:37:22 +0800</pubDate><description><![CDATA[docker实现haproxy代理后端wordpress
1，修改编排脚本
[root@docker-compose ~]# cat docker-compose.yml 
[root@docker-compose ~]# cat  /etc/docker/wordpress/docker-compose.yml 
version: '3'      
services:
   db:
     image: mysql:5.7
     volumes:
       - /data/db_data:/v]]></description><category></category></item><item><title><![CDATA[CentOS7下OpenLDAP+PhpLdapAdmin基本安装]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/107435176</link><guid>https://blog.csdn.net/weixin_46299169/article/details/107435176</guid><author>weixin_46299169</author><pubDate>Sat, 18 Jul 2020 21:26:41 +0800</pubDate><description><![CDATA[本次实验参考链接：
https://blog.csdn.net/weixin_41004350/article/details/89521170
https://blog.csdn.net/mayancheng7/article/details/105753846
实验中也因为自己的不仔细踩了不少坑，仅以此笔记记录一下。万分感谢两位大佬????
CentOS7下OpenLDAP+PhpLdapAdmin基本安装
1.安装openldap
#yum安装软件
[root@openldap-server ~]# ]]></description><category></category></item><item><title><![CDATA[ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer)]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/106136713</link><guid>https://blog.csdn.net/weixin_46299169/article/details/106136713</guid><author>weixin_46299169</author><pubDate>Fri, 15 May 2020 10:47:17 +0800</pubDate><description><![CDATA[启动kafka的时候报错，找了很久，特以此记录。
[2020-05-15 10:09:12,476] INFO EventThread shut down for session: 0x2000090777d0001 (org.apache.zookeeper.ClientCnxn)
[2020-05-15 10:09:12,478] INFO [ZooKeeperClient] Closed. (kafka.zookeeper.ZooKeeperClient)
[2020-05-15 10:09:12,4]]></description><category></category></item><item><title><![CDATA[Mysql-xtrabackup备份脚本]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/105916944</link><guid>https://blog.csdn.net/weixin_46299169/article/details/105916944</guid><author>weixin_46299169</author><pubDate>Mon, 04 May 2020 14:04:48 +0800</pubDate><description><![CDATA[一个简单的脚本，仅供参考。谢谢！
#！/bin/bash
#*****************************************************************************************
#Author：xianglinboy
#Date：2020-05-01
#******************************************...]]></description><category></category></item><item><title><![CDATA[zabbix proxy分布式监控部署]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/105905172</link><guid>https://blog.csdn.net/weixin_46299169/article/details/105905172</guid><author>weixin_46299169</author><pubDate>Sun, 03 May 2020 16:34:09 +0800</pubDate><description><![CDATA[一、简化分布式监控的维护
zabbix proxy 仅仅需要一条 tcp 连接到 zabbix server,所以防火墙上仅仅需要加上一条规则即可
zabbix proxy 数据库必须和 server 分开,否则数据会被破坏
proxy 收集到数据之后，首先将数据缓存在本地,然后在一定的时间之后传递给 zabbix server，这样就不会因为服务器的任何临时通信问题而丢失数据。这个时间由 pro...]]></description><category></category></item><item><title><![CDATA[Job for postfix.service failed because the control process exited with error code. See "systemctl st]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/105799262</link><guid>https://blog.csdn.net/weixin_46299169/article/details/105799262</guid><author>weixin_46299169</author><pubDate>Mon, 27 Apr 2020 21:00:59 +0800</pubDate><description><![CDATA[Centos7启动postfix是失败
[root@zabbix-server fonts]# systemctl start postfix
Job for postfix.service failed because the control process exited with error code. See "systemctl status postfix.service" and "j...]]></description><category></category></item><item><title><![CDATA[linux简单配置mysql数据库]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/104803268</link><guid>https://blog.csdn.net/weixin_46299169/article/details/104803268</guid><author>weixin_46299169</author><pubDate>Wed, 11 Mar 2020 19:20:02 +0800</pubDate><description><![CDATA[下载命令
复制到命令行下载
wget http://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-5.7/mysql-community-server-5.7.25-1.el7.x86_64.rpm
wget http://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-5.7/mysql-community...]]></description><category></category></item><item><title><![CDATA[Centos-部署论坛系统discuz]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/104781365</link><guid>https://blog.csdn.net/weixin_46299169/article/details/104781365</guid><author>weixin_46299169</author><pubDate>Tue, 10 Mar 2020 19:50:44 +0800</pubDate><description><![CDATA[租赁阿里云服务器
阿里云官网
操作步骤百度一下

配置基础环境
sed -ri '/^SELINUX=/cSELINUX=disabled' /etc/selinux/config 
setenforce 0
systemctl stop firewalld.service 
systemctl disable firewalld.service


安装LAMP及其相关工具
yum -y ins...]]></description><category></category></item><item><title><![CDATA[Linux-SSH服务器实战]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/104762076</link><guid>https://blog.csdn.net/weixin_46299169/article/details/104762076</guid><author>weixin_46299169</author><pubDate>Mon, 09 Mar 2020 21:42:59 +0800</pubDate><description><![CDATA[查看SSH是否安装
rpm -qa | grep ssh


没有安装操作
yum install openssh-server


启动服务
systemctl start sshd 


开机自启
systemctl enable sshd 


使用SSH远程管理
[root@localhost ~]# ssh root@192.168.219.132   //账户名@IP地址
The au...]]></description><category></category></item><item><title><![CDATA[Centos7-系统目录和基础命令介绍]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/104700182</link><guid>https://blog.csdn.net/weixin_46299169/article/details/104700182</guid><author>weixin_46299169</author><pubDate>Fri, 06 Mar 2020 18:35:06 +0800</pubDate><description><![CDATA[系统文件介绍
[root@localhost ~]# ls /
bin   dev  home  lib64  mnt  proc  run   tmp  var
boot  etc  lib   root  sbin  usr


/
根目录
所有文件和目录都是从这里开始的

bin
这里存放了所有用户使用的基本命令

dev
存放着特殊文件和设备文件，例如：/dev/sda

home
所有普...]]></description><category></category></item><item><title><![CDATA[Linux-如何配置日志轮转]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/104681041</link><guid>https://blog.csdn.net/weixin_46299169/article/details/104681041</guid><author>weixin_46299169</author><pubDate>Thu, 05 Mar 2020 19:03:27 +0800</pubDate><description><![CDATA[简介
日志记录了程序运行时各种信息。
通过日志可以分析用户行为，记录运行轨迹，查找程序问题。
可惜磁盘的空间是有限的
日志论战就像飞机里的黑匣子，记录的信息再重要也只能记录最后一段时间发生的事。
为了节省空间和整理方便，日志文件经常需要按！时间或！大小等维度分成多份，删除时间久远的日志文件。
主配置文件
vim /etc/logrotate.conf


weekly：轮转的周期，一周轮转
rot...]]></description><category></category></item><item><title><![CDATA[Linux-网络管理]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/104638997</link><guid>https://blog.csdn.net/weixin_46299169/article/details/104638997</guid><author>weixin_46299169</author><pubDate>Tue, 03 Mar 2020 20:43:04 +0800</pubDate><description><![CDATA[简介
NetworkManager服务
网络管理器（NetworkManager）是一个动态网络的控制器与配置系统，它用于当网络设备可用时保持设备和连接开启并激活
默认情况下，CentOS/RHEL 7 已安装网络管理器，并处于启用状态。
查看网络管理程序的状态。
systemctl status NetworkManager

查看网络子管理程序的状态
systemctl    status  ...]]></description><category></category></item><item><title><![CDATA[Linux-日志管理相关分享]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/104618504</link><guid>https://blog.csdn.net/weixin_46299169/article/details/104618504</guid><author>weixin_46299169</author><pubDate>Mon, 02 Mar 2020 20:38:37 +0800</pubDate><description><![CDATA[常见的日志文件
/var/log/messages：系统主日志文件
/var/log/messages：动态查看日志文件的尾部
/var/log/secure：认证、安全
/var/log/yum.log：yum相关
/var/log/maillog：跟邮件postfix相关
/var/log/cron：crond、at进程产生的日志
/var/log/dmesg：和系统启动相关
/var/log...]]></description><category></category></item><item><title><![CDATA[Linux基础--用户管理]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/104581325</link><guid>https://blog.csdn.net/weixin_46299169/article/details/104581325</guid><author>weixin_46299169</author><pubDate>Sat, 29 Feb 2020 20:57:10 +0800</pubDate><description><![CDATA[用户基本信息文件
以下内容以冒号分割成7段
[root@localhost ~]# head -1 /etc/passwd
root:x:0:0:root:/root:/bin/bash

第一段：root:用户名 root
第二段：x:用户密码占位符号
第三段：0：用户的UID
第四段：0：用户的GID
第五段：root：用户描述为root
第六段：/root：用户的家目录
第七段：/bin/b...]]></description><category></category></item><item><title><![CDATA[Linux-RPM工具使用分享]]></title><link>https://blog.csdn.net/weixin_46299169/article/details/104563612</link><guid>https://blog.csdn.net/weixin_46299169/article/details/104563612</guid><author>weixin_46299169</author><pubDate>Fri, 28 Feb 2020 21:21:47 +0800</pubDate><description><![CDATA[简介
也称二进制（ binary code）无需编译,可以直接使用
缺点是无法设定个人设置，开关功能，不能解决依赖关系。
安装命令
rpm -ivh  安装包全名
i：安装
v：可视化
h：显示进度
示例：
**下面内容是我配置完本地源，/mnt/cdrom才有Packages文件夹
进入里面可以按TAB键补齐安装包全名，如果没有配置本地源需要去官网或者百度
搜索你要下载软件的全名，配置本地源可查...]]></description><category></category></item></channel></rss>