Site updated: 2023-05-31 15:25:34

This commit is contained in:
halliday2023 2023-05-31 15:25:37 +08:00
parent 859f63b41c
commit 920a71c016
25 changed files with 37 additions and 37 deletions
2021
03/10/ansible自动部署
05
13/python虚拟环境工具pipenv的使用
24/python+locust性能测试
06/13/树莓派4刷openfans-debian
2022
01/20/centos7安装特定版本的python
02/27/centos7安装docker
04/21/docker搭建frp服务端和客户端
05/27/debian安装docker
06/10/docker配置及优化
archives
atom.xml
css
page/4
search.xml
tags
dsm
locust
python
测试
自动化测试
talk

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -394,10 +394,10 @@
<category term="Linux" scheme="http://kiki.kim/tags/Linux/"/>
<category term="docker" scheme="http://kiki.kim/tags/docker/"/> <category term="docker" scheme="http://kiki.kim/tags/docker/"/>
<category term="Linux" scheme="http://kiki.kim/tags/Linux/"/>
</entry> </entry>
<entry> <entry>
@ -413,10 +413,10 @@
<category term="Linux" scheme="http://kiki.kim/tags/Linux/"/>
<category term="docker" scheme="http://kiki.kim/tags/docker/"/> <category term="docker" scheme="http://kiki.kim/tags/docker/"/>
<category term="Linux" scheme="http://kiki.kim/tags/Linux/"/>
<category term="debian" scheme="http://kiki.kim/tags/debian/"/> <category term="debian" scheme="http://kiki.kim/tags/debian/"/>
</entry> </entry>
@ -434,10 +434,10 @@
<category term="Linux" scheme="http://kiki.kim/tags/Linux/"/>
<category term="docker" scheme="http://kiki.kim/tags/docker/"/> <category term="docker" scheme="http://kiki.kim/tags/docker/"/>
<category term="Linux" scheme="http://kiki.kim/tags/Linux/"/>
<category term="frp" scheme="http://kiki.kim/tags/frp/"/> <category term="frp" scheme="http://kiki.kim/tags/frp/"/>
</entry> </entry>

View File

@ -1,3 +1,3 @@
/* build time:Mon May 22 2023 15:31:32 GMT+0800 (GMT+08:00)*/ /* build time:Wed May 31 2023 15:25:12 GMT+0800 (GMT+08:00)*/
.links-content{margin-top:1rem}.link-navigation::after{content:" ";display:block;clear:both}.card{width:130px;font-size:1rem;padding:0;border-radius:4px;transition-duration:.15s;margin-bottom:1rem;display:block;float:left;box-shadow:0 2px 6px 0 rgba(0,0,0,.12);background:#f5f5f5}.card{margin-left:16px}@media(max-width:567px){.card{margin-left:16px;width:calc((100% - 16px)/ 2)}.card:nth-child(2n+1){margin-left:0}.card:not(:nth-child(2n+1)){margin-left:16px}}@media(min-width:567px){.card{margin-left:16px;width:calc((100% - 32px)/ 3)}.card:nth-child(3n+1){margin-left:0}.card:not(:nth-child(3n+1)){margin-left:16px}}@media(min-width:768px){.card{margin-left:16px;width:calc((100% - 48px)/ 4)}.card:nth-child(4n+1){margin-left:0}.card:not(:nth-child(4n+1)){margin-left:16px}}@media(min-width:1200px){.card{margin-left:16px;width:calc((100% - 64px)/ 5)}.card:nth-child(5n+1){margin-left:0}.card:not(:nth-child(5n+1)){margin-left:16px}}.card:hover{transform:scale(1.1);box-shadow:0 2px 6px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.card .thumb{width:100%;height:0;padding-bottom:100%;background-size:100% 100%!important}.posts-expand .post-body img{margin:0;padding:0;border:0}.card .card-header{display:block;text-align:center;padding:1rem .25rem;font-weight:500;color:#333;white-space:normal}.card .card-header a{font-style:normal;color:#2bbc8a;font-weight:700;text-decoration:none;border:0}.card .card-header a:hover{color:#d480aa;text-decoration:none;border:0} .links-content{margin-top:1rem}.link-navigation::after{content:" ";display:block;clear:both}.card{width:130px;font-size:1rem;padding:0;border-radius:4px;transition-duration:.15s;margin-bottom:1rem;display:block;float:left;box-shadow:0 2px 6px 0 rgba(0,0,0,.12);background:#f5f5f5}.card{margin-left:16px}@media(max-width:567px){.card{margin-left:16px;width:calc((100% - 16px)/ 2)}.card:nth-child(2n+1){margin-left:0}.card:not(:nth-child(2n+1)){margin-left:16px}}@media(min-width:567px){.card{margin-left:16px;width:calc((100% - 32px)/ 3)}.card:nth-child(3n+1){margin-left:0}.card:not(:nth-child(3n+1)){margin-left:16px}}@media(min-width:768px){.card{margin-left:16px;width:calc((100% - 48px)/ 4)}.card:nth-child(4n+1){margin-left:0}.card:not(:nth-child(4n+1)){margin-left:16px}}@media(min-width:1200px){.card{margin-left:16px;width:calc((100% - 64px)/ 5)}.card:nth-child(5n+1){margin-left:0}.card:not(:nth-child(5n+1)){margin-left:16px}}.card:hover{transform:scale(1.1);box-shadow:0 2px 6px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.card .thumb{width:100%;height:0;padding-bottom:100%;background-size:100% 100%!important}.posts-expand .post-body img{margin:0;padding:0;border:0}.card .card-header{display:block;text-align:center;padding:1rem .25rem;font-weight:500;color:#333;white-space:normal}.card .card-header a{font-style:normal;color:#2bbc8a;font-weight:700;text-decoration:none;border:0}.card .card-header a:hover{color:#d480aa;text-decoration:none;border:0}
/* rebuild by neat */ /* rebuild by neat */

File diff suppressed because one or more lines are too long

View File

@ -1,3 +1,3 @@
/* build time:Mon May 22 2023 15:31:46 GMT+0800 (GMT+08:00)*/ /* build time:Wed May 31 2023 15:25:25 GMT+0800 (GMT+08:00)*/
body{margin-top:2rem}.use-motion .collection-header,.use-motion .comments,.use-motion .menu-item,.use-motion .pagination,.use-motion .post-block,.use-motion .post-body,.use-motion .post-header,.use-motion .sidebar,.use-motion .sidebar-inner{visibility:visible}.use-motion .column,.use-motion .footer,.use-motion .site-brand-container .toggle{opacity:initial}.use-motion .custom-logo-image,.use-motion .site-subtitle,.use-motion .site-title{opacity:initial;top:initial}.use-motion .logo-line{transform:scaleX(1)}.search-pop-overlay,.sidebar-nav{display:none}.sidebar-panel{display:block}.noscript-warning{background-color:#f55;color:#fff;font-family:sans-serif;font-size:1rem;font-weight:700;left:0;position:fixed;text-align:center;top:0;width:100%;z-index:50} body{margin-top:2rem}.use-motion .collection-header,.use-motion .comments,.use-motion .menu-item,.use-motion .pagination,.use-motion .post-block,.use-motion .post-body,.use-motion .post-header,.use-motion .sidebar,.use-motion .sidebar-inner{visibility:visible}.use-motion .column,.use-motion .footer,.use-motion .site-brand-container .toggle{opacity:initial}.use-motion .custom-logo-image,.use-motion .site-subtitle,.use-motion .site-title{opacity:initial;top:initial}.use-motion .logo-line{transform:scaleX(1)}.search-pop-overlay,.sidebar-nav{display:none}.sidebar-panel{display:block}.noscript-warning{background-color:#f55;color:#fff;font-family:sans-serif;font-size:1rem;font-weight:700;left:0;position:fixed;text-align:center;top:0;width:100%;z-index:50}
/* rebuild by neat */ /* rebuild by neat */

View File

@ -1,3 +1,3 @@
/* build time:Mon May 22 2023 15:31:32 GMT+0800 (GMT+08:00)*/ /* build time:Wed May 31 2023 15:25:12 GMT+0800 (GMT+08:00)*/
#post a.link-card{text-decoration:none;margin:.2rem auto;background:var(--tab-botton-bg);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;cursor:pointer;text-align:left;font-size:.575rem;min-width:200px;max-width:361px;color:var(--tab-botton-color);border-radius:8px}@media screen and (max-width:425px){#post a.link-card{max-width:100%}}@media screen and (max-width:375px){#post a.link-card{width:100%}}#post a.link-card:hover{box-shadow:0 4px 8px 0 rgba(0,0,0,.1)}#post a.link-card div.left,#post a.link-card div.right{pointer-events:none}#post a.link-card div.left{width:48px;height:48px;margin:12px;overflow:hidden;-ms-flex-negative:0;flex-shrink:0;position:relative}#post a.link-card div.left i{font-size:32px;line-height:48px;margin-left:4px}#post a.link-card div.left img{display:block;position:absolute;border-radius:8px/4;top:50%;left:50%;transform:translate(-50%,-50%)}#post a.link-card div.right{overflow:hidden;margin-right:12px}#post a.link-card p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#post a.link-card p.text{font-weight:700}#post a.link-card p.url{-ms-flex-negative:0;flex-shrink:0;color:var(--search-input-color);font-size:.7125rem}p.p.h2,span.p.h2{font-size:1.375rem;color:var(--font-color);padding-top:.8rem;border-bottom:1px solid var(--hr-border)}div.timenode{position:relative}div.timenode:after,div.timenode:before{content:"";z-index:1;position:absolute;background:rgba(68,215,182,.5);width:2px;left:7px}div.timenode:before{top:0;height:6px}div.timenode:after{top:26px;height:calc(100% - 26px)}div.timenode:last-child:after{height:calc(100% - 26px - 16px);border-bottom-left-radius:2px;border-bottom-right-radius:2px}div.timenode .meta{position:relative;color:var(--tab-botton-color);font-size:.375rem;line-height:32px;height:32px;left:27px}div.timenode .meta:after,div.timenode .meta:before{content:"";position:absolute;top:8px;z-index:2;left:-27px}div.timenode .meta:before{background:rgba(68,215,182,.5);width:16px;height:16px;border-radius:8px}div.timenode .meta:after{background:#44d7b6;margin-left:2px;margin-top:2px;width:12px;height:12px;border-radius:6px;transform:scale(.5);transition:all .28s ease;-moz-transition:all .28s ease;-webkit-transition:all .28s ease;-o-transition:all .28s ease}div.timenode .meta p{font-weight:700;margin:0 0 0 24px}div.timenode .body{margin:4px 0 16px 24px;padding:16px;border-radius:8px;background:var(--blockquote-bg)}div.timenode .body p:first-child{margin-top:0}div.timenode .body p:last-child{margin-bottom:0}div.timenode:hover .meta{color:var(--text-highlight-color)}div.timenode:hover .meta:before{background:rgba(255,87,34,.5)}div.timenode:hover .meta:after{background:#ff5722;transform:scale(1)} #post a.link-card{text-decoration:none;margin:.2rem auto;background:var(--tab-botton-bg);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;cursor:pointer;text-align:left;font-size:.575rem;min-width:200px;max-width:361px;color:var(--tab-botton-color);border-radius:8px}@media screen and (max-width:425px){#post a.link-card{max-width:100%}}@media screen and (max-width:375px){#post a.link-card{width:100%}}#post a.link-card:hover{box-shadow:0 4px 8px 0 rgba(0,0,0,.1)}#post a.link-card div.left,#post a.link-card div.right{pointer-events:none}#post a.link-card div.left{width:48px;height:48px;margin:12px;overflow:hidden;-ms-flex-negative:0;flex-shrink:0;position:relative}#post a.link-card div.left i{font-size:32px;line-height:48px;margin-left:4px}#post a.link-card div.left img{display:block;position:absolute;border-radius:8px/4;top:50%;left:50%;transform:translate(-50%,-50%)}#post a.link-card div.right{overflow:hidden;margin-right:12px}#post a.link-card p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#post a.link-card p.text{font-weight:700}#post a.link-card p.url{-ms-flex-negative:0;flex-shrink:0;color:var(--search-input-color);font-size:.7125rem}p.p.h2,span.p.h2{font-size:1.375rem;color:var(--font-color);padding-top:.8rem;border-bottom:1px solid var(--hr-border)}div.timenode{position:relative}div.timenode:after,div.timenode:before{content:"";z-index:1;position:absolute;background:rgba(68,215,182,.5);width:2px;left:7px}div.timenode:before{top:0;height:6px}div.timenode:after{top:26px;height:calc(100% - 26px)}div.timenode:last-child:after{height:calc(100% - 26px - 16px);border-bottom-left-radius:2px;border-bottom-right-radius:2px}div.timenode .meta{position:relative;color:var(--tab-botton-color);font-size:.375rem;line-height:32px;height:32px;left:27px}div.timenode .meta:after,div.timenode .meta:before{content:"";position:absolute;top:8px;z-index:2;left:-27px}div.timenode .meta:before{background:rgba(68,215,182,.5);width:16px;height:16px;border-radius:8px}div.timenode .meta:after{background:#44d7b6;margin-left:2px;margin-top:2px;width:12px;height:12px;border-radius:6px;transform:scale(.5);transition:all .28s ease;-moz-transition:all .28s ease;-webkit-transition:all .28s ease;-o-transition:all .28s ease}div.timenode .meta p{font-weight:700;margin:0 0 0 24px}div.timenode .body{margin:4px 0 16px 24px;padding:16px;border-radius:8px;background:var(--blockquote-bg)}div.timenode .body p:first-child{margin-top:0}div.timenode .body p:last-child{margin-bottom:0}div.timenode:hover .meta{color:var(--text-highlight-color)}div.timenode:hover .meta:before{background:rgba(255,87,34,.5)}div.timenode:hover .meta:after{background:#ff5722;transform:scale(1)}
/* rebuild by neat */ /* rebuild by neat */

File diff suppressed because one or more lines are too long

View File

@ -1301,8 +1301,8 @@ A:</p>
<figure class="highlight shell"><table><tr><td class="code"><pre><span class="line"><span class="meta prompt_"># </span><span class="language-bash">停掉Docker服务</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash">service docker stop</span></span><br><span class="line"><span class="meta prompt_"></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">移动原有的内容</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash"><span class="built_in">mv</span> /var/lib/docker /opt/data/docker</span></span><br><span class="line"><span class="meta prompt_"></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">进行链接</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash"><span class="built_in">ln</span> -sf /opt/data/docker /var/lib/docker</span></span><br><span class="line"><span class="meta prompt_"></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">重新reload配置文件</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash">sudo systemctl daemon-reload</span></span><br><span class="line"><span class="meta prompt_"></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">重启docker服务</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash">sudo systemctl restart docker.service</span></span><br></pre></td></tr></table></figure> <figure class="highlight shell"><table><tr><td class="code"><pre><span class="line"><span class="meta prompt_"># </span><span class="language-bash">停掉Docker服务</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash">service docker stop</span></span><br><span class="line"><span class="meta prompt_"></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">移动原有的内容</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash"><span class="built_in">mv</span> /var/lib/docker /opt/data/docker</span></span><br><span class="line"><span class="meta prompt_"></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">进行链接</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash"><span class="built_in">ln</span> -sf /opt/data/docker /var/lib/docker</span></span><br><span class="line"><span class="meta prompt_"></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">重新reload配置文件</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash">sudo systemctl daemon-reload</span></span><br><span class="line"><span class="meta prompt_"></span></span><br><span class="line"><span class="meta prompt_"># </span><span class="language-bash">重启docker服务</span></span><br><span class="line"><span class="meta prompt_">$ </span><span class="language-bash">sudo systemctl restart docker.service</span></span><br></pre></td></tr></table></figure>
]]></content> ]]></content>
<tags> <tags>
<tag>Linux</tag>
<tag>docker</tag> <tag>docker</tag>
<tag>Linux</tag>
</tags> </tags>
</entry> </entry>
<entry> <entry>
@ -1339,8 +1339,8 @@ A:</p>
<a href="/2022/06/10/docker%E9%85%8D%E7%BD%AE%E5%8F%8A%E4%BC%98%E5%8C%96/" title="docker配置及优化">docker配置及优化</a> <a href="/2022/06/10/docker%E9%85%8D%E7%BD%AE%E5%8F%8A%E4%BC%98%E5%8C%96/" title="docker配置及优化">docker配置及优化</a>
]]></content> ]]></content>
<tags> <tags>
<tag>Linux</tag>
<tag>docker</tag> <tag>docker</tag>
<tag>Linux</tag>
<tag>debian</tag> <tag>debian</tag>
</tags> </tags>
</entry> </entry>
@ -1401,8 +1401,8 @@ A:</p>
</ol> </ol>
]]></content> ]]></content>
<tags> <tags>
<tag>Linux</tag>
<tag>docker</tag> <tag>docker</tag>
<tag>Linux</tag>
<tag>frp</tag> <tag>frp</tag>
</tags> </tags>
</entry> </entry>
@ -1564,9 +1564,9 @@ A:</p>
<a href="/2022/06/10/docker%E9%85%8D%E7%BD%AE%E5%8F%8A%E4%BC%98%E5%8C%96/" title="docker配置及优化">docker配置及优化</a> <a href="/2022/06/10/docker%E9%85%8D%E7%BD%AE%E5%8F%8A%E4%BC%98%E5%8C%96/" title="docker配置及优化">docker配置及优化</a>
]]></content> ]]></content>
<tags> <tags>
<tag>Linux</tag>
<tag>centos7</tag> <tag>centos7</tag>
<tag>docker</tag> <tag>docker</tag>
<tag>Linux</tag>
</tags> </tags>
</entry> </entry>
<entry> <entry>
@ -1637,8 +1637,8 @@ A:</p>
]]></content> ]]></content>
<tags> <tags>
<tag>python</tag> <tag>python</tag>
<tag>Linux</tag>
<tag>centos7</tag> <tag>centos7</tag>
<tag>Linux</tag>
</tags> </tags>
</entry> </entry>
<entry> <entry>
@ -2229,7 +2229,7 @@ A:</p>
</tags> </tags>
</entry> </entry>
<entry> <entry>
<title>python+locust连接不同类型的数据库</title> <title>python+locust性能测试</title>
<url>/2021/05/24/python+locust%E6%80%A7%E8%83%BD%E6%B5%8B%E8%AF%95/</url> <url>/2021/05/24/python+locust%E6%80%A7%E8%83%BD%E6%B5%8B%E8%AF%95/</url>
<content><![CDATA[<p>locust是一个易于使用的分布式的用户负载测试工具。用于web站点或其他系统的负载测试然后算出系统能够处理多少并发用户。</p> <content><![CDATA[<p>locust是一个易于使用的分布式的用户负载测试工具。用于web站点或其他系统的负载测试然后算出系统能够处理多少并发用户。</p>
<span id="more"></span> <span id="more"></span>
@ -2565,9 +2565,9 @@ A:</p>
<p>以上只是一个简单的实现使用ansible还能做更加复杂的事情。</p> <p>以上只是一个简单的实现使用ansible还能做更加复杂的事情。</p>
]]></content> ]]></content>
<tags> <tags>
<tag>Linux</tag>
<tag>ansible</tag> <tag>ansible</tag>
<tag>自动部署</tag> <tag>自动部署</tag>
<tag>Linux</tag>
</tags> </tags>
</entry> </entry>
<entry> <entry>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long