<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[bestmover的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/bestmover</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; bestmover]]></copyright><item><title><![CDATA[nginx防止CDN大量回源]]></title><link>https://blog.csdn.net/bestmover/article/details/87205207</link><guid>https://blog.csdn.net/bestmover/article/details/87205207</guid><author>bestmover</author><pubDate>Wed, 13 Feb 2019 20:28:05 +0800</pubDate><description><![CDATA[通过限制每个IP的连接数量 防止大量回源卡死服务器

这个模块用来限制单个IP的请求数。并非所有的连接都被计数。只有在服务器处理了请求并且已经读取了整个请求头时，连接才被计数。


Syntax: limit_conn zone number;
Default:    —
Context:    http, server, location


limit_conn_zone $binary_re...]]></description><category></category></item><item><title><![CDATA[lua示例代码]]></title><link>https://blog.csdn.net/bestmover/article/details/86600334</link><guid>https://blog.csdn.net/bestmover/article/details/86600334</guid><author>bestmover</author><pubDate>Tue, 22 Jan 2019 19:50:22 +0800</pubDate><description><![CDATA[function get_client_ip()
    local headers=ngx.req.get_headers()
    local ip=headers[&quot;X-REAL-IP&quot;] or headers[&quot;X_FORWARDED_FOR&quot;] or ngx.var.remote_addr or &quot;0.0.0.0&quot;
    return ip
end

if &quot;GET&quot; == requ...]]></description><category></category></item><item><title><![CDATA[IDEA pom配置新依赖没有代码提示]]></title><link>https://blog.csdn.net/bestmover/article/details/83825818</link><guid>https://blog.csdn.net/bestmover/article/details/83825818</guid><author>bestmover</author><pubDate>Wed, 07 Nov 2018 16:06:20 +0800</pubDate><description><![CDATA[]]></description><category></category></item><item><title><![CDATA[Table Configuration scheme.table matched more than one table]]></title><link>https://blog.csdn.net/bestmover/article/details/83507480</link><guid>https://blog.csdn.net/bestmover/article/details/83507480</guid><author>bestmover</author><pubDate>Mon, 29 Oct 2018 16:09:49 +0800</pubDate><description><![CDATA[https://blog.csdn.net/qq_40233736/article/details/83314596]]></description><category></category></item><item><title><![CDATA[复杂的nginx重写配置记录]]></title><link>https://blog.csdn.net/bestmover/article/details/83185853</link><guid>https://blog.csdn.net/bestmover/article/details/83185853</guid><author>bestmover</author><pubDate>Fri, 19 Oct 2018 17:42:34 +0800</pubDate><description><![CDATA[server
{
        access_log /app/nginx/logs/hao.example.com.log;
        error_log  /app/nginx/logs/hao.example.com_error.log;
        listen     80;
        server_name hao.example.com;
        root ...]]></description><category></category></item><item><title><![CDATA[全国网络速度测试]]></title><link>https://blog.csdn.net/bestmover/article/details/83144461</link><guid>https://blog.csdn.net/bestmover/article/details/83144461</guid><author>bestmover</author><pubDate>Thu, 18 Oct 2018 11:59:17 +0800</pubDate><description><![CDATA[https://www.17ce.com/]]></description><category></category></item><item><title><![CDATA[mysql查询各个数据库大小]]></title><link>https://blog.csdn.net/bestmover/article/details/82893613</link><guid>https://blog.csdn.net/bestmover/article/details/82893613</guid><author>bestmover</author><pubDate>Sat, 29 Sep 2018 10:18:35 +0800</pubDate><description><![CDATA[//各个数据大小 数据单位M

select table_schema ,round(sum(data_length/1024/1024),2) as size from information_schema.tables group by table_schema order by size desc ;

//数据库整个大小,单位M

select round(sum(data_length/...]]></description><category></category></item><item><title><![CDATA[laravel架构分层]]></title><link>https://blog.csdn.net/bestmover/article/details/82881732</link><guid>https://blog.csdn.net/bestmover/article/details/82881732</guid><author>bestmover</author><pubDate>Fri, 28 Sep 2018 13:39:09 +0800</pubDate><description><![CDATA[https://oomusou.io/laravel/architecture/]]></description><category></category></item><item><title><![CDATA[docker学习资料]]></title><link>https://blog.csdn.net/bestmover/article/details/82878217</link><guid>https://blog.csdn.net/bestmover/article/details/82878217</guid><author>bestmover</author><pubDate>Fri, 28 Sep 2018 11:05:46 +0800</pubDate><description><![CDATA[https://yeasy.gitbooks.io/docker_practice/image/commit.html

如果 docker 版本已经在 1.3 以上了, 那么可以用 docker exec 这个命令:


docker exec -it &amp;lt;CONTAINER ID&amp;gt; bash]]></description><category></category></item><item><title><![CDATA[nginx lua与go的ab压力测试hello world]]></title><link>https://blog.csdn.net/bestmover/article/details/81739868</link><guid>https://blog.csdn.net/bestmover/article/details/81739868</guid><author>bestmover</author><pubDate>Thu, 16 Aug 2018 13:37:29 +0800</pubDate><description><![CDATA[测试机器 4核8G服务器 ab运行在内网另外一台服务器上面 

nginx lua代码    4个worker进程

server {
    listen 80;
    server_name 10.10.155.58;
    root /app/www/10.10.155.58;
    access_log /app/nginx/logs/10.10.155.58.log;
    er...]]></description><category></category></item><item><title><![CDATA[deny nginx频繁访问的IP]]></title><link>https://blog.csdn.net/bestmover/article/details/80960245</link><guid>https://blog.csdn.net/bestmover/article/details/80960245</guid><author>bestmover</author><pubDate>Sun, 08 Jul 2018 16:26:43 +0800</pubDate><description><![CDATA[time=`date -d  &quot;1 minutes ago&quot; +%Y:%H:%M`;echo $time;ips=`grep $time /app/nginx/logs/u.7654.com.log | grep 200  | awk '{print $1}' | sort | uniq -c | awk '{if($1&amp;gt;100) print &quot;deny &quot;$2 &quot;;&quot;}'`;echo $i...]]></description><category></category></item><item><title><![CDATA[word 多级编号列表]]></title><link>https://blog.csdn.net/bestmover/article/details/80169786</link><guid>https://blog.csdn.net/bestmover/article/details/80169786</guid><author>bestmover</author><pubDate>Wed, 02 May 2018 18:13:48 +0800</pubDate><description><![CDATA[1. 段落选择需要的列表的类型2.在列表后回车后 使用tab键可以出现子列表编号3.在列表后回车后 在按下回车 将回到父级列表4.在类表中输入内容后 内容的下一行想回到列表 可以用格式刷 刷下你要复制的列表...]]></description><category></category></item><item><title><![CDATA[shell 安装脚本]]></title><link>https://blog.csdn.net/bestmover/article/details/80134808</link><guid>https://blog.csdn.net/bestmover/article/details/80134808</guid><author>bestmover</author><pubDate>Sat, 28 Apr 2018 14:38:43 +0800</pubDate><description><![CDATA[read -p '输入登录服务器端口号:'   portecho $port;]]></description><category></category></item><item><title><![CDATA[ssh 免密码登录文件权限问题]]></title><link>https://blog.csdn.net/bestmover/article/details/80112373</link><guid>https://blog.csdn.net/bestmover/article/details/80112373</guid><author>bestmover</author><pubDate>Fri, 27 Apr 2018 19:36:23 +0800</pubDate><description><![CDATA[CentOS 6.3系统下，用户user的home目录：/home/user的权限变成了777，造成不能正常登陆SSH，报如下错误：Permission denied (publickey,gssapi-with-mic SSH对公钥、私钥的权限和所有权的要求是非常严格的，总结如下：1、下面两个目录的所有权必须是user，所属组也应该是user，权限必须为700\home\user\home\us...]]></description><category></category></item><item><title><![CDATA[shell sed命令工作记录]]></title><link>https://blog.csdn.net/bestmover/article/details/80108522</link><guid>https://blog.csdn.net/bestmover/article/details/80108522</guid><author>bestmover</author><pubDate>Fri, 27 Apr 2018 15:17:56 +0800</pubDate><description><![CDATA[替换文件中文字

sed -i 's/exmaple.com/86.195.116.217:8080/g' login.html

 

 

 cat logs/iplocation.log | grep '本地缓存'   | awk '{ if($6&amp;gt;600) print $1,$2,$5,$6}']]></description><category></category></item><item><title><![CDATA[shell 服务器启动]]></title><link>https://blog.csdn.net/bestmover/article/details/80106555</link><guid>https://blog.csdn.net/bestmover/article/details/80106555</guid><author>bestmover</author><pubDate>Fri, 27 Apr 2018 13:04:21 +0800</pubDate><description><![CDATA[jar_path=`pwd`/target/SsmLogin-0.0.1-beat.jarpid=`ps -ef | grep -v grep | grep $jar_path | awk '{print $2}' `case $1 in    'start')        if [ -z $pid ];then                java -jar $jar_path &amp;amp; ...]]></description><category></category></item><item><title><![CDATA[shell 打包代码]]></title><link>https://blog.csdn.net/bestmover/article/details/80105260</link><guid>https://blog.csdn.net/bestmover/article/details/80105260</guid><author>bestmover</author><pubDate>Fri, 27 Apr 2018 11:13:13 +0800</pubDate><description><![CDATA[cd publishpackage_code(){   rm -rf $1   svn export http://10.10.3.66/svn/dev/yijidangqian/proj_y_server/$1     rm -rf $1/src   rm -rf $1/target/classes   rm -rf $1/target/generated-sources   rm -rf $1...]]></description><category></category></item><item><title><![CDATA[rysn同步本地到服务器命令]]></title><link>https://blog.csdn.net/bestmover/article/details/80092208</link><guid>https://blog.csdn.net/bestmover/article/details/80092208</guid><author>bestmover</author><pubDate>Thu, 26 Apr 2018 12:21:00 +0800</pubDate><description><![CDATA[rsync   -irlvptDog  --progress  -e 'ssh -p 10022' /home/michael/publish  michael@85.195.116.217:/home/michael/]]></description><category></category></item><item><title><![CDATA[css position absolute]]></title><link>https://blog.csdn.net/bestmover/article/details/79731544</link><guid>https://blog.csdn.net/bestmover/article/details/79731544</guid><author>bestmover</author><pubDate>Wed, 28 Mar 2018 18:00:48 +0800</pubDate><description><![CDATA[&amp;lt;html&amp;gt;
    &amp;lt;style&amp;gt;
        *{
            border: 0;
            margin: 0;
        }
    &amp;lt;/style&amp;gt;
    &amp;lt;header&amp;gt;&amp;lt;/header&amp;gt;
    &amp;lt;body &amp;gt;
        &amp;lt;div style=&quot;backgro]]></description><category></category></item><item><title><![CDATA[日常杂记]]></title><link>https://blog.csdn.net/bestmover/article/details/79666817</link><guid>https://blog.csdn.net/bestmover/article/details/79666817</guid><author>bestmover</author><pubDate>Fri, 23 Mar 2018 14:10:06 +0800</pubDate><description><![CDATA[pear 是php的写扩展库 pecl 是c写的扩展库PCRE ：PERL兼容正则表达式函数（perl compatible regular expression） PCRE比POSIX更强大。epoll 水平触发 有数据就发送通知   边缘触发 数据到达就触发php traits关键字用来多继承代码规范 基本函数使用mysql 相关linux相关 ...]]></description><category></category></item></channel></rss>