<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Lil Nas X的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/ferque</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; ferque]]></copyright><item><title><![CDATA[centos7下shell脚本部署ansible]]></title><link>https://blog.youkuaiyun.com/ferque/article/details/121476160</link><guid>https://blog.youkuaiyun.com/ferque/article/details/121476160</guid><author>ferque</author><pubDate>Mon, 22 Nov 2021 17:28:27 +0800</pubDate><description><![CDATA[　ansible是新出现的自动化运维工具，基于Python开发，集合了众多运维工具（puppet、chef、func、fabric）的优点，实现了批量系统配置、批量程序部署、批量运行命令等功能。
本文采用shell脚本的方式来部署非常方便]]></description><category></category></item><item><title><![CDATA[centos7安装ansible]]></title><link>https://blog.youkuaiyun.com/ferque/article/details/121464713</link><guid>https://blog.youkuaiyun.com/ferque/article/details/121464713</guid><author>ferque</author><pubDate>Mon, 22 Nov 2021 11:01:09 +0800</pubDate><description><![CDATA[ansible是新出现的自动化运维工具，基于Python开发，集合了众多运维工具（puppet、chef、func、fabric）的优点，实现了批量系统配置、批量程序部署、批量运行命令等功能。]]></description><category></category></item><item><title><![CDATA[Centos7搭建HAproxy+Nginx+NFS负载均衡实现高可用集群]]></title><link>https://blog.youkuaiyun.com/ferque/article/details/121414485</link><guid>https://blog.youkuaiyun.com/ferque/article/details/121414485</guid><author>ferque</author><pubDate>Mon, 22 Nov 2021 00:21:59 +0800</pubDate><description><![CDATA[HAProxy是支持虚拟主机的，可以工作在4、7层(支持多网段)
HAProxy的优点能够补充Nginx的一些缺点，比如支持Session的保持，Cookie的引导；同时支持通过获取指定的url来检测后端服务器的状态。
HAProxy跟LVS类似，本身就只是一款负载均衡软件；单纯从效率上来讲HAProxy会比Nginx有更出色的负载均衡速度，在并发处理上也是优于Nginx的。
HAProxy支持TCP协议的负载均衡转发，可以对MySQL读进行负载均衡，对后端的MySQL节点进行检测和负载均]]></description><category></category></item><item><title><![CDATA[centos7下查看cpu,内存,根 占用率脚本]]></title><link>https://blog.youkuaiyun.com/ferque/article/details/121407776</link><guid>https://blog.youkuaiyun.com/ferque/article/details/121407776</guid><author>ferque</author><pubDate>Thu, 18 Nov 2021 19:11:19 +0800</pubDate><description><![CDATA[#!/bin/bash

cb=$(free -m | grep "Mem:" | awk '{print $6}')
kl=$( echo "scale=2; $cb / 1000 " | bc )
kl2=$( echo "scale=2; $kl * 100 " | bc )
echo "当前时间 `date +%H时%M分%S秒` 内存占用了 $kl2 %"
if [ $kl2 \&gt; 50  ]
then
echo -e "\033[31m 当前内存占用率超过了50% \033[0m"
fi.]]></description><category></category></item></channel></rss>